From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075319906681.tru64-unix-managers.marc@archive.invalid> From: Jay Wasserman Date: Wed, 24 May 1995 13:58:45 +0000 To: tru64-unix-managers Subject: SUMMARY:NSF lockf & mail problem over 0SF and Ultrix X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075319906681 I've included at the bottom the two responses that solved my problems........ I also had a fair amount of people telling me either: a) Ultrix 4.2a is old, upgrade (yeah, i know...i will, AFTER i swap the servers) b) rpc.lockd is hosed in OSF1v3.[02] and should be patched... But the below mentioned rpc.lockd problem is what i needed. Thanks to: >From hl@tekla.fi Wed May 24 01:49:55 1995 >From small@gidday.enet.dec.com Tue May 23 22:26:42 1995 >From gwb@umd5.umd.edu Tue May 23 20:51:09 1995 >From j.studnicka@ic.ac.uk Tue May 23 15:33:45 1995 >From SYSTEM_SF@unode2.nswc.navy.mil Tue May 23 14:39:55 1995 >From rockwell@rch.dec.com Tue May 23 15:46:03 1995 On Tue, 23 May 95 13:22:00 -0400 jrw@vlsi.bu.edu wrote: > Now when ever I try either Mail or elm, it returns an error > cannot lockf /usr/spool/mail/jrw. > I tried to turn off NSF locking, (which sounds like a bad idea > to me) but the mail programs won't work without locks..... You are right. It is a *bad* idea to turn off NFS locking. > > Is there anyway to fix this? Will this go away when I swap > the server to an OSF machine in a few months? Is NFS locking configured on both the mail client and the mail server? If not, make it so. If so, try the following: log in as root, and issue the following command: # rcmgr set MAILLOCKING 5 Then reboot your system. This sets an entry in /etc/rc.config that will allow both lockfile and lockf locking of a mail spool file. Out of ideas if that doesn't work... - Paul -------- +---------------------------+tm Paul E. Rockwell | | | | | | | | UNIX Sales Support Consultant | d | i | g | i | t | a | l | Digital Equipment Corporation | | | | | | | | 500 Enterprise Drive +---------------------------+ Rocky Hill, CT 06067 Internet: rockwell@rch.dec.com Phone: (203)258-5022 >From bgk1142@bggfu2.nho.hydro.com Wed May 24 01:50:42 1995 Regards, The OSF (Digital Unix) machine probably don't run rpc.lockd and thus cannot lock the mailfile on the NFS area. You can alter the way mail should handle locking. Have a look at the manpages for mail_manual_setup. You could decide what locking scheme tou use by doing a 'rcmgr set MAILLOCKING #' where # is one of the parameters described in the forementioned manpage. GOOD LUCK :-) -- ****************************************************************** * Knut Helleboe | DAMN GOOD COFFEE !! * * Norsk Hydro a.s | (and hot too) * * Phone: +47 55 996870, Fax: +47 55 996342 | * * Pager: +47 96 500718 | * * E-mail: Knut.Hellebo@nho.hydro.com | Dale Cooper, FBI * ******************************************************************