[OpenAFS] OpenAFS 1.2.9 Not Working with RH Kernel

Computers in Medicine pittmed@pittmed.pitt.edu
Sun, 18 May 2003 00:25:05 -0400


OK it looks like I'm getting closer.  I updated all the RPMs
rpm -qa | fgrep afs gives

krbafs-devel-1.1.1-1
openafs-devel-1.2.9-rh7.1.1
openafs-server-1.2.9-rh7.1.1
krbafs-utils-1.1.1-1
openafs-kernel-source-1.2.9-rh7.1.1
krbafs-1.1.1-1
openafs-krb5-1.2.9-rh7.1.1
openafs-kernel-1.2.9-rh7.1.1
openafs-client-1.2.9-rh7.1.1
openafs-1.2.9-rh7.1.1

Then I did the following:

cd /usr/src/redhat/SOURCES
bzip2 -d openafs-1.2.9.tar.bz2
tar -xf openafs-1.2.9.tar
cd openafs-1.2.9
./configure --enable-transarc-paths
make
make dest
cp src/libafs/MODLOAD-2.4.20-13.7/libafs-2.4.20-13.7.o
/usr/vice/etc/modload/
cd /usr/vice/etc/modload
../afsmodname -f SymTable.local -g libafs-2.4.20-13.7.o

Now /etc/rc.d/init.d/afs start gives

Found libafs-2.4.20-13.7.o from SymTable... Loading...
Starting AFS services.....
afsd: All AFS daemons started.

However klog user@my.cell gives
klog: error reading cell database Can't get local cell name!

I'm thinking it's something simple, but I don't know where to look.

Thanks again very much.

----- Original Message ----- 
From: "Derek Atkins" <warlord@MIT.EDU>
To: "Computers in Medicine" <pittmed@pittmed.pitt.edu>
Cc: <openafs-info@openafs.org>
Sent: Saturday, May 17, 2003 11:05 PM
Subject: Re: [OpenAFS] OpenAFS 1.2.9 Not Working with RH Kernel


The problem is that the RPM is compiled with --enable-transarc-paths,
but you did not do so in your rebuild... So afsd is looking in the
wrong place.  This is why I suggested you upgrade the RPMS to 1.2.9
and then compile the kernel module using the openafs-kernel-source
RPM.

-derek