[OpenAFS] bosserver "Listening on 127.0.0.1:7007"

John Tang Boyland boyland@uwm.edu
Thu, 30 Aug 2012 13:45:47 -0500


Michael Meffie <mmeffie@sinenomine.net> wrote:
] On Thu, 30 Aug 2012 09:43:51 -0500
] John Tang Boyland <boyland@pabst.cs.uwm.edu> wrote:
] 
] > I'm trying to get OpenAFS 1.6.1 running on a new (additional)
] > Linux server.  I've got the keyfiles etc copied over and can start
] > the bosserver, but it ignores all "bos" commands sent remotely.
] > I'm guessing that is because BosLog says:
] > 	Listening on 127.0.0.1:7007
] > I tried adding the real network address into /etc/openafs/server/NetInfo
] > (without an f) and put 127.0.0.1 in /etc/openafs/server/NetRestrict
] > and restarting the bosserver but to no avail.  Any idea how
] > to get the bosserver to listen to a real interface?
] > Or is it normal to listen to 127.0.0.1 ?
] 
] Hello John,
] 
] Can you tell me which options you are using to start bosserver? Are
] you using the -rxbind option?

I edited /etc/sysconfig/openafs to say AFS_SERVER=on
and use /etc/init.d/openafs to start AFS,
but did no other changes.  As far as I can tell reading the script
it does not use rxbind.

] What does netstat say about which interfaces are bound to port 7007
] for udp?

Sorry, I don't know how to use netstat:

# netstat | grep 7007
# netstat --udp
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State      
# netstat --interfaces
Kernel Interface table
Iface       MTU Met    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
lo        16436   0       40      0      0      0       40      0      0      0 LRU
p4p1       1500   0   113378      0      0      0    84751      0      0      0 BMRU

bos works fine locally:
# bos getlog localhost BosLog -localauth
Fetching log file 'BosLog'...
Thu Aug 30 09:38:38 2012: Core limits now -1 -1
Thu Aug 30 09:38:38 2012: Server directory access is okay
Thu Aug 30 09:38:38 2012: Listening on 127.0.0.1:7007

John