* Problem With Lockd (OSF 2.1)
@ 1994-09-26 19:47 Jon Forrest
1994-09-30 18:54 ` Eric Werme
0 siblings, 1 reply; 2+ messages in thread
From: Jon Forrest @ 1994-09-26 19:47 UTC (permalink / raw)
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
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?
The lockd man page isn't really clear. It says
"The rpc.lockd daemon then requests the status monitor daemon,
rpc.statd, for monitor service. The reply to the lock request is
not sent to the kernel until the status daemon and the server site's
lock daemon have replied."
This says to me that lockd talks to statd and to another lockd. Since
the mailbox files are on the same machine as binmail these two
instances of lockd must be on the same machine, right? What would
cause lockd to not be able to contact statd on the same machine?
Or, is the message above refering to something else completely?
Further, it says
If either the status monitor or server site's lock daemon is unavailable,
the reply to a lock request for remote data is delayed until all daemons
become available.
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.
--
Anything you read here is my opinion and in no way represents the Univ. of Cal.
Jon Forrest WB6EDM forrest@cs.berkeley.edu 510-643-6764
377 Soda Hall, Univ. of Cal., Berkeley, CA. 94720-1776
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem With Lockd (OSF 2.1)
1994-09-26 19:47 Problem With Lockd (OSF 2.1) Jon Forrest
@ 1994-09-30 18:54 ` Eric Werme
0 siblings, 0 replies; 2+ messages in thread
From: Eric Werme @ 1994-09-30 18:54 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-09-30 18:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-09-26 19:47 Problem With Lockd (OSF 2.1) Jon Forrest
1994-09-30 18:54 ` Eric Werme
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox