net/openafs-server and/or kernel module (7.0-STABLE-i386)
Hugo Meiland
hugo at chem.leidenuniv.nl
Tue Jun 17 19:35:34 UTC 2008
Boris Samorodov wrote:
> 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?
>
>
normally you would like to have a client running on the system from
which you want to control the server; thus have a arla client running on
the server if you are building a single system setup....
another option is to control the server from a different machine with
only the client software (often the arla client and some utils from the
openafs-server package, since they have implemented all options to
actually control the server); this last option is not very easy to set
up if you do not have at least one server up-and-running....
Hope this helpes...
Hugo
> WBR
>
More information about the freebsd-afs
mailing list