SUMMARY: locked inbox?

From: Alan Angulo <alan_at_esu.edu>
Date: Mon, 19 Oct 1998 13:37:04 -0400 (EDT)

Thanks to:

Sheila Hollenbaugh <shollen_at_cs.wright.edu>
Richard L Jackson Jr <rjackson_at_portal.gmu.edu>
Serguei Patchkovskii <patchkov_at_ucalgary.ca>
Vic Abell <abe_at_purdue.edu>
Andreas Schuenemann <schenem_at_rz5.rz.fh-wilhelmshaven.de>

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_at_esu.edu | Network Administrator |
| WWW: http://www.esu.edu/~alan | Academic Computing |
| Tel: (717) 422-3783 | East Stroudsburg University |
`----------------------------------`------------------------------'
Received on Mon Oct 19 1998 - 17:38:05 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT