HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Audit File Size Error
Operating System - HP-UX
1833780
Members
2289
Online
110063
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
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
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
02-08-2005 03:58 AM
02-08-2005 03:58 AM
Audit File Size Error
I am getting the message...
"current audit file size is xxxxx kilobytes.
An attempt to switch to the backup file failed.
Must specify a backup file now!" ...
about every 30 seconds on my HP-UX server. Can someone please tell me where to go to change the audit files? I am a new UNIX user and I have not seen this error message before.
"current audit file size is xxxxx kilobytes.
An attempt to switch to the backup file failed.
Must specify a backup file now!" ...
about every 30 seconds on my HP-UX server. Can someone please tell me where to go to change the audit files? I am a new UNIX user and I have not seen this error message before.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2005 04:13 AM
02-08-2005 04:13 AM
Re: Audit File Size Error
check the file system where you store the audit file. Also look at the kernel tunables acctresume and acctsuspend which control the sizes when accounting will stop and resume.
Anil
Anil
There is no substitute to HARDWORK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2005 05:53 AM
02-08-2005 05:53 AM
Re: Audit File Size Error
Mark,
Perhaps you do not have a 'next' audit file to switch to. Run the following to check your current settings:
# audsys
auditing system is currently on
current file: /var/adm/logs/audit/audfile1
next file: none
...
If there is no 'next file' then the system cannot switch it. Do something like the following to set it up if this is the case:
# audsys -f
# mv /var/adm/logs/audit/aud* /var/adm/backups
# audsys -n -c /var/adm/logs/audit/audfile1 -s 10240 -x /var/adm/logs/audit/audfile2 -z 10240
Check the man page for audsys for details. Also, once it switches to audfile2 you no longer have a 'next file'. It is best to write a script to automate the log maintenance.
David
Perhaps you do not have a 'next' audit file to switch to. Run the following to check your current settings:
# audsys
auditing system is currently on
current file: /var/adm/logs/audit/audfile1
next file: none
...
If there is no 'next file' then the system cannot switch it. Do something like the following to set it up if this is the case:
# audsys -f
# mv /var/adm/logs/audit/aud* /var/adm/backups
# audsys -n -c /var/adm/logs/audit/audfile1 -s 10240 -x /var/adm/logs/audit/audfile2 -z 10240
Check the man page for audsys for details. Also, once it switches to audfile2 you no longer have a 'next file'. It is best to write a script to automate the log maintenance.
David
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP