- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: <usrname>.lock file in /var/mail is not being ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2004 03:13 AM
тАО06-10-2004 03:13 AM
<usrname>.lock file in /var/mail is not being removed
----- The following addresses had permanent fatal errors -----
----- Transcript of session follows -----
/var/mail/paradigm.lock: File exists
mail: /var/mail/paradigm.lock not creatable after 100 tries
550
I've deleted the paradigm.lock file in /var/mail, but it just comes back the next time email is received for that user. I've also sent mail to myself on barney (the server), and that works well.
The problem appears to be that the .lock file is not being removed, but I don't know how to fix the problem. Any suggestions would be greatly appreciated.
Thanks...
- Chuck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2004 03:18 AM
тАО06-10-2004 03:18 AM
Re: <usrname>.lock file in /var/mail is not being removed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2004 03:20 AM
тАО06-10-2004 03:20 AM
Re: <usrname>.lock file in /var/mail is not being removed
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2004 03:20 AM
тАО06-10-2004 03:20 AM
Re: <usrname>.lock file in /var/mail is not being removed
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=138668
it may help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2004 03:25 AM
тАО06-10-2004 03:25 AM
Re: <usrname>.lock file in /var/mail is not being removed
Pls cerify that "SENDMAIL_SERVER=1" into /etc/rc.config.d/mailservs file.
Then execute:
#/sbin/init.d/sendmail stop
#/sbin/init.d/sendmail start
This procedure guarantees the availabilty of your server to receive incoming messages
Pls try it.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2004 03:26 AM
тАО06-10-2004 03:26 AM
Re: <usrname>.lock file in /var/mail is not being removed
drwxrwxr-x 2 bin mail 1024 Jan 27 16:07 mail
and user should have
-rw-rw---- 1 paradigm mail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2004 04:24 AM
тАО06-10-2004 04:24 AM
Re: <usrname>.lock file in /var/mail is not being removed
I don't think permissions are a problem. Here is what my /var/mail directory looks like:
barney:/var/mail# ls -la
total 78
drwxrwxr-x 2 bin mail 1024 Jun 10 09:49 .
dr-xr-xr-x 28 bin bin 2048 Sep 26 2003 ..
-rw-rw---- 1 adm mail 28148 Jun 9 23:20 adm
---------- 1 daemon mail 0 Jun 9 16:09 paradigm.lock
Ken: I checked the thread you sent, but it doesn't seem to apply since the lock is being created in /var/mail rather than /usr/bin/mail. Thanks anyway.
Jose: My /etc/rc.config.d/mailservs files is set correctly. I've stopped and restarted sendmail as you suggested. I'm running some tests now to see if the problem is still there.
Thanks...
- Chuck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2004 04:52 AM
тАО06-10-2004 04:52 AM
Re: <usrname>.lock file in /var/mail is not being removed
It looks like I still have the problem. After stopping and restarting sendmail, I deleted the paradigm.lock file and tried to send a message to paradigm@barney.byu.edu. The following is what showed up in /var/adm/syslog/mail.log:
Jun 10 10:48:31 barney sendmail[22403]: KAA22403: from=
Jun 10 10:48:31 barney sendmail[22404]: KAA22403: SYSERR(root): mailer local died with signal 11
Jun 10 10:48:31 barney sendmail[22404]: KAA22403: to=
Any further suggestions?
Thanks...
- Chuck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2004 05:00 AM
тАО06-10-2004 05:00 AM
Re: <usrname>.lock file in /var/mail is not being removed
Try setting the /var/mail directory permissions to 775 (bin:mail) and see if it helps.
Hope it does.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2004 07:24 AM
тАО06-10-2004 07:24 AM
Re: <usrname>.lock file in /var/mail is not being removed
The directory permissions for /var/mail are already set to 775.
Thanks anyway...
- Chuck