1748085 Members
5200 Online
108758 Solutions
New Discussion юеВ

HP-UX 11.31

 
SOLVED
Go to solution
HP-UX 11.31
Occasional Advisor

HP-UX 11.31

Hi,

We have HP-UX 11.31 itanium servers (rx6600 and rx2660).
How can I check if server reboots/shutdown due to power failure?

Thanks,
Ranjeet
14 REPLIES 14
Torsten.
Acclaimed Contributor

Re: HP-UX 11.31

Check the shutdown logfile in /etc and compare with "uptime".

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Suraj K Sankari
Honored Contributor

Re: HP-UX 11.31

hi,

Check /etc/shutdownlog and /var/adm/syslog/syslog.log

Suraj
Sharma Sanjeev
Respected Contributor

Re: HP-UX 11.31

Hi

Check /etc/shutdownlog or /var/adm/syslog/syslog.log or /etc/rc.log old

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
Johnson Punniyalingam
Honored Contributor

Re: HP-UX 11.31

Hi ,

You can check

# last |grep reboot
# uptime
# more /etc/shutdownlog

Check the Syslog,

cat /var/adm/syslog/syslog.log

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Sajjad Sahir
Honored Contributor

Re: HP-UX 11.31



Dear Ranjeet

uptime is the command, if u want to see why it is see the log files.

cd /var/adm/syslog

tail -10 syslog.log

thanks and regards

Sajjad Sahir
Dennis Handly
Acclaimed Contributor

Re: HP-UX 11.31

If you don't have an UPS to perform a graceful shutdown, you won't find an entry in /etc/shutdownlog.
As others mentioned, you can look at uptime, last or /etc/rc.log.
Gokul Chandola
Trusted Contributor
Solution

Re: HP-UX 11.31

Hi,
Check /etc/shutdownlog or /var/adm/syslog/syslog.log
and /var/adm/syslog/OLDsyslog.log

You will find there "REBOOT" like following..

$ cat OLDsyslog.log
Mar 15 22:03:43 HOSTNAME syslogd: restart
Mar 15 22:03:43 HOSTNAME vmunix: Found adjacent data tr. Growing size. 0x33de000
-> 0x73de000.
Mar 15 22:03:43 HOSTNAME vmunix: Pinned PDK malloc pool: base: 0xe000000100c22000
size=118648K
Mar 15 22:03:43 HOSTNAME vmunix: Loaded ACPI revision 2.0 tables.
Mar 15 22:03:43 HOSTNAME vmunix: MMIO on this platform supports Write Coalescing.

Regards,
Gokul Chandola
There is always some scope for improvment.
Sunny Jaisinghani
Trusted Contributor

Re: HP-UX 11.31

Check event logs under /var/opt/resmon/log for power supply related alerts.

You may also have a look at console logs
Torsten.
Acclaimed Contributor

Re: HP-UX 11.31

You can also check if there are related MP logs.

If you have UPS software installed, you should find related messages in

/var/adm/syslog/OLDsyslog.log

Without a UPS, the server will just go off without any messages. You will only find information about the last boot then.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!