Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: werme@alingo.zk3.dec.com (Eric Werme)
Subject: Re: Problem With Lockd (OSF 2.1)
Date: 30 Sep 94 18:54:28 GMT	[thread overview]
Message-ID: <werme.780951268@alingo.zk3.dec.com> (raw)
In-Reply-To: 3678g0$drh@agate.berkeley.edu

forrest@toe.CS.Berkeley.EDU (Jon Forrest) writes:

>Recently I've started experiencing problems with lockd on our mailserver
>machine. This didn't happen under OSF 1.3. When I boot I see the message:

>	rpc.lockd: Cannot contact status monitor

The lock daemon needs to talk to both the local and remote status daemons.
This says that the server isn't running a statd.

>There are also messages in /var/adm/syslog.dated that say

>	Sep 26 10:50:48 nobozo binmail[13017]: cannot lockf /usr/spool/mail/forrest

>Also, users are reporting that the 'inc' command hangs after the
>mailserver machine is rebooted. (This is because of the "cannot lockf"
>message above). Is this supposed to happen?

If the local machine is not running rpc.lockd lock requests should
fail immediately with ENOLCKS.  If the server is not running rpc.lockd,
client behaviour is a little trickier.  Sun, OSF V1.2 and OSF V1.3 will
all hang indefinitely, I think.  OSF V3.0 will time out after 45 seconds
with ENOLCKS.  I forget which V2.0 does.

>Running ps shows:

>ps aux | grep rpc
>forrest   1298  0.0  0.2 1.30M 288K p1  S  + 12:34:41     0:00.02 grep rpc
>root       223  0.0  0.4 1.74M 608K ??  I    10:56:35     0:00.18 /usr/sbin/rpc.lockd
>root       221  0.0  0.2 1.44M 328K ??  S    10:56:35     0:00.12 /usr/sbin/rpc.statd

>so at least these processes are running.

On one machine.  What's the other machine doing?

There are various ways you can hang either daemon for a while, e.g. making
them convert a hostname when bind is slow.  That can also cause delays.
-- 
Eric (Ric) Werme         |  werme@zk3.dec.com
Digital Equipment Corp.  |  This space intentionally left blank.


      reply	other threads:[~1994-09-30 18:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-09-26 19:47 Problem With Lockd (OSF 2.1) Jon Forrest
1994-09-30 18:54 ` Eric Werme [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox