Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5940

Advanced users • NFS server doesn't work after the first reboot

$
0
0
Enabled NFS server on Debian 12 following this guide, everything worked fine, the NFS share was created, I was able to connect from multiple clients no problem, then I rebooted to test it will start automatically at boot, based on the configuration I did, and now the nfs-kernel-server service doesn't start anymore, it's kind of stuck, here is the output from sudo systemctl status nfs-kernel-server:

Code:

root@rpi-nfs:~# sudo systemctl status nfs-kernel-server○ nfs-server.service - NFS server and servicesLoaded: loaded (/lib/systemd/system/nfs-server.service; enabled; preset: enabled)Drop-In: /run/systemd/generator/nfs-server.service.d└─order-with-mounts.confActive: inactive (dead)Nov 26 21:59:12 rpi-nfs systemd[1]: nfs-server.service: Found ordering cycle on mnt-nfs.mount/startNov 26 21:59:12 rpi-nfs systemd[1]: nfs-server.service: Found dependency on nfs-server.service/startNov 26 21:59:12 rpi-nfs systemd[1]: nfs-server.service: Unable to break cycle starting with nfs-server.service/startNov 26 22:04:28 rpi-nfs systemd[1]: nfs-server.service: Found ordering cycle on mnt-nfs.mount/startNov 26 22:04:28 rpi-nfs systemd[1]: nfs-server.service: Found dependency on nfs-server.service/startNov 26 22:04:28 rpi-nfs systemd[1]: nfs-server.service: Unable to break cycle starting with nfs-server.service/start
And the dependencies:

Code:

root@rpi-nfs:~# systemctl list-dependencies nfs-kernel-servernfs-kernel-server.service● ├─-.mount○ ├─auth-rpcgss-module.service○ ├─mnt-nfs.mount○ ├─nfs-idmapd.service○ ├─nfs-mountd.service● ├─nfsdcld.service● ├─proc-fs-nfsd.mount● ├─rpc-statd-notify.service● ├─rpc-statd.service○ ├─rpc-svcgssd.service● ├─rpcbind.socket● ├─system.slice● ├─network-online.target● │ └─NetworkManager-wait-online.service● └─network.target
If I try to manually start the service I get the following error:

Code:

root@rpi-nfs:~# sudo systemctl start nfs-kernel-serverFailed to start nfs-kernel-server.service: Transaction order is cyclic. See system logs for details.See system logs and 'systemctl status nfs-kernel-server.service' for details.
Any idea why this might be happening, and how to fix it? Thanks

Statistics: Posted by br_web — Wed Nov 27, 2024 3:16 am



Viewing all articles
Browse latest Browse all 5940

Trending Articles