[OpenAFS] problems configuring openafs on linux

Temp tempone@isg.si
Mon, 19 Apr 2004 13:17:27 +0200


Hi,

I have up-to-date gentoo Linux 2.4.25_pre7-gss-r2 box, with ext3 && 
openafs-1.2.10-r1 installed.

Here is the error i get when trying to create users on my new openafs service:
--
6 etc # /usr/afs/bin/kas -cell isg -noauth
ka> create afs
initial_password:
Verifying, please re-enter initial_password:
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
Creating user afs  : [____] server or network not responding
--


Here is the configuration procedure after emerging/installing openafs,

6 etc # /usr/afs/bin/bosserver -noauth
//started bosserver 

6 etc # /usr/afs/bin/bos setcellname 10.101.1.6 isg -noauth
//10.101.1.6 is IP of this cluster node

6 etc # cat CellServDB
>isg    #Cell name
0.0.0.6    #6
6 etc # cat ThisCell
isg6 etc #
// yes, this are the contents of ThisCell and CellServDB :-)

//next i created those servers like this:

isg6 etc # /usr/afs/bin/bos create 10.101.1.6 kaserver 
simple /usr/afs/bin/kaserver -cell isg -noauth

6 etc # ps aux | grep kaserver
root      4817  0.1  1.2  2692 1608 ?        S    14:05   
0:00 /usr/afs/bin/kaserver

6 etc # /usr/afs/bin/bos create 10.101.1.6 buserver 
simple /usr/afs/bin/buserver -cell isg -noauth

6 etc # ps aux | grep buser
root      4821  0.5  2.9  5144 3728 ?        S    14:06   
0:00 /usr/afs/bin/buserver

6 etc # /usr/afs/bin/bos create 10.101.1.6 ptserver 
simple /usr/afs/bin/ptserver -cell isg -noauth

6 etc # ps aux | grep ptse
root      4825  0.1  1.2  2712 1616 ?        S    14:12   
0:00 /usr/afs/bin/ptserver

6 etc # /usr/afs/bin/bos create 10.101.1.6 vlserver 
simple /usr/afs/bin/vlserver -cell isg -noauth

6 etc # ps aux | grep vlse
root      4829  0.1  1.2  2908 1608 ?        S    14:13   
0:00 /usr/afs/bin/vlserver

//Then i verifyed if the servers are up and running like this:

6 etc # /usr/afs/bin/bos status 10.101.1.6 -noauth
Instance kaserver, currently running normally.
Instance buserver, currently running normally.
Instance ptserver, currently running normally.
Instance vlserver, currently running normally

6 etc # netstat -apl | grep server
Active Internet connections (servers and established)
udp        0      0 *:afs3-prserver         *:*                                 
4825/ptserver
udp        0      0 *:afs3-vlserver         *:*                                 
4829/vlserver
udp        0      0 *:afs3-kaserver         *:*                                 
4832/kaserver
udp        0      0 *:afs3-bos              *:*                                 
4788/bosserver
udp        0      0 *:7021                  *:*                                 
4821/buserver
Active UNIX domain sockets (servers and established)

//It seems that the are :-)

//Here is the problem once more:
 etc # /usr/afs/bin/kas -cell isg -noauth
ka> create afs
initial_password:
Verifying, please re-enter initial_password:
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
Creating user afs  : [____] server or network not responding
ka> list
rx failed to send packet: rx_sendmsg: Invalid argument
quit
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
rx failed to send packet: rx_sendmsg: Invalid argument
list: server or network not responding calling KAM_ListEntry
ka> 6 etc #

//I also have the kernel module loaded:
ka> 6 etc # lsmod
Module                  Size  Used by    Tainted: P
libafs-2.4.25_pre7-gss-r2  440864   0  (unused)
8139too                14792   1
mii                     2480   0  [8139too]
crc32                   2912   0  [8139too]


Then i tried to make users, but it failed as i already wrote on top.
I really don't know what else to do in order to get openafs working and i 
would really need your help. Any sudgedtions to what went wrong?


Tanx for any kind of info.
Martin