[CentOS/RHEL/CloudLinux] rpc.statd is not running but is required for remote locking

Fixing rpc.statd is not running but is required for remote locking

 

If you come across this error while attempting to mount an NFS filesystem it means that the statd process is not running.

# mount -a -t nfs
 
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

Here’s how to fix the rpc.statd is not running error on el6

First, ensure that rpcbind is running and that it is set to start on boot

 
# /etc/init.d/rpcbind start
Starting rpcbind:                                          [  OK  ]
 
# chkconfig rpcbind on

Then, start the nfslock service

 
# /etc/init.d/nfslock start
Starting NFS statd:                                        [  OK  ]
# chkconfig nfslock on

That’s it. You should now be able to mount your nfs filesystem.

  • 3 Пользователи нашли это полезным
Помог ли вам данный ответ?

Связанные статьи

[WHM/cPanel] CloudLinux PHP selector not saving on cPanel 54 and CL 6.x & 7.x

Problem:When trying to change php extensions in paper_lantern, nothing saves. I can click Save or...

Installing IPSet on CentOS

CSF (ConfigServer Firewall) on a Linux system and you block a lot of IP addresses, performance...

crontab management

crontab is a command line tool in order to manage your cron tasksThe two most important basic...

How to silence a CRON and prevent it to send emails

Problem:Every time that a CRON is running, an email is sent.  Those emails aren't always...

[EA3] New Relic APM on cPanel & CloudLinux CageFS

Many System Administrators tried to get PHP apps hosted on a cPanel server with CloudLinux and...