On restarting of the robot or cdm probe , reboot alarm is getting triggered for the server from cdm probe.We are gettting lot of fake alarms .
Boot time is read from the utmp structure gathered from the getutent() system call, and uptime is calculated based on the formula uptime = now – boot_time.
i.e the cdm probe on Solaris calls getutxent()and reads database entry but unable to find BOOT_TIME in it.This needs to be checked from the Solaris server end .
Here are some suggestions by Oracle Solaris support to check on Solaris setup
1.Run the /usr/bin/uptime command. In normal state the output comes like this
<Please see attached file for image>
src="/servlet/servlet.FileDownload?file=0150c000004AKA3AAO" alt="uptime.png" width="925" height="90">If the output is not coming in same manner as above then there is Solaris provided utility /usr/lib/acct/fwtmp to translate the datafile utmp with entries of struct utmp {} to ASCII text.
On healthy system, we can see a 'system boot' entry with ut_type '2'. Hence, uptime is displayed correctly.
2./usr/lib/acct/fwtmp < /var/adm/utmpx
<Please see attached file for image>
src="/servlet/servlet.FileDownload?file=0150c000004AKA1AAO" alt="boot_entry.png" width="1339" height="277">To resolve such kind of issue there are two options :
Option 1 :
In order to fix a wrong uptime in command /usr/bin/uptime or /usr/bin/w you need to
In case the issue is still not solved after reboot, copy /var/adm/utmpx to a backup location and zero out the /var/adm/utmpx ( corruption might have taken place on /var/adm/utmpx file )
Reboot again and check correct function
cp -p /var/adm/utmpx /var/adm/utmpx.orig
cat /dev/null > /var/adm/utmpx
init 6
Option 2:
<Please see attached file for image>