Audit file has 0% free space left ! Unable to Login through root and also unable to login through console.
There is at time when login into the HP-UX system is the problem. We get the problem statement something like:
Error Flashed: Current audit file size is 613959 kilobytes!!! an attempt to switch to the backup file failed.
Must specify a backup file now ! audit file has 0% free space left !
Solution:
Step -1 Login HP-UX in single user mode.
1. shutdown -r 0
2. hit during 10 sec window to interrupt reboot
3. enter:
4. interact with ipl? yes
5. hpux -is (i=init, s=single user)
Step -2 Mount the all files system in single usermode
#mountall
Step -3 Check the root file system.
# bdf /
Step -4 Audit data written into a logfile in your root filesystem (usually into /.secure/etc)
Go to ./secure/etc Directory
# cd ./secure/etc
Step -5 Delete the audfile1 and audfile2
# cd ./secure/etc
# rm –rf audfile1
# rm –rf audfile2
Step -6 Reboot the server and boot in normal mode.
Thats it .........
No comments:
Post a Comment