- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: removin mail locks without root access
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
тАО12-22-2010 12:19 PM
тАО12-22-2010 12:19 PM
removin mail locks without root access
mailx
Lock file exists!! Waiting ..........
mailx: can't lock /var/mail/ecert file after 10 tries
Please try to read your mail again in a few minutes
---------- 1 ecert mail 0 Dec 20 10:18 ecert.lock
The lock has been thre 2 days and now mail in the q for the user ecert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2010 12:36 PM
тАО12-22-2010 12:36 PM
Re: removin mail locks without root access
Login as the 'ecert' user and look for mail client processes like 'elm' and do a simple kill.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2010 12:36 PM
тАО12-22-2010 12:36 PM
Re: removin mail locks without root access
You basically can't. Where is your sysadmin?
What are the permissions for:
ll -d /var/mail
You might be able to do this if you are in the group "mail".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2010 12:41 PM
тАО12-22-2010 12:41 PM
Re: removin mail locks without root access
as to sys admin person - have been waiting 1 day for them to action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2010 12:46 PM
тАО12-22-2010 12:46 PM
Re: removin mail locks without root access
drwxrwxr-x 2 bin mail 8192 Dec 23 09:21 /var/mail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2010 01:08 PM
тАО12-22-2010 01:08 PM
Re: removin mail locks without root access
So only bin, group mail or root can remove the lock.
ecert could try looking at his mail by:
mailx -f /var/mail/ecert
But I wouldn't try modifying anything. I.e. exit with "x".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2010 05:47 PM
тАО12-22-2010 05:47 PM
Re: removin mail locks without root access
problem now mail is queing for user mailq shows this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2010 08:06 PM
тАО12-22-2010 08:06 PM
Re: removin mail locks without root access
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2010 08:14 PM
тАО12-22-2010 08:14 PM
Re: removin mail locks without root access
And these require root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2010 01:00 PM
тАО12-23-2010 01:00 PM
Re: removin mail locks without root access
Our Unix admin is outsourced