From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ad62a5377a34361 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-09-30 15:35:33 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!spool.mu.edu!sgiblab!sgigate.sgi.com!olivea!decwrl!pa.dec.com!nntpd.lkg.dec.com!alingo.zk3.dec.com!werme From: werme@alingo.zk3.dec.com (Eric Werme) Newsgroups: comp.unix.osf.osf1 Subject: Re: Problem With Lockd (OSF 2.1) Date: 30 Sep 94 18:54:28 GMT Organization: Digital Equipment Corporation Message-ID: References: <3678g0$drh@agate.berkeley.edu> Reply-To: werme@zk3.dec.com NNTP-Posting-Host: alingo.zk3.dec.com 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.