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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-03-2003, 11:55 PM
|
#1
|
Member
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987
Rep:
|
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.
|
|
|
12-05-2003, 10:35 AM
|
#2
|
LQ Newbie
Registered: Nov 2002
Location: Southern Cal.
Distribution: Mandrake 9.1
Posts: 9
Rep:
|
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.
|
|
|
12-05-2003, 11:26 AM
|
#3
|
Member
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546
Rep:
|
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
|
|
|
12-05-2003, 11:40 AM
|
#4
|
Member
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546
Rep:
|
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
|
|
|
12-05-2003, 12:46 PM
|
#5
|
Member
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987
Original Poster
Rep:
|
thanks, I made the post above about three months ago. Redhat is long gone. I still appreciate your help.
|
|
|
12-06-2003, 02:22 PM
|
#6
|
LQ Newbie
Registered: Nov 2002
Location: Southern Cal.
Distribution: Mandrake 9.1
Posts: 9
Rep:
|
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?
|
|
|
12-06-2003, 02:33 PM
|
#7
|
Member
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987
Original Poster
Rep:
|
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.
|
|
|
12-07-2003, 07:32 AM
|
#8
|
Member
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 12:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|