[OpenAFS] problems configuring openafs on linux

Temp tempone@isg.si
Wed, 28 Apr 2004 15:08:26 +0200


I guess people on this list are totaly lame or just plain lazy since the 
problem was obvius to every openafs nonbeginer.

Problem:
> 6 etc # cat CellServDB
>
> >isg    #Cell name
>
> 0.0.0.6    #6
Solution:
Here had to be put the real IP of the server in.

M.

On Monday 19 of April 2004 13:17, Temp wrote:
> 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
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info