[arch-general] NFS server broke after reboot - *urgent* need help

Bardur Arantsson spam at scientician.net
Sat Jan 31 21:28:02 UTC 2015


On 01/31/2015 10:14 PM, Genes Lists wrote:
> I have a problem where nfs failed. 2 units fail to start
> 
>    rpc-statd.service
>    nfs-server.service.
> 
> -------------------------------------
> rpc-statd:
>   systemctl status rpc-statd
> 
>  rpc.statd[736]: Version 1.3.2 starting
>  rpc.statd[736]: Flags: TI-RPC
>  rpc.statd[736]: Running as root.  chown /var/lib/nfs to choose
> different user
>  rpc.statd[736]: failed to create RPC listeners, exiting
>  systemd[1]: rpc-statd.service: control process exited, code=exited
> status=1
>  systemd[1]: Failed to start NFS status monitor for NFSv2/3 locking..
>  systemd[1]: Unit rpc-statd.service entered failed state.
> systemd[1]: rpc-statd.service failed.
> 
> -------------------------------------
>  I am unable to start this by hand either - continues to fail same way.
> I had seen this once a month or so back - but was able to start it by
> hand after machine was up.
> 
> -------------------------------------
> nfs-server:
> 
>   systemctl-status nfs-server
> 
>  ● nfs-server.service - NFS server and services
>    Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled;
> vendor preset: disabled)
>    Active: failed (Result: exit-code) since Sat 2015-01-31 16:05:32 EST;
> 5min ago
>   Process: 743 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS (code=exited,
> status=1/FAILURE)
>   Process: 741 ExecStartPre=/usr/sbin/exportfs -r (code=exited,
> status=0/SUCCESS)
>  Main PID: 743 (code=exited, status=1/FAILURE)
> 
>  rpc.nfsd[743]: rpc.nfsd: writing fd to kernel failed: errno 111
> (Connection refused)
>  rpc.nfsd[743]: rpc.nfsd: unable to set any sockets for nfsd
>  systemd[1]: nfs-server.service: main process exited, code=exited,
> status=1/FAILURE
>  systemd[1]: Failed to start NFS server and services.
>  systemd[1]: Unit nfs-server.service entered failed state.
>  systemd[1]: nfs-server.service failed.
> 
> 
>  -------------------------------------
> 
>   Machine is fully updated from testing repo. I did try kernel 3.19.rc6
> but it does not help.
> 
> nfs-utils 1.3.2-1
> linux 3.18.5-1
> rpcbind 0.2.2-1
> 
> Really appreciate some help - this is my main nfs server and I can no
> longer get it working ...
> 

I'm unlikely to be able to help, but it might be a good idea to try

   journalctl -u nfs-server
   journalctl -u rpc.statd

etc. just to see if there's some output you've missed.


More information about the arch-general mailing list