[OpenAFS-devel] Ubik Problems adding afs server

Erland Lewin erland@lewin.nu
Mon, 25 Sep 2006 20:47:29 +0200


Thanks for your reply, Chaskiel!

Chaskiel M Grundman wrote:

>> Sun Sep 24 04:00:20 2006 Using 172.16.1.11 as my primary address
>> Sun Sep 24 04:00:20 2006 Inconsistent Cell Info on server: Sun Sep 24
>> 04:00:20 2006 83.227.241.4 Sun Sep 24 04:00:20 2006
>
>
> Check the PTLog/VLLog on nirvana, it should say something like
>
> Sun Sep 24 04:00:20 2006 Inconsistent Cell Info from server: Sun Sep 
> 24 04:00:20 2006 172.16.1.11 Sun Sep 24 04:00:20 2006

Both PtLog and VLLog are empty, but there are PtLog.old and VLLog.old 
files (with the same timestamps as the empty PtLog and VLLog) that contain:

> bind: Address already in use
> rxi_GetUDPSocket: bind failed
> ptserver: port address already in use Ubik init failed

and

> vlserver: Ubik init failed with code -7
> ocket: bind failed

respectively (note: it actually says "ocket", that's not a 
copy-and-paste-o).

> please include the raw server cellservdb entries 
> (/etc/openafs/server/CellServDB) from both sol and nirvana.

On sol, it (/etc/openafs/server/CellServDB) is :

> >lewin.nu       #Cell name
> 83.227.241.4    #nirvana.lewin.nu
> 172.16.1.11    #sol.lewin.nu

And on nirvana, it starts (the paths are slightly different on the two 
servers):

> nirvana.lewin.nu>head /usr/etc/openafs/server/CellServDB
> >lewin.nu       #Cell name
> 83.227.241.4      #nirvana.lewin.nu
> 172.16.1.11     #sol.lewin.nu
> >grand.central.org      #GCO Public CellServDB 10 Apr 2002
> 18.7.14.88                      #grand-opening.mit.edu
> 128.2.191.224                   #penn.central.org
> >wu-wien.ac.at          #University of Economics, Vienna, Austria
> 137.208.3.33                    #afsdb1.wu-wien.ac.at
> 137.208.7.4                     #afsdb2.wu-wien.ac.at
> 137.208.7.7                     #afsdb3.wu-wien.ac.at

etc (it is 242 lines long, do you want me to include the whole thing?)

> Does sol have a /etc/openafs/NetRestrict or /etc/openafs/NetInfo?

No, however I recently added a /usr/etc/openafs/server/NetRestrict file 
to nirvana, so that it would not use its' intranet address. it contains:

> 127.0.0.1
> 172.16.1.1

Grateful for any tips,

Erland