sjiveson / nfs-server-alpine

A handy Alpine Linux based NFS Server image running NFS v4 only, over TCP on port 2049
https://hub.docker.com/r/itsthenetwork/nfs-server-alpine/
GNU General Public License v3.0
295 stars 187 forks source link

The /usr/sbin/rpc.mountd process failed to start #52

Open ledrsnet opened 2 years ago

ledrsnet commented 2 years ago

root@nfs-server-alpine-65bb5fbdb6-26gg5:/ # ps -ef PID USER TIME COMMAND 1 root 0:00 {nfsd.sh} /bin/bash /usr/bin/nfsd.sh 16 rpc 0:00 /sbin/rpcbind -w 385 root 0:00 sleep 2 386 root 0:00 bash 392 root 0:00 ps -ef

The /usr/sbin/rpc.mountd --debug all --no-udp --no-nfs-version 2 --no-nfs-version 3 process failed to start

ledrsnet commented 2 years ago

Writing SHARED_DIRECTORY to /etc/exports file The PERMITTED environment variable is unset or null, defaulting to ''. This means any client can mount. The READ_ONLY environment variable is unset or null, defaulting to 'rw'. Clients have read/write access. The SYNC environment variable is unset or null, defaulting to 'async' mode. Writes will not be immediately written to disk. Displaying /etc/exports contents: /exports (rw,fsid=0,async,no_subtree_check,no_auth_nlm,insecure,no_root_squash)

Starting rpcbind... Displaying rpcbind status... program version netid address service owner 100000 4 tcp6 ::.0.111 - superuser 100000 3 tcp6 ::.0.111 - superuser 100000 4 udp6 ::.0.111 - superuser 100000 3 udp6 ::.0.111 - superuser 100000 4 tcp 0.0.0.0.0.111 - superuser 100000 3 tcp 0.0.0.0.0.111 - superuser 100000 2 tcp 0.0.0.0.0.111 - superuser 100000 4 udp 0.0.0.0.0.111 - superuser 100000 3 udp 0.0.0.0.0.111 - superuser 100000 2 udp 0.0.0.0.0.111 - superuser 100000 4 local /var/run/rpcbind.sock - superuser 100000 3 local /var/run/rpcbind.sock - superuser Starting NFS in the background... rpc.nfsd: knfsd is currently down rpc.nfsd: Writing version string to kernel: -2 -3 rpc.nfsd: Created AF_INET TCP socket. rpc.nfsd: Created AF_INET6 TCP socket. Exporting File System... exporting :/exports /exports Starting Mountd in the background...These Startup of NFS failed, sleeping for 2s, then retrying... Displaying /etc/exports contents: /exports (rw,fsid=0,async,no_subtree_check,no_auth_nlm,insecure,no_root_squash)