Operating System - HP-UX
1833926 Members
3103 Online
110063 Solutions
New Discussion

Re: audit file corruption

 
SOLVED
Go to solution
pedliz11
Frequent Advisor

audit file corruption

i am getting this message on console:
audit system corruption: could not open/read
audit control file - /.secure/etc/audnames !
No such file or directory

how to i fix this? any ideas?
2 REPLIES 2
whiteknight
Honored Contributor
Solution

Re: audit file corruption

Hi,

1) #audsys
2) #cd .secure/etc
3) #touch audfile1 audfile2
4) #audsys -n -c audfile3 -s 1039 -x audfile4 -z 1039
warning: /.secure/etc/audnames does not exist
created/repaired /.secure/etc/audnames

5) # audsys
auditing system is currently on
current file: /.secure/etc/audfile3
next file: /.secure/etc/audfile4

statistics- afs Kb used Kb avail % fs Kb used Kb avail %
current file: 1039 0 100 204800 201218 2
next file: 1039 0 100 204800 201218 2


Hope this help.

WK
Problem never ends, you must know how to fix it
pedliz11
Frequent Advisor

Re: audit file corruption

it worked thanks