Hello All,
I recently noticed that NFS wasn't working anymore on my omv server, I think it happend after upgrade to OMV 6, didn't notice any errors after update but when I tried to add a nfs-share on webinterface, I couldn't apply changes , keeps giving big error messages.
when I try to start nfs-server from cl, I get depency error;
root@jacksbox3:~# systemctl start nfs-server.service
A dependency job for nfs-server.service failed. See 'journalctl -xe' for details.
root@jacksbox3:~# journalctl -xe
Jul 20 13:53:05 jacksbox3 systemd[1]: Condition check resulted in RPC security service for NFS server being skipped.
░░ Subject: A start job for unit rpc-svcgssd.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit rpc-svcgssd.service has finished successfully.
░░
░░ The job identifier is 6025.
Jul 20 13:53:05 jacksbox3 rpc.mountd[26593]: /usr/sbin/rpc.mountd: bad version number: 0
Jul 20 13:53:05 jacksbox3 rpc.mountd[26593]: Usage: /usr/sbin/rpc.mountd [-F|--foreground] [-h|--help] [-v|--version] [-d kind|--debug kind]
Jul 20 13:53:05 jacksbox3 rpc.mountd[26593]: [-o num|--descriptors num]
Jul 20 13:53:05 jacksbox3 rpc.mountd[26593]: [-p|--port port] [-V version|--nfs-version version]
Jul 20 13:53:05 jacksbox3 rpc.mountd[26593]: [-N version|--no-nfs-version version] [-n|--no-tcp]
Jul 20 13:53:05 jacksbox3 rpc.mountd[26593]: [-H prog |--ha-callout prog] [-r |--reverse-lookup]
Jul 20 13:53:05 jacksbox3 rpc.mountd[26593]: [-s|--state-directory-path path] [-g|--manage-gids]
Jul 20 13:53:05 jacksbox3 rpc.mountd[26593]: [-t num|--num-threads=num] [-u|--no-udp]
Jul 20 13:53:05 jacksbox3 systemd[1]: nfs-mountd.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit nfs-mountd.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Jul 20 13:53:05 jacksbox3 systemd[1]: nfs-mountd.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit nfs-mountd.service has entered the 'failed' state with result 'exit-code'.
Jul 20 13:53:05 jacksbox3 systemd[1]: Failed to start NFS Mount Daemon.
░░ Subject: A start job for unit nfs-mountd.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit nfs-mountd.service has finished with a failure.
░░
░░ The job identifier is 6009 and the job result is failed.
Jul 20 13:53:05 jacksbox3 systemd[1]: Dependency failed for NFS server and services.
░░ Subject: A start job for unit nfs-server.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit nfs-server.service has finished with a failure.
░░
░░ The job identifier is 6005 and the job result is dependency.
Jul 20 13:53:05 jacksbox3 systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
root@jacksbox3:~# systemctl list-dependencies nfs-server
nfs-server.service
● ├─auth-rpcgss-module.service
● ├─nfs-config.service
● ├─nfs-idmapd.service
● ├─nfs-mountd.service
● ├─proc-fs-nfsd.mount
● ├─rpc-statd.service
● ├─rpc-svcgssd.service
● ├─rpcbind.socket
● ├─system.slice
● └─network.target
root@jacksbox3:~# systemctl status nfs-mountd.service
● nfs-mountd.service - NFS Mount Daemon
Loaded: loaded (/lib/systemd/system/nfs-mountd.service; static)
Active: failed (Result: exit-code) since Thu 2023-07-20 13:53:05 CEST; 1min 56s ago
Process: 26593 ExecStart=/usr/sbin/rpc.mountd $RPCMOUNTDARGS (code=exited, status=1/FAILURE)
CPU: 3ms
Jul 20 13:53:05 jacksbox3 rpc.mountd[26593]: Usage: /usr/sbin/rpc.mountd [-F|--foreground] [-h|--help] [-v|--version] [-d kind|--debug kind]
Jul 20 13:53:05 jacksbox3 rpc.mountd[26593]: [-o num|--descriptors num]
Jul 20 13:53:05 jacksbox3 rpc.mountd[26593]: [-p|--port port] [-V version|--nfs-version version]
Jul 20 13:53:05 jacksbox3 rpc.mountd[26593]: [-N version|--no-nfs-version version] [-n|--no-tcp]
Jul 20 13:53:05 jacksbox3 rpc.mountd[26593]: [-H prog |--ha-callout prog] [-r |--reverse-lookup]
Jul 20 13:53:05 jacksbox3 rpc.mountd[26593]: [-s|--state-directory-path path] [-g|--manage-gids]
Jul 20 13:53:05 jacksbox3 rpc.mountd[26593]: [-t num|--num-threads=num] [-u|--no-udp]
Jul 20 13:53:05 jacksbox3 systemd[1]: nfs-mountd.service: Control process exited, code=exited, status=1/FAILURE
Jul 20 13:53:05 jacksbox3 systemd[1]: nfs-mountd.service: Failed with result 'exit-code'.
Jul 20 13:53:05 jacksbox3 systemd[1]: Failed to start NFS Mount Daemon.
root@jacksbox3:~#
seems nfs-mountd is the problem, search all the forums but couldn't find a fix,
has anybody here an idea?
thanks.