[OpenAFS-devel] afsd: Error -1 in basic initialization.

Chris Mattmann chris.mattmann@jpl.nasa.gov
Fri, 16 Jun 2006 15:14:22 -0700


Hi Folks,

 I'm new to the list, so let me first say, hello! Well I ran into a specific
problem trying to set up OpenAFS for Fedore Core 3. Basically here's what I
did:

1. I downloaded the Fedore Core 3 RPMS from openafs.org
    openafs-1.4.1-fc3.2.i386.rpm
    openafs-client-1.4.1-fc3.2.i386.rpm
    openafs-kernel-1.4.1-2.6.9_1.667_2.i686.rpm

This was based on the output of uname -a on my machine:

[chris@XXX ~]$ uname -a
Linux XXX.host 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686 i686 i386
GNU/Linux
[chris@XXX ~]$ 

I noticed that I actually have the 2.6.9-1.667 #1 kernel, as opposed to the
#2, which is the one that I think I downloaded, so that could be the
problem. Anyways, so, then I moved to step 2.

2. Use rpm -Uvh to install the RPMs

[chris@XXX ~]$ sudo rpm -Uvh *.rpm
Password:
Preparing...                ###########################################
[100%]
   1:openafs-kernel         ########################################### [
33%]
   2:openafs                ########################################### [
67%]
   3:openafs-client         ###########################################
[100%]


3. Edited /usr/vice/etc/ThisCell and set it to jpl.nasa.gov, which is my AFS
cell.

4. ln -s /usr/vice/etc/afsd /etc/init.d/afsd

5. I tried starting afsd using /sbin/service afsd start, and I get the
following output:

[chris@XXX ~]$ sudo /sbin/service afsd start
afsd: ASSERT: cacheFiles 1000  diskblocks -26
[chris@XXX ~]$ 


I snooped around on the internet and really couldn't find an answer to why
I'm getting this problem. I did however find someone on the mailing list who
suggested running afsd with the verbose option, so here's the output of
that:

[chris@XXX ~]$ sudo /usr/vice/etc/afsd -verbose
afsd: My home cell is 'jpl.nasa.gov'
afsd: cacheFiles autotuned to 3125
afsd: chunkSize autotuned to 18
afsd: dCacheSize autotuned to 2000
afsd: cacheStatEntries autotuned to 3000
SScall(137, 28, 17)=-1 afsd: Forking rx listener daemon.
SScall(137, 28, 48)=-1 afsd: Forking rx callback listener.
SScall(137, 28, 0)=-1 afsd: Forking rxevent daemon.
SScall(137, 28, 19)=-1 SScall(137, 28, 36)=-1 afsd: Error -1 in basic
initialization.
[chris@XXX ~]$ 

Does anyone have * any * clue as to why I'm getting this error? Any help
would be greatly appreciated, I'm sure I probably messed something up :-)

Thanks!

Cheers,
  Chris Mattmann
  chris.mattmann@jpl.nasa.gov