1833052 Members
2721 Online
110049 Solutions
New Discussion

can't start nfs services

 
SOLVED
Go to solution
peterchu
Super Advisor

can't start nfs services

After stop the nfs services , it can't be start it again , could suggest what is wrong ? thx.

# ./nfs stop
Shutting down NFS mountd: [FAILED]
Shutting down NFS daemon: [FAILED]
Shutting down NFS quotas: [FAILED]
Shutting down NFS services: [ OK ]
[root@EDP init.d]# ./nfs start
Starting NFS services:
6 REPLIES 6
Vernon Brown_4
Trusted Contributor
Solution

Re: can't start nfs services

Your output indicates that you did not successfully stop NFS; so you still have locks in place that prevents a restart. Something is preventing the shutdown; maybe files open that the shutdown script can't close. etc.
peterchu
Super Advisor

Re: can't start nfs services

thx suggestion , if it is the case , could advise how to fix it ? thx.
Mobeen_1
Esteemed Contributor

Re: can't start nfs services

Peterchu,
As Vernon has mentioned the NFS daemon has not been shutdown properly on the host. I would suggest that you follow the sequence below

1. Try one more time shutdown of NFS like
#./nfs stop

2. Verify if all the nfs daemons are
shutdown by doing
# ps -ef | grep nfs

3. If you see any nfs daemons from item#2,
make sure that you kill them like
#kill -9

4. Now do a nfs start like
#./nfs start

Let me know if you have any questions

regards
Mobeen
Roberto Polli
Trusted Contributor

Re: can't start nfs services

Peter,
I think all this is related to another posting.

NFS in a medium-large network is an ugly beast.
If you already knopw all about

fuser
lsof
nscd
autofs
rpc.mountd

then you should have all you need and work with it. No other solutions. With such a problem I'm working with iozone (look at google) and linux nfs-howto.

Peace, R.
Steven E. Protter
Exalted Contributor

Re: can't start nfs services

put the command

set -x

In the nfs startup scripts in /etc/init.d

Try again, you will at least get some diagnostics.

This is almost always due to inconsistent network setttings in /etc/sysconfig/network-scripts

Give them the old eyeball scan and see what you find.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
peterchu
Super Advisor

Re: can't start nfs services

it is OK now , thx all replies.