SUSE Support

Here When You Need Us

NFS mount fails with message "rpc.statd is not running"

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


SUSE Linux Enterprise Server 11 Service Pack 1


"mount" command fails with the following messages:

mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified

/var/log/messages shows:

Nov  7 19:00:59 [servername] rpcbind: cannot get local address for udp: Servname not supported for ai_socktype
Nov  7 19:00:59 [servername]  rpcbind: cannot get local address for tcp: Servname not supported for ai_socktype
Nov  7 19:00:59 [servername]  rpcbind: cannot get local address for udp6: Servname not supported for ai_socktype
Nov  7 19:00:59 [servername]  rpcbind: cannot get local address for tcp6: Servname not supported for ai_socktype


On nfs client, file /etc/services may be missing "rpcbind" in the "sunrpc"lines for tcp and udp.  It should look like this:


sunrpc                  111/tcp         rpcbind # SUN Remote Procedure Call
sunrpc                  111/udp         rpcbind # SUN Remote Procedure Call

After making changes to /etc/services, restart rpcbind in client with command "rcrpcbind restart" and test your mount again.

Additional Information

The file /etc/services had been incorrectly modified and the word "rpcbind" was missing from "sunrpc" lines.

To verify rpc.statd is registered on the nfs client, issue command "rpcinfo -p".  The service name "status"corresponds to the rcp.statd process so a couple of "status"lines should be listed:

[sles]:~ # rpcinfo -p
   program vers proto   port  service
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  56130  status
    100024    1   tcp  52733  status
    100021    1   udp  47174  nlockmgr
    100021    3   udp  47174  nlockmgr
    100021    4   udp  47174  nlockmgr
Before a successful nfs mount, at least "portmapper" should appear here.  After a mount, status and nlockmgr will appear as well.  With the above problem (incorrect sunrpc line in /etc/services ), none of these lines were appearing.


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:7009756
  • Creation Date: 16-Nov-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 Support Forums

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

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.

Open an Incident

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