Warning message

A translation for your language preference does not exist.

nfs-server.service failed to start after modifying /etc/services file

Solution 確認済 - 更新日時 - 日本語 への翻訳依頼

問題

  • Unable to start nfs-server.service
  • nfs-server.service failed 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content