nfs-server.service failed to start after modifying /etc/services file
問題
- Unable to start
nfs-server.service nfs-server.servicefailed with below errors:
systemd[1]: Starting NFS server and services...
rpc.nfsd[217725]: rpc.nfsd: unable to resolve ANYADDR:nfs: Servname not supported for ai_socktype
rpc.nfsd[217725]: rpc.nfsd: unable to set any sockets for nfsd
systemd[1]: nfs-server.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: nfs-server.service: Failed with result 'exit-code'.
systemd[1]: Stopped NFS server and services.
環境
- Red Hat Enterprise Linux release 7
- Red Hat Enterprise Linux release 8
- Red Hat Enterprise Linux release 9
- NFS Server
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.