From owner-freebsd-afs@FreeBSD.ORG Tue Jun 17 19:35:34 2008 Return-Path: Delivered-To: freebsd-afs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D26D1065670 for ; Tue, 17 Jun 2008 19:35:34 +0000 (UTC) (envelope-from hugo@chem.leidenuniv.nl) Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by mx1.freebsd.org (Postfix) with ESMTP id 9060E8FC0A for ; Tue, 17 Jun 2008 19:35:33 +0000 (UTC) (envelope-from hugo@chem.leidenuniv.nl) Received: from hugo-meilands-computer-3.local (a213-84-138-84.adsl.xs4all.nl [213.84.138.84]) (authenticated bits=0) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id m5HJZUSl029800; Tue, 17 Jun 2008 21:35:31 +0200 (CEST) (envelope-from hugo@chem.leidenuniv.nl) Message-ID: <485811F9.5030401@chem.leidenuniv.nl> Date: Tue, 17 Jun 2008 21:35:21 +0200 From: Hugo Meiland User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Boris Samorodov References: <62956155@bs1.sp34.ru> In-Reply-To: <62956155@bs1.sp34.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-afs@FreeBSD.org Subject: Re: net/openafs-server and/or kernel module (7.0-STABLE-i386) X-BeenThere: freebsd-afs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: The Andrew File System and FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2008 19:35:34 -0000 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@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 >