From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078724211947.tru64-unix-managers.marc@archive.invalid> From: Alan Angulo Date: Mon, 19 Oct 1998 17:37:04 +0000 To: tru64-unix-managers Subject: SUMMARY: locked inbox? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078724211947 Thanks to: Sheila Hollenbaugh Richard L Jackson Jr Serguei Patchkovskii Vic Abell Andreas Schuenemann ORIGINAL QUESTION: ================== > Recently I've been getting error messages with the following fomat: > ------------------------------------------------------------------------ > Oct 9 12:00:56 spots binmail[13400]: cannot lockf > /usr/spool/mail/kas2434 > Oct 9 12:01:54 spots binmail[27218]: cannot lockf > /usr/spool/mail/kas2434 > Oct 9 12:02:54 spots binmail[14951]: cannot lockf > /usr/spool/mail/kas2434 > > o- lsof does not show any files opened with this name or by the user. > o- The inbox is empty. > o- No locks in /tmp. > o- Deleting the inbox solves the problem. ANSWERS: ======== TEMPORARY SOLUTION ------------------- cp (don't mv) inbox, rm imbox, cp inbox back (The purpose is to remove the inode) DEFINITE SOLUTION: (Thanks to: Richard L Jackson Jr) ----------------------------------------------------------- Run nfssetup to enable rpc.statd and rpc.lockd Make sure that NFSLOCKING=1 is set in /etc/rc.config TOOLS: ------ User lslk to find out what locks are in efect. vic.cc.purdue.edu:pub/tools/unix/lslk ftp://vic.cc.purdue.edu/pub/tools/unix/lslk -- Alan .----------------------------------.------------------------------. | E-mail: alan@esu.edu | Network Administrator | | WWW: http://www.esu.edu/~alan | Academic Computing | | Tel: (717) 422-3783 | East Stroudsburg University | `----------------------------------`------------------------------'