Technical article 102352

"WARNING: NLM: lock request to server <IP> failed: RPC_CANTRECV error 5".

OpenServer 5.0.0OpenServer 5.0.2

Written · Last revised

Problem

An NFS server refuses to grant lock requests and displays these error messages on the console and/or in /usr/adm/syslog:

WARNING: NLM: lock request to server <servername> failed: RPC_CANTRECV error 5

Cause

An NFS client system that had file locks outstanding on this server was halted without first releasing the file locks; the server is not able to contact this client. The server still has an entry for this client in its /etc/sm/recover file, and this causes all new requests for remote file locking to be denied for some period of time whenever the server is rebooted or NFS is restarted on the server.

Solution

First, stop NFS on the server. Then manually edit /etc/sm/recover and remove the names of any client systems that NFS is unable to contact. Then either reboot the server or start NFS.

NOTE:     It is advisable to stop NFS on any clients that have NFS mounted
          files from this server before you stop NFS on the server.

This problem has been reported to SCO Engineering.

See also

TA107704, "What is the SLS OSS449F Network Maintenance Supplement?"

From the Xinuos technical article database, record 102352. Reproduced with permission. The original is at www.sco.com/ta/102352, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.