How to fix: mount.nfs: rpc.statd is not running but is required for remote locking

mount.nfs: rpc.statd is not running but is required for remote locking

If you got this issue while mounting the NFS on your Linux box (In my case it was Ubuntu 12.04.2 LTS) then this post might help you as well and can save your lots of precious time.

Lets, see Step-by-Step:

How did I install NFS Server on Ubuntu?

How did I install NFS Client?

The Issue

I got the issue while I was trying to mount the folders for my virtual machine.

The Solution

If you look at /etc/hosts.allow in you system, It says

And since my client was trying to connect to locally to it own rpc, I need to allow my hosts itself, like:

Done!! This fixed my issue for the NFS.
Also, you need to make sure that there is no firewall configured to block it.

Hope this helps you. Happy Coding !!!

Leave a Reply

Your email address will not be published. Required fields are marked *