[OpenAFS] No check server daemon in client. (??)

Markus Skowronek markus.skowronek@urz.uni-heidelberg.de
Fri, 13 Jun 2003 18:31:45 +0200


Hi Derek and Tino,

Am Freitag, 13. Juni 2003 17:42 schrieben Sie:
> Did you perhaps recompile AFSD but not the kernel module?
> Did you get version skew between afsd and the kernel module?

I did 
tar xjf openafs-1.2.x (or whatever versionnumber)
cd openafs-1.2.x
and then (part of my install-script, older (german) description can be found on http://linux.uni-hd.de/OpenAFS):

#!/bin/bash
#
# afs-setup-client by Markus Skowronek, University of Heidelberg, Computing Center
#
# this should target into an "AFS-Quick&Easy-Setup" (not only for clients)
# currently however it has to be edited manually for various Distributions
# !! Please read first before executing !!
#SYSNAME= ... (hm, ...how to do this automatically?)
SYSNAME=i386_linux24 
THISCELL=urz.uni-heidelberg.de
CELLFULLNAME=">urz.uni-heidelberg.de    #Rechenzentrum der Universitaet Heidelberg"
CELLDBSERV0="129.206.119.10    #afsdb.urz.uni-heidelberg.de"
CELLDBSERV1="129.206.119.16    #afsdb1.urz.uni-heidelberg.de"
CELLDBSERV2="129.206.119.17    #afsdb2.urz.uni-heidelberg.de"
#CACHE_DIR=/var/cache/openafs  (used by i.e. debian, suse8.2)
CACHE_DIR=/usr/vice/cache

# for SuSE-Distributions pre 8.0
if ! [ -f /usr/src/linux/include/linux/version.h ]; then
        ln -s /boot/vmlinuz.version.h /usr/src/linux/include/linux/version.h ;
fi
if ! [ -d /etc/sysconfig ]; then
        mkdir /etc/sysconfig ;
fi
#make distclean
./configure --sysconfdir=/etc --prefix=/opt/openafs --exec-prefix=/opt/openafs
# ./configure --enable-transarc-paths
make
make dest
# uncomment if server capabilities needed
#make install
#now copy client files to appropriate directories
cp -a $SYSNAME/dest/root.client/usr/vice /usr/
if ! [ -d /afs ]; then
        mkdir /afs;
fi
if ! [ -d /etc/openafs ]; then
        mkdir /etc/openafs;
fi
# !! uncomment next line only if directory-target is *not* using Reiser-FS
if ! [ -d $CACHE_DIR ]; then
        mkdir $CACHE_DIR;
fi
# install Files into their Directories
if ! [ -f /usr/vice/etc/cacheinfo ]; then
        echo "/afs:$CACHE_DIR:50000" > /usr/vice/etc/cacheinfo;
fi
echo $THISCELL          >/usr/vice/etc/ThisCell
echo $CELLFULLNAME      >/usr/vice/etc/CellServDB
echo $CELLDBSERV0       >>/usr/vice/etc/CellServDB
echo $CELLDBSERV1       >>/usr/vice/etc/CellServDB
echo $CELLDBSERV2       >>/usr/vice/etc/CellServDB
# creating links in their directories
ln -s /usr/vice/etc/afs.rc      /etc/init.d/afs
ln -s /usr/vice/etc/afs.conf    /etc/openafs/afs
ln -s /usr/vice/etc/cacheinfo   /etc/openafs/
ln -s /usr/vice/etc/ThisCell    /etc/openafs/
ln -s /usr/vice/etc/CellServDB  /etc/openafs/
ln -s /etc/openafs/afs /etc/sysconfig/afs

---finished
this install-skript did work on most machines,
however using some kernel required some handmade corrections:
#>cd /usr/vice/etc/modload
#>ln -s libafs-2.4.18-4GB.mp.o  libafs-`uname -r`.mp.o
#>ls -l
total 1137
drwxr-sr-x    2 root     1002          176 Jun 13 18:04 .
drwxr-sr-x    4 root     1002          168 Jun 13 17:08 ..
lrwxrwxrwx    1 root     1002           22 Jun 13 18:04 libafs-2.4.18-4GB-SMP.mp.o -> libafs-2.4.18-4GB.mp.o
-rw-r--r--    1 root     1002       648555 Jun 13 17:00 libafs-2.4.18-4GB.mp.o
-rw-r--r--    1 root     1002       510015 Jun 13 17:02 libafs-2.4.18-4GB.o

therefore everything should work o.k. (in theory).
however on this machine recently it worked fine until rebooting :(

best wishes,
	Markus
>
> -derek
>
> Markus Skowronek <markus.skowronek@urz.uni-heidelberg.de> writes:
> > Hello,
> >
> > after using openafs several months without major problems.
> >
> > now afsd fails to start:
> >
> > kde00:~ # /etc/init.d/afs start
> > Starting AFS services.....
> > afsd: No check server daemon in client.
> > afsd: All AFS daemons started.
> > afsd: Can't mount AFS on /afs(22)
> >
> > kde00:~ # /usr/afsws/bin/translate_et 22
> > 22 ().22 = Invalid argument
> >
> > never had any error "No check server daemon in client" before.
> > where does it come from?
> > recomiling against recent glibc-(devel) didn't helped any further
> >
> > any hints?
> >
> > Best greetings,
> > Markus
> > _______________________________________________
> > OpenAFS-info mailing list
> > OpenAFS-info@openafs.org
> > https://lists.openafs.org/mailman/listinfo/openafs-info