[OpenAFS] Help - Failed to load AFS client
Derek Atkins
warlord@MIT.EDU
03 Nov 2002 16:08:58 -0500
Tommy Mann <tmann@black.ils.unc.edu> writes:
> Okay, I rebooted and have not yet run /etc/rc.d/init.d/afs start. Here's
> what "ps -ef | grep afs" outputs:
>
> [tmann@black tmann]$ ps -ef | grep afs
[snip]
> root 1046 1 0 15:42 ? 00:00:00 /usr/vice/etc/afsd -stat
> 2000 -d
>
> Do you know what this means???
It means that your AFS client is started automatically at boot time.
Although I find it odd that you're getting different ps output now
than you did earlier.
> I'm still getting the following in /var/log/messages:
>
> Nov 3 15:54:17 black kernel: afs: Lost contact with volume location
> server 152.2.1.7 in cell isis.unc.edu
> Nov 3 15:54:17 black kernel: afs: Lost contact with volume location
> server 152.2.1.7 in cell isis.unc.edu
> Nov 3 15:55:28 black kernel: afs: Lost contact with volume location
> server 152.2.1.6 in cell isis.unc.edu
> Nov 3 15:55:28 black kernel: afs: Lost contact with volume location
> server 152.2.1.6 in cell isis.unc.edu
> Nov 3 15:56:26 black kernel: afs: Lost contact with volume location
> server 152.2.1.5 in cell isis.unc.edu
>
> Any thoughts??
Well, it certainly looks like the server is running AFS. Are you sure
your client is not behind some firewall or NAT gateway?
> Thanks!!!
>
> Tommy
-derek
>
> On 3 Nov 2002, Nathan Neulinger wrote:
>
> > Looks to me like you've tried to start the client 4 times. There should
> > only be one '[afs_checkserver]' instance listed.
> >
> > I'd suggest rebooting, and then not doing anything, and see if the
> > client is running.
> >
> > In general, there is no reason to start/stop afs, just leave it running
> > all the time after boot.
> >
> > -- Nathan
> >
> > On Sun, 2002-11-03 at 13:35, Tommy Mann wrote:
> > > No, no firewall. I should be able to talk to those IPs. I'm really new
> > > at this, so I wouldn't discount any thoughts you might have.
> > >
> > > I don't think I'm trying to start the client twice. When I try starting,
> > > I first run /etc/rc.d/init.d/afs stop and then /etc/rc.d/init.d/afs start
> > > (as root, of course). Here are all the AFS processes that my box is
> > > running (from entering ps -ef at the prompt):
> > >
> > > root 13541 2 0 Nov02 ? 00:00:00 [afs_rxlistener]
> > > root 13542 2 0 Nov02 ? 00:00:00 [afs_callback]
> > > root 13543 2 0 Nov02 ? 00:00:00 [afs_rxevent]
> > > root 13548 2 0 Nov02 ? 00:00:00 [afsd]
> > > root 13549 2 0 Nov02 ? 00:00:00 [afs_checkserver]
> > > root 13550 2 0 Nov02 ? 00:00:00 [afs_background]
> > > root 13551 2 0 Nov02 ? 00:00:00 [afs_background]
> > > root 13552 2 0 Nov02 ? 00:00:00 [afs_background]
> > > root 13554 2 0 Nov02 ? 00:00:00 [afs_cachetrim]
> > > root 17071 2 0 Nov02 ? 00:00:00 [afs_rxevent]
> > > root 17073 2 0 Nov02 ? 00:00:00 [afs_checkserver]
> > > root 17074 2 0 Nov02 ? 00:00:00 [afs_background]
> > > root 17075 2 0 Nov02 ? 00:00:00 [afs_background]
> > > root 17076 2 0 Nov02 ? 00:00:00 [afs_cachetrim]
> > > root 17528 2 0 Nov02 ? 00:00:00 [afs_rxevent]
> > > root 17529 2 0 Nov02 ? 00:00:00 [afs_checkserver]
> > > root 17530 2 0 Nov02 ? 00:00:00 [afs_background]
> > > root 17531 2 0 Nov02 ? 00:00:00 [afs_background]
> > > root 17532 2 0 Nov02 ? 00:00:00 [afs_cachetrim]
> > > root 17839 2 0 Nov02 ? 00:00:00 [afs_rxevent]
> > > root 17840 2 0 Nov02 ? 00:00:00 [afs_checkserver]
> > > root 17841 2 0 Nov02 ? 00:00:00 [afs_background]
> > > root 17842 2 0 Nov02 ? 00:00:00 [afs_background]
> > > root 17843 2 0 Nov02 ? 00:00:00 [afs_cachetrim]
> > >
> > > Any thoughts? Remember, I'm a newbie so it could pretty much be anything!
> > >
> > > Thanks!!
> > >
> > > Tommy
> > >
> > > On 3 Nov 2002, Nathan Neulinger wrote:
> > >
> > > > Do you have a firewall or other mechanism in place that would prevent
> > > > you from talking to those IPs?
> > > >
> > > > One thing that's odd from your output - if the client didn't load, you
> > > > shouldn't be getting any of those kernel messages.
> > > >
> > > > Are you trying to start the client twice?
> > > >
> > > > -- Nathan
> > > >
> > > > On Sun, 2002-11-03 at 13:07, Tommy Mann wrote:
> > > > > ThisCell:
> > > > > isis.unc.edu
> > > > >
> > > > > CellServDB
> > > > > >isis.unc.edu # University of North Carolina at Chapel Hill
> > > > > 152.2.1.5 #db0.isis.unc.edu
> > > > > 152.2.1.6 #db1.isis.unc.edu
> > > > > 152.2.1.7 #db2.isis.unc.edu
> > > > > >physics.unc.edu # University of NC at Chapel Hill Physics/Astro
> > > > > 152.2.5.2 #valerian.physics.unc.edu
> > > > > 152.2.5.3 #augustus.physics.unc.edu
> > > > > 152.2.7.67 #nerva.astro.unc.edu
> > > > > >acpub.duke.edu #Duke Academic Computing (clusters)
> > > > > 152.3.233.4 #clarke.acpub.duke.edu
> > > > > 152.3.233.5 #delany.acpub.duke.edu
> > > > > 152.3.233.6 #ellison.acpub.duke.edu
> > > > >
> > > > > There's actually a really long list in the CellServDB file, but they're
> > > > > all similar to what I pasted above (the top one is most important for what
> > > > > I'm doing, I think).
> > > > >
> > > > > Any idea why I'm getting this error message when I try to start AFS up?
> > > > >
> > > > > Thanks!
> > > > > Tommy
> > > > >
> > > > >
> > > > >
> > > > > On 3 Nov 2002, Derek Atkins wrote:
> > > > >
> > > > > > What do you mean "added the appropriate cell in ThisCell"? What does
> > > > > > "ThisCell" look like?
> > > > > >
> > > > > > Does CellServDB have the appropriate values for your cell?
> > > > > >
> > > > > > -derek
> > > > > >
> > > > > > Tommy Mann <tmann@black.ils.unc.edu> writes:
> > > > > >
> > > > > > > Hi! I've just installed the OpenAFS rpms on my RH 7.3 box. I've added
> > > > > > > the appropriate cell in ThisCell (/usr/vice/etc), and also downloaded my
> > > > > > > cell's appropriate CellServDB. However, when I run /etc/rc.d/init.d/afs
> > > > > > > start I get the following message:
> > > > > > >
> > > > > > > Found libafs-2.4.18-3-i686.o from SymTable... Loading...
> > > > > > > Failed to load AFS client, not starting AFS services.
> > > > > > >
> > > > > > > What's going on here??? I checked a few other things out and here's what
> > > > > > > I found:
> > > > > > >
> > > > > > > In /var/log/messages I see the following errors:
> > > > > > >
> > > > > > > Nov 2 15:24:34 black kernel: You must reload the AFS kernel extensions
> > > > > > > before remounting AFS.
> > > > > > > Nov 2 15:25:15 black kernel: afs: Lost contact with volume location
> > > > > > > server 152.2.1.7 in cell isis.unc.edu
> > > > > > > Nov 2 15:25:15 black kernel: afs: Lost contact with volume location
> > > > > > > server 152.2.1.7 in cell isis.unc.edu
> > > > > > > Nov 2 15:26:13 black kernel: afs: Lost contact with volume location
> > > > > > > server 152.2.1.6 in cell isis.unc.edu
> > > > > > >
> > > > > > > Basically, I get the "Lost contact with volume loation server..." error
> > > > > > > twice each minute continuously.
> > > > > > >
> > > > > > > Also, if I run /usr/vice/etc/afsd I get:
> > > > > > >
> > > > > > > afsd: All AFS daemons started.
> > > > > > > afsd: Can't mount AFS on /afs(22)
> > > > > > >
> > > > > > > I don't really know where else to look. Any help would be greatly
> > > > > > > appreciated!!!
> > > > > > >
> > > > > > > Thanks!
> > > > > > > Tommy
> > > > > > > tmann@black.ils.unc.edu
> > > > > > >
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > OpenAFS-info mailing list
> > > > > > > OpenAFS-info@openafs.org
> > > > > > > https://lists.openafs.org/mailman/listinfo/openafs-info
> > > > > >
> > > > > >
> > > > >
> > > > > _______________________________________________
> > > > > OpenAFS-info mailing list
> > > > > OpenAFS-info@openafs.org
> > > > > https://lists.openafs.org/mailman/listinfo/openafs-info
> > > >
> >
>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available