[OpenAFS] Help - Failed to load AFS client

Derek Atkins warlord@MIT.EDU
03 Nov 2002 22:34:40 -0500


Strangely, this appears to have no stopped AFS.  try:
        umount /afs
        /usr/vice/etc/afsd -shutdown
        lsmod | grep libafs
        rmmod <whatever the name of the libafs module is>

Then check if AFS is still running..

-derek

PS: 'ps' is one way.. another thing to check is 'mount'

Tommy Mann <tmann@black.ils.unc.edu> writes:

> I issued /etc/init.d/afs stop and it returned no errors.  However, when I 
> run 'ps -ef | grep afs' (the only way I know of to check if afs is 
> running) I see:
> 
> root      1038     1  0 15:42 ?        00:00:00 /usr/vice/etc/afsd -stat 
> 2000 -d
> root      1039     1  0 15:42 ?        00:00:00 /usr/vice/etc/afsd -stat 
> 2000 -d
> root      1041     1  0 15:42 ?        00:00:00 /usr/vice/etc/afsd -stat 
> 2000 -d
> root      1043     1  0 15:42 ?        00:00:00 /usr/vice/etc/afsd -stat 
> 2000 -d
> root      1044     1  0 15:42 ?        00:00:00 /usr/vice/etc/afsd -stat 
> 2000 -d
> root      1045     1  0 15:42 ?        00:00:00 /usr/vice/etc/afsd -stat 
> 2000 -d
> root      1046     1  0 15:42 ?        00:00:00 /usr/vice/etc/afsd -stat 
> 2000 -d
> 
> So has it stopped?  If so, once I start it up again, how will I know it's 
> working?  Will there be anything in /afs if ThisCell is openafs.org?
> 
> Tommy
> 
> 
> > Well, you can _try_ to shutdown and then restart AFS by hand:
> > 
> >         /etc/init.d/afs stop
> > (make sure AFS has stopped)
> >         /etc/init.d/afs start
> > 
> > -derek
> > 
> > Tommy Mann <tmann@black.ils.unc.edu> writes:
> > 
> > > No, I did not reboot -- do I need to?  If so then I'll have to do it in 
> > > the morning as I can't get to the machine right now (I'm accessing the 
> > > machine remotely and if I reboot it will hang on a startup screen until I 
> > > press F1 to continue).  
> > > 
> > > I left the contents of ThisCell as openafs.org to see if it will connect 
> > > to that cell (isn't that what you suggested I do?).
> > > 
> > > Thanks for all the help!
> > > Tommy
> > > 
> > > 
> > > On 3 Nov 2002, Derek Atkins wrote:
> > > 
> > > > Did you reboot after upgrading?  Did you change the contents of
> > > > /usr/vice/etc/ThisCell?
> > > > 
> > > > -derek
> > > > 
> > > > Tommy Mann <tmann@black.ils.unc.edu> writes:
> > > > 
> > > > > Alright, I removed the 1.2.6 rpms and installed the four 1.2.7 files.  
> > > > > Here are the afs processes currently running:
> > > > > 
> > > > > [root@black etc]$ ps -ef | grep afs
> > > > > root      1038     1  0 15:42 ?        00:00:00 /usr/vice/etc/afsd -stat 
> > > > > 2000 -d
> > > > > root      1039     1  0 15:42 ?        00:00:00 /usr/vice/etc/afsd -stat 
> > > > > 2000 -d
> > > > > root      1041     1  0 15:42 ?        00:00:00 /usr/vice/etc/afsd -stat 
> > > > > 2000 -d
> > > > > root      1043     1  0 15:42 ?        00:00:00 /usr/vice/etc/afsd -stat 
> > > > > 2000 -d
> > > > > root      1044     1  0 15:42 ?        00:00:00 /usr/vice/etc/afsd -stat 
> > > > > 2000 -d
> > > > > root      1045     1  0 15:42 ?        00:00:00 /usr/vice/etc/afsd -stat 
> > > > > 2000 -d
> > > > > root      1046     1  0 15:42 ?        00:00:00 /usr/vice/etc/afsd -stat 
> > > > > 2000 -d
> > > > > 
> > > > > What do I do now to test that I can connect to openafs.org?  Do I need to 
> > > > > start the afs service?  Login somehow?
> > > > > 
> > > > > Tommy
> > > > > 
> > > > > 
> > > > > 
> > > > > On 3 Nov 2002, Derek Atkins wrote:
> > > > > 
> > > > > > No, you only need the core three:
> > > > > >         openafs
> > > > > >         openafs-client
> > > > > >         openafs-kernel
> > > > > > 
> > > > > > You may want openafs-krb5, if you need "aklog".  You dont need any of
> > > > > > the others.  Just note, however, that ALL your RPMs must match, so if
> > > > > > you installed the other RPMs for 1.2.6 you need to either remove them
> > > > > > or upgrade them as well.
> > > > > > 
> > > > > > -derek
> > > > > > 
> > > > > > Tommy Mann <tmann@black.ils.unc.edu> writes:
> > > > > > 
> > > > > > > I can upgrade -- do I really need all 10 RPMs that are listed for 7.3 if I 
> > > > > > > only want the client?
> > > > > > > 
> > > > > > > Tommy
> > > > > > > 
> > > > > > > 
> > > > > > > On 3 Nov 2002, Derek Atkins wrote:
> > > > > > > 
> > > > > > > > Well, upgrading to the 1.2.7 RPMs should restore the CellServDB file.
> > > > > > > > 
> > > > > > > > -derek
> > > > > > > > 
> > > > > > > > Tommy Mann <tmann@black.ils.unc.edu> writes:
> > > > > > > > 
> > > > > > > > > I did indeed destroy the original when I brought over the one for the cell 
> > > > > > > > > I'm trying to connect with.
> > > > > > > > > 
> > > > > > > > > Tommy
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > On 3 Nov 2002, Derek Atkins wrote:
> > > > > > > > > 
> > > > > > > > > > Tommy Mann <tmann@black.ils.unc.edu> writes:
> > > > > > > > > > 
> > > > > > > > > > > I can try that -- so I should change the contents of ThisCell to 
> > > > > > > > > > > 'openafs.org'...what should I change the contents of CellServDB to?
> > > > > > > > > > 
> > > > > > > > > > Unless you destroyed the distributed CelLServDB, you shouldn't need
> > > > > > > > > > anthing.
> > > > > > > > > > 
> > > > > > > > > > > BTW, is the downgrade okay???
> > > > > > > > > > 
> > > > > > > > > > Yea, but you might as well run the most recent version.
> > > > > > > > > > 
> > > > > > > > > > > Tommy
> > > > > > > > > > 
> > > > > > > > > > -derek
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > 
> > > > > > 
> > > > > > 
> > > > > 
> > > > 
> > > > 
> > > 
> > 
> > 
> 
> 

-- 
       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