Technical article 102378

NFS startup gives "statd:cannot talk to statd at <client_machine>"

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6OpenServer 5.0.7UnixWare 7.0.0UnixWare 7.0.1UnixWare 7.1.0UnixWare 7.1.1UnixWare 7.1.2UnixWare 7.1.3

Written · Last revised

Problem

When SCO NFS server is going into multiuser mode, or SCO NFS is restarted, the following error appears:

statd: cannot talk to statd at <client_machine>

The client machine has been disconnected from the network (e.g., a DOS PC client) without un-mounting the resource, now the server still gives this message after a reboot.

Cause

The client should always un-mount a resource before disconnecting.
Since NFS is based on a stateless protocol, the server provides
crash and recovery functions for the locking services using the
network status monitor (/etc/statd).  The statd preserves
crash/recovery state in the /etc/sm directory.
The failure of a client (e.g., client rebooted) is only detected
upon its recovery, hence when the server is rebooted it still
looks for the client machine - and the error above indicates that
the client cannot be contacted.

Solution

In order to remove this message use the following procedure:

(1) Stop NFS services to safeguard other resources:

nfs stop

(2) Edit the following file and remove entries identifying the disconnected client.

/etc/sm/recover

The 'recover' file records the hostname of all systems that have as yet not been notified of statd's failure.

NOTE for UnixWare7:
==================
Check also the contents of /etc/sm.bak
NOTE for ODT3.0:
================
Refer to the STATD (NADM) and STATMON (NF) manual page for more
information on these files.
The STATMON (NF) manual page incorrectly references the monitor
files as "current", "backup", and "state".  The correct files
are, as listed in the actual text:
/etc/sm/record
/etc/sm/recover
/etc/sm/state

See also

statd(1Mnfs)
statd(NADM)

From the Xinuos technical article database, record 102378. Reproduced with permission. The original is at www.sco.com/ta/102378, 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.