SUSE Support

Here When You Need Us

NFS server will not load

This document (7008046) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11 Service Pack 1

Situation

When starting nfs server this error comes up:
 
Starting kernel based NFS server: mountd statd nfsdrpc.nfsd: unable to resolve ANYADDR:nfs to inet address: Servname not supported for ai_socktype 
rpc.nfsd: unable to set any sockets for nfsd
 
The nfs entries in the /etc/services file looked like this:
 
nfsd       2049/tcp
nfsd       2049/udp

Resolution

The /etc/services file had been modified and the "nfs" entries were changed to "nfsd".  Without the ability to resolve the exact service name "nfs", this error will occur.  Open /etc/services in any editor and change the entries to read:
 
nfs        2049/tcp 
nfs        2049/udp 
 
Then start the nfs server service.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7008046
  • Creation Date: 03-Mar-2011
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.