- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Rotating audit logs
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
Forums
Discussions
Discussions
Discussions
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
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
07-02-2007 03:35 AM
07-02-2007 03:35 AM
rather than size?
If auditd cannot do this, is it possible to turn off log rotating and let
the logrotate daemon do it?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2007 03:42 AM
07-02-2007 03:42 AM
SolutionLogrotate can contain custom code to shut a daemon down to permit rotation.
Take a look at the configuration of the httpd log rotate daemon.
Or you can do a custom script to do the same thing.
Your choice.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2007 01:05 PM
07-02-2007 01:05 PM
Re: Rotating audit logs
It makes system hang if the /var file system reaches 80% usage which is controled by the default settings.No other way other than reboot as it stops accepting any system calls. "man audit" for more details.
Also it makes lot of files of /var/log/audit.d as bin.? and roll them to save.? as it grows up.The save files grows like save.1 and sav.2 etc..
Never do any operation(rm/mv)on recent files(bin.?) and which too cause the server hangs. Be carefull if the file system is near to 80% and you may be at a potential risk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2007 01:07 PM
07-02-2007 01:07 PM
Re: Rotating audit logs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2007 09:36 PM
07-02-2007 09:36 PM
Re: Rotating audit logs
The system was not prompting me for a password. I decided to reboot the system. After rebooting the system I noticed the /var filesystem was 100% full. I looked around and found lots of save.? files in /var/log/audit.d. I deleted all save.? files and now /var is 17% full. I left the bin.? as they are.
You were right the system was hanging because /var 100% full.
Is there a way to rotate the save.? files based on age so that they /var filesystem does not become full and cause the system to hang?
If I turn off audit service will this present any problems in terms of securuty events and system alert.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2007 10:05 AM
07-03-2007 10:05 AM
Re: Rotating audit logs
This should notc cause any problem to other security events or monitoring.We have already implemented this