[OpenAFS] Help - Failed to load AFS client

Klaas Hagemann kerberos@northsailor.de
Mon, 4 Nov 2002 08:58:17 +0100


Hi,
> Tommy Mann <tmann@black.ils.unc.edu> writes:
>
> > > How... strange.  what does "ps aux | grep afs" give you?
> > > You may need to reboot...
> >
> > root      1038  0.0  0.1  1784  732 ?        S<   15:42   0:00
> > /usr/vice/etc/afs
> > root      1039  0.0  0.1  1784  728 ?        S    15:42   0:00
> > /usr/vice/etc/afs
> > root      1041  0.0  0.1  1784  728 ?        S    15:42   0:00
> > /usr/vice/etc/afs
> > root      1043  0.0  0.1  1784  728 ?        S    15:42   0:00
> > /usr/vice/etc/afs
> > root      1044  0.0  0.1  1784  728 ?        S    15:42   0:00
> > /usr/vice/etc/afs
> > root      1045  0.0  0.1  1784  728 ?        S    15:42   0:00
> > /usr/vice/etc/afs
> > root      1046  0.0  0.2  1836  792 ?        S    15:42   0:00
> > /usr/vice/etc/afs
> > tmann    10829  0.0  0.1  1764  608 pts/2    S    22:53   0:00 grep afs
> >
> > So I have to reboot?  That's too bad because it'll probably have
> > to wait until the morning....
>
> Yep.  I suspect that AFS didn't start completely, and therefore
> can't shutdown completely.  You'll need to reboot..
This looks to me like the same problem i had trying to stop the afs-client
deamon. In the afs-skript, the order is wrong.
In the skript, killafs is done before umount /afs. Therefore the
libafs-module gets in trouble and still seems to be used by 2 processes
(check lsmod), although /afs is not mounted.
The solution is simple: change the order in the rc-skript and umount /afs
before doing killafs!. Then the afs-client should shutdown correct and the
libafs-module can be successfully removed.

>
> -derek
Klaas
>
> >
> > > >
> > > > PS: What _is_ the name fo the libafs module?  Or how do I find out?
> > > > Thanks!
> > > Read about 5 lines down....
> >
> > Ahh, gotcha!
> >
> >
> > >
> > > >
> > > > On 3 Nov 2002, Derek Atkins wrote:
> > > >
> > > > > 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
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > > _______________________________________________
> > > > 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
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info