Gentoo Archives: gentoo-user

From: Tom H <tomh0665@×××××.com>
To: Gentoo User <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] [~amd64] NFS server broken again :(
Date: Tue, 28 Oct 2014 00:56:53
Message-Id: CAOdo=SzXCtdVnznSLtQYP8=7RU5+e9f=GxazZaR+EyD44ipskw@mail.gmail.com
In Reply to: [gentoo-user] [~amd64] NFS server broken again :( by walt
1 On Mon, Oct 27, 2014 at 3:38 PM, walt <w41ter@×××××.com> wrote:
2 >
3 > Last night when I powered off my machines NFS was working perfectly. Today
4 > it's broken again for the nth time:
5 >
6 > #systemctl status nfs-server
7 > ● nfs-server.service - NFS server and services
8 > Loaded: loaded (/usr/lib64/systemd/system/nfs-server.service; enabled)
9 > Active: failed (Result: exit-code) since Mon 2014-10-27 11:50:38 PDT; 25min ago
10 > Process: 896 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS)
11 > Process: 893 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS)
12 > Process: 939 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS (code=exited, status=1/FAILURE)
13 > Process: 936 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS)
14 > Main PID: 939 (code=exited, status=1/FAILURE)
15 >
16 > Oct 27 11:50:38 a6 rpc.nfsd[939]: rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
17 > Oct 27 11:50:38 a6 rpc.nfsd[939]: rpc.nfsd: unable to set any sockets for nfsd
18 > Oct 27 11:50:38 a6 systemd[1]: nfs-server.service: main process exited, code=exited, status=1/FAILURE
19 > Oct 27 11:50:38 a6 systemd[1]: Failed to start NFS server and services.
20 > Oct 27 11:50:38 a6 systemd[1]: Unit nfs-server.service entered failed state.
21 >
22 > #rpc.nfsd -d
23 > rpc.nfsd: Checking netconfig for visible protocols.
24 > rpc.nfsd: Enabling inet udp.
25 > rpc.nfsd: Enabling inet tcp.
26 > rpc.nfsd: Enabling inet6 udp.
27 > rpc.nfsd: Enabling inet6 tcp.
28 > rpc.nfsd: knfsd is currently down
29 > rpc.nfsd: Writing version string to kernel: -2 +3 +4
30 > rpc.nfsd: Creating inet TCP socket.
31 > rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
32 > rpc.nfsd: Creating inet6 TCP socket.
33 > rpc.nfsd: writing fd to kernel failed: errno 97 (Address family not supported by protocol)
34 > rpc.nfsd: unable to set any sockets for nfsd
35
36 Is rpcbind.service running?
37
38 Does "rpcbind -p" output the usual programs/ports/...?
39
40 Are the nfs-api-filesystems mounted? ("/var/lib/nfs/rpc_pipefs" and
41 "/proc/fs/nfsd")