LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-03-2003, 11:55 PM   #1
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
stopping NFS statd FAILED


I am running redhat9. I am getting this error when shutting down my system.

stopping NFS statd FAILED

The problem started right after I added the bootloader lilo, before that I was booting by floppy.
 
Old 12-05-2003, 10:35 AM   #2
RTBraden
LQ Newbie
 
Registered: Nov 2002
Location: Southern Cal.
Distribution: Mandrake 9.1
Posts: 9

Rep: Reputation: 0
I have the same problem in Mandrake 9.1. I was switching between text mode login and the graphical login when I noticed the the shutdown Failure.
 
Old 12-05-2003, 11:26 AM   #3
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Well, this is not a big problem as such.

You get the error - stopping NFS statd FAILED - because a kill signal is sent to all services including the NFS service when shutting down the system. However, since NFS is not running, it fails to stop the service and hence shows the error message.

To check if NFS is running or not, just give the following command logged in as root

service nfs status

This will display whether NFS is running or not.

Post again if you have further queries

Regards,

amit
 
Old 12-05-2003, 11:40 AM   #4
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
just to add in for your knowledge

You would be aware that there are the following runlevels in linux

0 - Shutdown
1 - Single User Mode
2 - Multi User without NFS
3 - Multi User with NFS
4 - Unused
5 - X-Window (GUI)
6 - Reboot

Now, there are services which are started at the time of boot. All these scripts reside in

/etc/rc.d/init.d/

Further, every run level has some specific services running. So lets suppose that if you switch your run level from 3 to 5, there will be some services that will be started when you enter runlevel 5 , and some services that wll be stopped when you enter runlevel 5.

each of these run-levels has a corresponding directory

/etc/rc.d/rc0.d for runlevel 0
/etc/rc.d/rc1.d for runlevel 1
/etc/rc.d/rc2.d for runlevel 2
/etc/rc.d/rc3.d for runlevel 3
/etc/rc.d/rc4.d for runlevel 4
/etc/rc.d/rc5.d for runlevel 5
/etc/rc.d/rc6.d for runlevel 6

Whenever you boot in a particular run level, scripts in its corresponding directory are executed. The files in rcX.d directories are basically links to the scripts in the directory /etc/rc.d/init.d/

Thus, a file beginning with an 'S' means that a particular service will be started...whereas a file name beginning with 'K' means the service will be killed in that particular run-level.

for example

Skudzu - means start the kudzu service
Knfsd - means kill the NFS service

So in every run level, some services will be killed and some new services will be started, and the remaining that are common to both runlevels will keep running.

You should have a look at the above directories for more information.

regards,

amit
 
Old 12-05-2003, 12:46 PM   #5
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Original Poster
Rep: Reputation: 30
thanks, I made the post above about three months ago. Redhat is long gone. I still appreciate your help.
 
Old 12-06-2003, 02:22 PM   #6
RTBraden
LQ Newbie
 
Registered: Nov 2002
Location: Southern Cal.
Distribution: Mandrake 9.1
Posts: 9

Rep: Reputation: 0
Ahhh!! I got it. I know why its doing it now.
Now I have a new question. Is it really nessesary to have NFS running at all if I'm not file sharing on my network?
 
Old 12-06-2003, 02:33 PM   #7
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Original Poster
Rep: Reputation: 30
ya you can turn it off, and that will aliviate your error. In the redhat menu, I think their is somthing called network services. you need to uncheck nfslock, the stopping NFS statd FAILED error will go away.
 
Old 12-07-2003, 07:32 AM   #8
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Hi...

To prevent NFS from starting at all during the boot time, you can do the following:

log-in as root and give the command

ntsysv

Deselect NFS and NFSLOCK from the list that appears before you. From next time, they will not be started at boot time.

Regards,

amit
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stopping NFS locking failed. travellers Linux - Software 1 11-28-2005 11:51 AM
NFS statd emanugrum Linux - Networking 0 04-19-2005 09:48 AM
Stopping NFS statd...FAILED allelopath Linux - General 2 03-12-2004 11:29 AM
NFS statd won't start mrbucket Linux - General 1 12-29-2003 01:43 AM
NFS statd 'failed' on reboot LinuxBAH Linux - Newbie 2 07-01-2003 02:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration