unable to start nfs daemon on a server.
Hi All,
We can not start NFS service even we run " service nfs start" .
At a glance, the command goes well but no nfs proc is running on a server.
[root]# service nfs start
[root]# <--- no message so far so I guess the command had no error.
When we stop the service, we got massage as follows,
[root]# service nfs stop
Shutting down NFS mountd: [FAILED]
Shutting down NFS daemon: [FAILED]
Shutting down NFS quotas: [FAILED]
[root]# service nfs status
rpc.mountd is stopped
nfsd is stopped
rpc.rquotad is stopped
[root]# rpcinfo -p 127.0.0.1
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
We already tried to reboot server but it did not solve the problem.
[additional info]
We checked "pstree" and found that some rpc.* proc are running on normal server comparred with the server.
rpc.idmapd
rpc.mountd
rpc.rquotad
rpc.statd
We want to start NFS service on the server.
Please give us advice.
Regads,
Daisuke
Responses
If you ever need to start the NFS server manually, the proper invocation sequence is to start the rpcbind (portmap in case of RHEL5.x) first, followed by NFS, followed by the NFS lock manager, that is:
/etc/rc.d/init.d/rpcbind start /etc/rc.d/init.d/nfs start /etc/rc.d/init.d/nfslock start
Conversely, to shut down the server, reverse the start procedure:
/etc/rc.d/init.d/nfslock stop /etc/rc.d/init.d/nfs stop /etc/rc.d/init.d/rpcbind stop
That is what appears to me at first look of the issue. So, start rpcbind service and then start nfs service.
I could see that you got "portmap" service over there. Is this RHEL5.x? I If so, then please start the services in this sequence:
/etc/init.d/portmap start
/etc/init.d/nfs start
/etc/init.d/nfslock start
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
