systemctl enable nfs Failed to execute operation: No such file or directory
Systemd1: Starting NFS server and services. Rpc.nfsd3515: rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused) rpc.nfsd3515: rpc.nfsd: unable to set any sockets for nfsd systemd1: nfs-server.service: main process exited, code=exited, status=1/FAILURE systemd1: Failed to start NFS server and services. Setting up an nfs server on a laptop running Fedora-20, I get the following perplexing results: # systemctl start nfs.service # systemctl enable nfs.service Failed to issue method call: No such file or directory Sure enough, as promised, nfs works up to the next reboot, then it stops working. Where I'm hanging up now is after 'sudo systemctl enable -now nfs-server rpcbind', I'm getting a 'Job for nfs-server.service canceled' error, instead of seeing it run. I've set up my IP address to be static, with a lease entered into my router, and changed my hostname to be 'something.local', replacing all previous hostnames in the correct file.

When trying to enable the NFS service, it returns in an error like this:
After a system reboot, nfs-kernel-server was inactive. When I try to start I get. Nfs-server.service: Job nfs-server.service/start failed with result 'dependency'. Which is echoed in journalctl -xe. I am using Ubuntu 16.04.2. Tried a reinstall, and received the same message. The only flag I can see is that a. Systemctl list-dependencies nfs. Check your mounts, then restart the NFS server. – Thomas May 17 '19 at 7:16 That was the problem for some reason I forgot to add that the raid-array to auto-mount at boot. – swemattias May 18 '19 at 9:24.
Job For Nfs-server.service Canceled
[root@opennebula01 ~]# systemctl enable nfs
Failed to execute operation: No such file or directory
[root@opennebula01 ~]#
Client For Nfs Service
You need to enable something else:
[root@opennebula01 ~]# systemctl enable nfs-server.service
Created symlink from /etc/systemd/system/multi-user.target.wants/nfs-server.service to
/usr/lib/systemd/system/nfs-server.service.
Job For Nfs-server.service Canceled Fedora
And maybe even start it:
[root@opennebula01 ~]# systemctl start nfs-server.service
Cheers,
TK
Related Posts
