net/openafs-server and/or kernel module (7.0-STABLE-i386)
Boris Samorodov
bsam at ipt.ru
Tue Jun 17 19:25:04 UTC 2008
Hello,
with the help of wiki (http://wiki.freebsd.org/afs-server) I managed
to install and configure net/openafs-server a little. What doesn't
work is "now restart the bosserver and see if authentication works:"
-----
# uname -a
FreeBSD bs1.sp34.ru 7.0-STABLE FreeBSD 7.0-STABLE #0: Sun May 25 20:15:26 MSD 2008 root at bs1.sp34.ru:/usr/obj/usr/src/sys/BSM i386
# bos status -server bs1.sp34.ru -long -noauth
Instance buserver, (type is simple) currently running normally.
Process last started at Tue Jun 17 22:29:36 2008 (1 proc starts)
Command 1 is '/usr/local/libexec/openafs/buserver'
Instance ptserver, (type is simple) currently running normally.
Process last started at Tue Jun 17 22:30:36 2008 (1 proc starts)
Command 1 is '/usr/local/libexec/openafs/ptserver'
Instance vlserver, (type is simple) currently running normally.
Process last started at Tue Jun 17 22:31:36 2008 (1 proc starts)
Command 1 is '/usr/local/libexec/openafs/vlserver'
# bos shutdown bs1.sp34.ru
Bad system call (core dumped)
-----
Here is the very end of "ktruss bos shutdown bs1.sp34.ru":
-----
open("/usr/local/etc/openafs/CellAlias",O_RDONLY,0666) ERR#2 'No such file or directory'
open("/usr/local/etc/openafs/KeyFile",O_RDONLY,01005262440) = 4 (0x4)
read(4,"\0\0\0\^B\0\0\0\^A\^U/\M-Bg\M-?"...,100) = 28 (0x1c)
close(4) = 0 (0x0)
stat("/usr/local/etc/openafs/CellServDB",{mode=-rw-r--r-- ,inode=247779,size=88,blksize=4096}) = 0 (0x0)
stat("/usr/local/etc/openafs/CellServDB",{mode=-rw-r--r-- ,inode=247779,size=88,blksize=4096}) = 0 (0x0)
open("/root/.AFSSERVER",O_RDONLY,0666) ERR#2 'No such file or directory'
open("/.AFSSERVER",O_RDONLY,0666) ERR#2 'No such file or directory'
#339(0x14,0x0,0x800c5608,0xbfbfb8d0,0x0,0x0) ERR#78 'Function not implemented'
SIGNAL 12 (SIGSYS)
-----
If I use (kldload) the kernel module from net/arla port this command
succeeds. I noticed that building of self module for
net/openafs-server is disabled at the Makefile (and indeed it doesn't
build if enabled).
So the question is: should a kernel module from net/arla (or something
else) be used?
WBR
--
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
More information about the freebsd-afs
mailing list