- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Removed mail.log
Operating System - HP-UX
1824976
Members
3857
Online
109678
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО05-28-2008 08:28 AM
тАО05-28-2008 08:28 AM
Removed mail.log
Hi everyone
I made the stupid mistake of removing mail.log logfile with sendmail and syslogd running. The result was that the space was not released. I've tried to fix it by restarting these deamons but I still have /var at 100%.
Does any of you iluminated ones can please tell me how to get the space back without a reboot?
Thanks,
R
I made the stupid mistake of removing mail.log logfile with sendmail and syslogd running. The result was that the space was not released. I've tried to fix it by restarting these deamons but I still have /var at 100%.
Does any of you iluminated ones can please tell me how to get the space back without a reboot?
Thanks,
R
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2008 08:38 AM
тАО05-28-2008 08:38 AM
Re: Removed mail.log
Dear friend
u can trim all log files
by usin >/var/adm/syslog/sylog.log
like this way u can trim log files in a regular way inorder to make space in var
second thing u have to find out files consuming more space
du -sk /var/* which will tell u which gives u grant total of each directory in kilobytes and unnessary files u can remove it
ok
thanks and regards
Sajjad
u can trim all log files
by usin >/var/adm/syslog/sylog.log
like this way u can trim log files in a regular way inorder to make space in var
second thing u have to find out files consuming more space
du -sk /var/* which will tell u which gives u grant total of each directory in kilobytes and unnessary files u can remove it
ok
thanks and regards
Sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2008 08:41 AM
тАО05-28-2008 08:41 AM
Re: Removed mail.log
Hi
I actually know all those things...so I made a big mistake, try to see it once my way
...I feel like poor Alice in chains :-)
But now I need to fix it...WOULD...you know how.
Thanks anyway.
Regards,
R
I actually know all those things...so I made a big mistake, try to see it once my way
...I feel like poor Alice in chains :-)
But now I need to fix it...WOULD...you know how.
Thanks anyway.
Regards,
R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2008 08:48 AM
тАО05-28-2008 08:48 AM
Re: Removed mail.log
>can please tell me how to get the space back without a reboot?
You can only get the space back if you stop those processes. You may have to use lsof to find them.
If it is mail.log, restarting the demons should have done it.
How big were these logs? Have you looked elsewhere for other large files? Any crash dumps in /var/adm/crash?
You can only get the space back if you stop those processes. You may have to use lsof to find them.
If it is mail.log, restarting the demons should have done it.
How big were these logs? Have you looked elsewhere for other large files? Any crash dumps in /var/adm/crash?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP