I ran a large system update yesterday, and after a system reboot (for a new kernel), my nfs shares refused to mount. I keep getting error messages stating that statd isn't running.
Attempting to restart the nfs-common or nfs-kernel-server services results in the same error message.
I tried starting it manually using rpc.statd, and even though I get no errors from it, it doesn't appear to actually launch it.
/var/log/syslog has several entries like this:
Code:
rpc.statd[28523]: Version 1.2.3 starting
sm-notify[28524]: Version 1.2.3 starting
sm-notify[28524]: Already notifying clients; Exiting!
And /var/log/daemon.log has entries like this:
Code:
rpc.mountd[665]: mountd: could not create listeners
rpc.idmapd[671]: main: open(/var/lib/nfs/rpc_pipefs/nfs): No such file or directory
rpc.mountd[706]: mountd: could not create listeners
rpc.statd[722]: Version 1.2.3 starting
sm-notify[723]: Version 1.2.3 starting
sm-notify[723]: Already notifying clients; Exiting!
rpc.statd[722]: failed to create RPC listeners, exiting
rpc.statd[734]: Version 1.2.3 starting
rpc.statd[734]: Flags: TI-RPC
rpc.statd[734]: failed to create RPC listeners, exiting
~~~
rpc.statd[1238]: Caught signal 15, un-registering and exiting
rpc.statd[10105]: Version 1.2.3 starting
sm-notify[10106]: Version 1.2.3 starting
sm-notify[10106]: Already notifying clients; Exiting!
rpc.statd[10105]: Failed to read /var/lib/nfs/state: Success
rpc.statd[10105]: Initializing NSM state
rpc.statd[10105]: failed to create RPC listeners, exiting
I'm not sure what any of these mean.
I've been looking around the web, but I haven't been able to find anything useful, or even understandable to me. Most of what I find are old bugs or dead-end threads. I managed to get my shares to mount by adding the nolock option to the mount commands, but I'm not completely sure what that really does or whether it's safe or not to do so.
Can anyone please help me diagnose and fix this problem?