Carlos E. R. composed on 2021-08-04 04:06 (UTC+0200):
Felix Miata wrote:
On server, result is similarly uninformative:
# journalctl -b | grep nfs Aug 03 01:14:34 00srv systemd[1]: nfs-server.service: Failed with result 'exit-code'.
That IS informative. It would be better if it also printed what exit-code, but...
Useless information without the code or what the code means. :(
Additional data:
# systemctl status nfs-server ● nfs-server.service - NFS server and services Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled; vendor preset: disabled) Drop-In: /usr/lib/systemd/system/nfs-server.service.d └─nfsserver.conf, options.conf /run/systemd/generator/nfs-server.service.d └─order-with-mounts.conf Active: failed (Result: exit-code) since Tue 2021-08-03 01:14:34 EDT; 18h ago
Aug 03 01:14:34 00srv systemd[1]: nfs-server.service: Failed with result 'exit-code'.
Well, the next step I would do is "systemctl start nfs-server" and then status, and look at the journal.
# systemctl start nfs-server Job for nfs-server.service canceled. # systemctl status nfs-server ● nfs-server.service - NFS server and services Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled; vendor preset: disabled) Drop-In: /usr/lib/systemd/system/nfs-server.service.d └─nfsserver.conf, options.conf /run/systemd/generator/nfs-server.service.d └─order-with-mounts.conf Active: failed (Result: exit-code) since Tue 2021-08-03 22:51:45 EDT; 1min 25s ago Process: 14242 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS) Process: 14239 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS) Process: 14238 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=1/FAILURE) Aug 03 22:51:45 00srv systemd[1]: nfs-server.service: Failed with result 'exit-code'. 00srv:~ # journalctl -b | tail -n# Aug 03 22:51:45 00srv rpc.mountd[14228]: Could not make a socket: (97) Address family not supported by protocol Aug 03 22:51:45 00srv rpc.mountd[14228]: Could not make a socket: (97) Address family not supported by protocol Aug 03 22:51:45 00srv rpc.mountd[14228]: Could not make a socket: (97) Address family not supported by protocol Aug 03 22:51:45 00srv rpc.mountd[14228]: Could not make a socket: (97) Address family not supported by protocol Aug 03 22:51:45 00srv rpc.mountd[14228]: Could not make a socket: (97) Address family not supported by protocol Aug 03 22:51:45 00srv rpc.mountd[14228]: Could not make a socket: (97) Address family not supported by protocol Aug 03 22:51:45 00srv systemd[1]: nfs-server.service: Failed with result 'exit-code'. Is 97 an exit code? If yes, where does one discover its meaning? # systemctl list-sockets | egrep 'nfs|rpc|ount' /run/rpcbind.sock rpcbind.socket rpcbind.service 0.0.0.0:111 rpcbind.socket rpcbind.service 0.0.0.0:111 rpcbind.socket rpcbind.service # systemctl status rpcbind.socket ● rpcbind.socket - RPCbind Server Activation Socket Loaded: loaded (/usr/lib/systemd/system/rpcbind.socket; enabled; vendor preset: disabled) Active: active (running) since Tue 2021-08-03 01:14:25 EDT; 21h ago Listen: /run/rpcbind.sock (Stream) 0.0.0.0:111 (Stream) 0.0.0.0:111 (Datagram) Tasks: 0 CGroup: /rpcbind.socket Clear as mud where to look or what to look for. :( -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata