욕심쟁이 공부방/AIX

uptime이 비정상적으로 큰 경우

크론탭 2018. 11. 29. 16:06
반응형

uptime이 비정상적으로 큰 경우

 

Problem: uptime greater than 8000 days

If record number 0 is overwritten by anyone (normally a third party program), the uptime shows up as greater than 8000 days.

Both types of corruption have many causes because both AIX commands and third party applications write to the utmp file.


Solution to fix:

1) remove /etc/utmp and null out /var/adm/wtmp
2) and reboot

To correct the invalid boot time you must reboot the system.
The utmp file is recreated with each boot.

반응형