Starting the network lock manager

By default, the /etc/rc.nfs script starts the rpc.lockd and rpc.statd daemons along with the other NFS daemons.

If NFS is already running, you can verify that the rpc.lockd and rpc.statd daemons are running by following the instructions in Getting the current status of the NFS daemons. The status of these two daemons should be active. If the rpc.lockd and rpc.statd daemons are not active, and therefore not running, do the following:

  1. Using your favorite text editor, open the /etc/rc.nfs file.
  2. Search for the following lines:
    if [ -x /usr/sbin/rpc.statd ]; then
           startsrc -s rpc.statd
    fi
    if [ -x /usr/sbin/rpc.lockd ]; then
           startsrc -s rpc.lockd
    fi
  3. If there is a pound sign (#) at the beginning of any of these lines, delete the character, then save and exit the file. Then start the rpc.statd and rpc.lockd daemons by following the instructions in Starting the NFS daemons.
    Note: Sequence is important. Always start the statd daemon first.
  4. If NFS is running and the entries in the /etc/rc.nfs file are correct, stop and restart the rpc.statd and rpc.lockd daemons by following the instructions in Stopping the NFS daemons and Starting the NFS daemons.
    Note: Sequence is important. Always start the statd daemon first.

If the rpc.statd and rpc.lockd daemons are still not running, see Troubleshooting the network lock manager.