net/openafs-server and/or kernel module (7.0-STABLE-i386)

View: New views
3 Messages — Rating Filter:   Alert me  

net/openafs-server and/or kernel module (7.0-STABLE-i386)

by Boris Samorodov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...:/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
_______________________________________________
freebsd-afs@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-afs
To unsubscribe, send any mail to "freebsd-afs-unsubscribe@..."

Re: net/openafs-server and/or kernel module (7.0-STABLE-i386)

by Hugo Meiland-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...:/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
>  

_______________________________________________
freebsd-afs@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-afs
To unsubscribe, send any mail to "freebsd-afs-unsubscribe@..."

Re: net/openafs-server and/or kernel module (7.0-STABLE-i386)

by Boris Samorodov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 17 Jun 2008 21:35:21 +0200 Hugo Meiland wrote:

> > 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....

It shouldn't be a single system (if it fits our needs). But this
system is just a first one to experiment with.

> 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....

Seems that I understand the case.

> Hope this helpes...

Sure, thanks!


WBR
--
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
_______________________________________________
freebsd-afs@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-afs
To unsubscribe, send any mail to "freebsd-afs-unsubscribe@..."