Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* cannot lockf /usr/spool/mail/peter
@ 1998-06-17  4:00 Peter Tsang
  1998-06-17  4:00 ` Jeffrey J. Potoff
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Peter Tsang @ 1998-06-17  4:00 UTC (permalink / raw)




We are using NFS to share the /usr/spool/mail. Whenever we
read mail from client machines. It keeps complain

cannot lockf /usr/spool/mail/peter

Could anyone give me ideas what does this error message mean?

Regards,

Peter




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: cannot lockf /usr/spool/mail/peter
  1998-06-17  4:00 cannot lockf /usr/spool/mail/peter Peter Tsang
  1998-06-17  4:00 ` Jeffrey J. Potoff
@ 1998-06-17  4:00 ` Erik Braun
  1998-06-18  4:00 ` Eric Werme - replace nospam with werme
  2 siblings, 0 replies; 4+ messages in thread
From: Erik Braun @ 1998-06-17  4:00 UTC (permalink / raw)



On 17 Jun 1998 07:19:33 GMT, Peter Tsang <peter.hh.tsang@hkjc.org.hk> wrote:

>cannot lockf /usr/spool/mail/peter
>
>Could anyone give me ideas what does this error message mean?

maybe there is already a file '/usr/spool/mail/peter.lock'?

If so, the delete this file and try again. If you still have the same
problem, then this could help:

cd /usr/spool/mail
mv peter peter.bak
mail peter
bla
.
cat peter.bak >>peter
rm peter.bak


good luck,
erik
-- 
erik@minet.uni-jena.de



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: cannot lockf /usr/spool/mail/peter
  1998-06-17  4:00 cannot lockf /usr/spool/mail/peter Peter Tsang
@ 1998-06-17  4:00 ` Jeffrey J. Potoff
  1998-06-17  4:00 ` Erik Braun
  1998-06-18  4:00 ` Eric Werme - replace nospam with werme
  2 siblings, 0 replies; 4+ messages in thread
From: Jeffrey J. Potoff @ 1998-06-17  4:00 UTC (permalink / raw)



Peter Tsang wrote:
> 
> We are using NFS to share the /usr/spool/mail. Whenever we
> read mail from client machines. It keeps complain
> 
> cannot lockf /usr/spool/mail/peter
> 
> Could anyone give me ideas what does this error message mean?
> 
Do you have the rpc locking set up ?

Jeff



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: cannot lockf /usr/spool/mail/peter
  1998-06-17  4:00 cannot lockf /usr/spool/mail/peter Peter Tsang
  1998-06-17  4:00 ` Jeffrey J. Potoff
  1998-06-17  4:00 ` Erik Braun
@ 1998-06-18  4:00 ` Eric Werme - replace nospam with werme
  2 siblings, 0 replies; 4+ messages in thread
From: Eric Werme - replace nospam with werme @ 1998-06-18  4:00 UTC (permalink / raw)



"Peter Tsang" <peter.hh.tsang@hkjc.org.hk> writes:

>We are using NFS to share the /usr/spool/mail. Whenever we
>read mail from client machines. It keeps complain

>cannot lockf /usr/spool/mail/peter

You need to be running rpc.statd and rpc.lockd on both client and
server.  (Use nfsconfig or nfssetup to enable them.)

If they are already running, then confusion tends to be due to using
hostnames that are not IP addresses or having different IP addresses
in the /etc/hosts file on the client and server.
--
<>    Eric (Ric) Werme     <> The above is unlikely to contain   <>
<>    ROT-13 addresses:    <> official claims or policies of     <>
<>   <jrezr@mx3.qrp.pbz>   <> Compaq Computer Corp.              <>
<> <jrezr@plorecbegny.arg> <>  http://www.cyberportal.net/werme  <>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-06-18  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-17  4:00 cannot lockf /usr/spool/mail/peter Peter Tsang
1998-06-17  4:00 ` Jeffrey J. Potoff
1998-06-17  4:00 ` Erik Braun
1998-06-18  4:00 ` Eric Werme - replace nospam with werme

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