[OpenAFS] Bos: communication failed???

Sensei senseiwa@tin.it
Tue, 16 Mar 2004 11:12:36 +0100


I'm building a new kerberized cell, but I can't follow the simple steps 
shown in the documentation.

I emerged (gentoo linux, kernel 2.4.23) openafs, and so I found the 
modules into /etc/afs/modload

I copied the ``-sp'' module (renaming it) into
/lib/modules/2.4.23/kernel/fs/afs/afs.o

I have the partition as shown in the docs:
plmcvs bin # mount
[...]
/dev/hda8 on /vicepa type ext3 (rw)
plmcvs bin # cat /etc/fstab
# /etc/fstab: static file system information.
[...]
/dev/hda8     /vicepa     ext3     defaults     0 2
[...]

I loaded the module without problems
plmcvs root # modprobe -vvvvv afs
/sbin/insmod /lib/modules/2.4.23/kernel/fs/afs/afs.o
Using /lib/modules/2.4.23/kernel/fs/afs/afs.o
Symbol version prefix ''
Warning: loading /lib/modules/2.4.23/kernel/fs/afs/afs.o will taint the 
kernel: no license
   See http://www.tux.org/lkml/#export-tainted for information about 
tainted modules
Module afs loaded, with warnings

Ok, kernel tainted but I don't care. The next step is impossible:

plmcvs bin # ./bosserver -noauth &
[1] 15377
[1]+  Done                    ./bosserver -noauth

           (mmm... Done???)

plmcvs bin # ps auxw|grep bos
root     15379  0.1  0.2  3804 2792 ?        S    11:02   0:00 
./bosserver -noauth
root     15444  0.0  0.0  1500  460 pts/1    R    11:02   0:00 grep bos


           (ok...)


plmcvs bin # ls -l  /usr/vice/etc
lrwxrwxrwx    1 root     root            8 Mar 15 18:03 /usr/vice/etc -> 
/etc/afs/

           (ok...)

plmcvs bin # ./bos setcellname afs.myedu.edu mycell.edu -noauth 

bos: failed to set cell (communications failure (-1))


           (What????????????????????????????????)

plmcvs bin # lsmod
Module                  Size  Used by    Tainted: P
afs                   435192   0  (unused)
sg                     28268   0  (autoclean) (unused)
sr_mod                 14424   0  (autoclean) (unused)
sd_mod                 11180   0  (autoclean) (unused)
scsi_mod               87444   3  (autoclean) [sg sr_mod sd_mod]
ide-cd                 32480   0  (autoclean)
cdrom                  29376   0  (autoclean) [sr_mod ide-cd]
floppy                 52028   0  (autoclean)
plmcvs bin #

As you can see, I have afs module loaded... I don't know, maybe I did 
not follow some steps... Can you help me?
-- 
Sensei <senseiwa:tin.it> <icq:241572242> <msn:Sensei_Sen:hotmail.com>

f u cn rd ths u r usng unx