Andy Goth wrote:
>
> > A window wasn't responding under KDE, and I couldn't kill it, so I tried
> > to log off and the system stopped responding. I waited a long time and
>
> Ctrl+Alt+BkSp should kill the X server.
>
> > then power cycled it and it managed to boot OK, except now every time it
> > shuts down, "shutting down nfs mountd" fails, and starting up, it can't
> > find "var/lib/nfs/xtab" or something like that, which I think was deleted
> > when it tried to fix the drive. Is any of this a problem?
>
> Uh oh... I don't know how to fix this. Someone else?
It means the computer was shut down with NFS still running.
NFS doesn't like this and does nasty things.
Since neither the questioner nor the responder know about
NFS, I will assume that if you do not know what it is, you
do not need it! Basically NFS is a system that allows for
file sharing between computers (like computer A mounts the
drive on computer B as if it was local). One of the problems
with NFS has been security....it is easy to hack into a
computer running NFS unless you know what you are doing.
Most likely NFS got installed and started by checking
"install everything" or something similar during the Mandrake
install.
You need to stop NFS from starting. Look for entries in
/etc/rc.d/rc3.d and in /etc/rc.d/rc5.d that contain the
fragments nfs, rpc and mountd and change them from S to K.
Like S15nfsfs --> ../init.d/nfsfs
You want to change the above to K15nfsfs etc.
Next, you want to go to /etc/fstab and edit out any
lines that have nfs volumes mounted. Put in a # sign on
the beginning of the line, or erase it alltogether.
Lastly, when you reboot the computer, do a ps -ax and
see if you have any nfs components running. You WILL see
something called nfsiod, this is okay (its the part of
the kernel that allows nfs).
ps -ax | grep nfs
ps -ax | grep rpc
ps -ax | grep mount
if nothing bad shows up, you have eradicated the beast.
Make notes in case you ever want to put humpty dumpty back
together again. I am sorry if I cannot be more specific;
I have zapped NFS from my system so I am going by memory and
not by looking at the actual files and names.
If you do not want to reboot the computer, you can change
runlevels and back. Say you are in runlevel 3. Go to runlevel
one and back to three.
prompt# runlevel
3
means you are now in RL 3
prompt# init 1
(computer will do a lot of thrashing, and finally give you
a bash# prompt)
bash# init 3
(more thrashing and back to run level 3).
All of this is best done in console and not in X or you may
incur the wrath of Athena, the goddesd of hard rocks.
--
Ramon Gandia ================= Sysadmin ================ Nook Net
http://www.nook.net [EMAIL PROTECTED]
285 West First Avenue tel. 907-443-7575
P.O. Box 970 fax. 907-443-2487
Nome, Alaska 99762-0970 ========== Alaska Toll Free. 888-443-7525