[OpenAFS-devel] afsd can't initialize Cache Manager
Anatoly Oreshkin
Anatoly.Oreshkin@pnpi.spb.ru
Wed, 5 Nov 2003 16:59:21 +0300 (MSK)
Hello,
I have installed openafs-1.2.10 on Linux RedHat 7.3 (kernel 2.4.18-4smp).
I start afs init script which calls afsd to initialize Cache Manager
but unsuccessfully with error messages:
afsd: Error -1 in basic initialization.
Adding cell 'rl.ac.uk': error -1
...
afsd: No check server daemon in client.
afsd: All AFS daemons started.
afsd: Can't mount AFS on /afs(22)
/sbin/lsmod gives output :
Module Size Used by Tainted: PF
libafs-2.4.18-3-i686.mp 563408 0
nfs 90268 8 (autoclean)
nfsd 77376 8 (autoclean)
....
To get more debug information I have started afsd using strace
/usr/bin/strace -f afsd
Found libafs-2.4.18-3-i686.mp.o from SymTable... Loading...
Starting AFS services.....
execve("/usr/vice/etc/afsd", ["/usr/vice/etc/afsd", "-stat", "2000",
"-dcache", "800", "-daemons", "3", "-volumes", "70"], [/* 36 vars */]) = 0
uname({sys="Linux", node="pcfarm.pnpi.spb.ru", ...}) = 0
.....
afs_syscall(0x1c, 0x11, 0x2, 0xbfffe880, 0xbfffc420) = -1 ENOSYS (Function
not implemented)
fork() = 7749
[pid 7748] fork( <unfinished ...>
[pid 7749] setpriority(PRIO_PROCESS, 0, -10 <unfinished ...>
[pid 7748] <... fork resumed> ) = 7750
[pid 7749] <... setpriority resumed> ) = 0
[pid 7749] afs_syscall(0x1c, 0x30, 0x802, 0, 0xbfffc430) = -1 ENOSYS
(Function not implemented)
[pid 7749] _exit(1) = ?
[pid 7748] --- SIGCHLD (Child exited) ---
[pid 7750] afs_syscall(0x1c, 0, 0x802, 0x68, 0xbfffc430 <unfinished ...>
[pid 7748] fork( <unfinished ...>
[pid 7750] <... afs_syscall resumed> ) = -1 ENOSYS (Function not
implemented)[pid 7748] <... fork resumed> ) = 7751
[pid 7750] _exit(1) = ?
[pid 7748] afs_syscall(0x1c, 0x24, 0x1, 0x68, 0xbfffc430 <unfinished ...>
....
[pid 7753] <... write resumed> ) = 4043
[pid 7754] <... afs_syscall resumed> ) = -1 ENOSYS (Function not
implemented)[pid 7748] fork( <unfinished ...>
[pid 7753] munmap(0x40014000, 4096 <unfinished ...>
[pid 7754] write(1, "afsd: Error -1 in basic initiali"..., 4083
<unfinished ...>
[pid 7755] afs_syscall(0x1c, 0x2, 0x806f0c0, 0, 0xbfffc430 <unfinished
...>
[pid 7748] <... fork resumed> ) = 7756
[pid 7753] <... munmap resumed> ) = 0
afsd: Error -1 in basic initialization.
afs_syscall(0x1c, 0xa, 0x5029a, 0, 0xbfffc430) = -1 ENOSYS (Function not
implemented)
...
It looks like that afsd forks necessary demons rx listener,
rx callback listener, rxevent daemon. But these demons exit abnormaly.
What may be the reason ? Any hints ?
Thanks.
+-----------------------------------------------------------------+
| Anatoly Oreshkin E-mail: oreshkin@pnpi.spb.ru |
| network manager, |
| unix administrator |
| |
| Petersburg Nuclear http://www.pnpi.spb.ru/ |
| Physics Institute phone: +7 81271 46356 |
| Gatchina fax: +7 81271 46256 |
| Russia |
+-----------------------------------------------------------------+