- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- find out what time server reboot
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2006 04:48 PM
тАО12-20-2006 04:48 PM
find out what time server reboot
In which log I can find out what time my server was reboot. I know that uptime can show the uptime but is there anyway I can find the exact time entry in the log somewhere
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2006 05:00 PM
тАО12-20-2006 05:00 PM
Re: find out what time server reboot
/etc/shutdownlog file. or
use
#who -b
it gives the last booting time.
Cheers,
Ranjith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2006 05:07 PM
тАО12-20-2006 05:07 PM
Re: find out what time server reboot
Dec 18 18:21:50 myserver EMS [1895]: ------ EMS Event Notification ------ Value: "SERIOUS (4)" for Resource: "/storage/events/disks/default/0_10_0_0.10.19.0.0.0.0" (Threshold: >= " 3") Execute the following command to obtain event details: /opt/resmon/bin/resdata -R 124190794 -r /storage/events/disks/default/0_10_0_0.10.19.0.0.0.0 -n 124190747 -a
Dec 18 18:21:51 myserver EMS [1895]: ------ EMS Event Notification ------ Value: "SERIOUS (4)" for Resource: "/storage/events/disks/default/0_10_0_0.10.19.0.0.0.1" (Threshold: >= " 3") Execute the following command to obtain event details: /opt/resmon/bin/resdata -R 124190798 -r /storage/events/disks/default/0_10_0_0.10.19.0.0.0.1 -n 124190748 -a
Dec 18 18:21:51 myserver EMS [1895]: ------ EMS Event Notification ------ Value: "SERIOUS (4)" for Resource: "/storage/events/disks/default/0_10_0_0.10.19.0.0.0.2" (Threshold: >= " 3") Execute the following command to obtain event details: /opt/resmon/bin/resdata -R 124190802 -r /storage/events/disks/default/0_10_0_0.10.19.0.0.0.2 -n 124190749 -a
Dec 18 18:21:51 myserver EMS [1895]: ------ EMS Event Notification ------ Value: "SERIOUS (4)" for Resource: "/storage/events/disks/default/0_10_0_0.10.19.0.0.0.3" (Threshold: >= " 3") Execute the following command to obtain event details: /opt/resmon/bin/resdata -R 124190806 -r /storage/events/disks/default/0_10_0_0.10.19.0.0.0.3 -n 124190750 -a
Dec 18 18:21:52 myserver EMS [1895]: ------ EMS Event Notification ------ Value: "SERIOUS (4)" for Resource: "/storage/events/disks/default/0_10_0_0.10.19.0.0.0.4" (Threshold: >= " 3") Execute the following command to obtain event details: /opt/resmon/bin/resdata -R 124190810 -r /storage/events/disks/default/0_10_0_0.10.19.0.0.0.4 -n 124190751 -a
Dec 18 18:21:52 myserver EMS [1895]: ------ EMS Event Notification ------ Value: "SERIOUS (4)" for Resource: "/storage/events/disks/default/0_10_0_0.10.19.0.0.0.5" (Threshold: >= " 3") Execute the following command to obtain event details: /opt/resmon/bin/resdata -R 124190814 -r /storage/events/disks/default/0_10_0_0.10.19.0.0.0.5 -n 124190752 -a
Dec 18 18:21:52 myserver EMS [1895]: ------ EMS Event Notification ------ Value: "SERIOUS (4)" for Resource: "/storage/events/disks/default/0_10_0_0.10.19.0.0.0.6" (Threshold: >= " 3") Execute the following command to obtain event details: /opt/resmon/bin/resdata -R 124190818 -r /storage/events/disks/default/0_10_0_0.10.19.0.0.0.6 -n 124190753 -a
Dec 18 18:21:53 myserver EMS [1895]: ------ EMS Event Notification ------ Value: "SERIOUS (4)" for Resource: "/storage/events/disks/default/0_10_0_0.10.19.0.0.0.7" (Threshold: >= " 3") Execute the following command to obtain event details: /opt/resmon/bin/resdata -R 124190822 -r /storage/events/disks/default/0_10_0_0.10.19.0.0.0.7 -n 124190754 -a
Dec 18 18:21:53 myserver EMS [1895]: ------ EMS Event Notification ------ Value: "SERIOUS (4)" for Resource: "/storage/events/disks/default/0_10_0_0.10.19.0.0.1.0" (Threshold: >= " 3") Execute the following command to obtain event details: /opt/resmon/bin/resdata -R 124190826 -r /storage/events/disks/default/0_10_0_0.10.19.0.0.1.0 -n 124190755 -a
Dec 18 18:21:53 myserver EMS [1895]: ------ EMS Event Notification ------ Value: "SERIOUS (4)" for Resource: "/storage/events/disks/default/0_10_0_0.10.19.0.0.1.1" (Threshold: >= " 3") Execute the following command to obtain event details: /opt/resmon/bin/resdata -R 124190830 -r /storage/events/disks/default/0_10_0_0.10.19.0.0.1.1 -n 124190756 -a
Dec 18 18:21:54 myserver EMS [1895]: ------ EMS Event Notification ------ Value: "SERIOUS (4)" for Resource: "/storage/events/disks/default/0_10_0_0.10.19.0.0.1.2" (Threshold: >= " 3") Execute the following command to obtain event details: /opt/resmon/bin/resdata -R 124190834 -r /storage/events/disks/default/0_10_0_0.10.19.0.0.1.2 -n 124190757 -a
Dec 18 18:21:54 myserver EMS [1895]: ------ EMS Event Notification ------ Value: "SERIOUS (4)" for Resource: "/storage/events/disks/default/0_10_0_0.10.19.0.0.1.3" (Threshold: >= " 3") Execute the following command to obtain event details: /opt/resmon/bin/resdata -R 124190838 -r /storage/events/disks/default/0_10_0_0.10.19.0.0.1.3 -n 124190758 -a
Dec 18 18:21:54 myserver EMS [1895]: ------ EMS Event Notification ------ Value: "SERIOUS (4)" for Resource: "/storage/events/disks/default/0_10_0_0.10.19.0.0.1.4" (Threshold: >= " 3") Execute the following command to obtain event details: /opt/resmon/bin/resdata -R 124190842 -r /storage/events/disks/default/0_10_0_0.10.19.0.0.1.4 -n 124190759 -a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2006 05:47 PM
тАО12-20-2006 05:47 PM
Re: find out what time server reboot
It looks like a disk array failed?. con you confirm, did the server reboot correctly ?. Run an ioscan to see if this disk are in NO_HW state.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2006 05:55 PM
тАО12-20-2006 05:55 PM
Re: find out what time server reboot
Execute
#/opt/resmon/bin/resdata -R 124190842 -r /storage/events/disks/default/0_10_0_0.10.19.0.0.1.4 -n 124190759 -a
it seems to be some disk problem.
Does ioscan -fn shows no_hw.?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2006 07:06 PM
тАО12-20-2006 07:06 PM
Re: find out what time server reboot
If it's not a planned shutdown look in the /var/adm/crash.
grtz. Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2006 07:10 PM
тАО12-20-2006 07:10 PM
Re: find out what time server reboot
/etc/shutdownlog
will show when the server was shut down, but for crashes there will be no time-stamps.
So it depends on how your server shut down.
For further logs, you could check:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1047077
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2006 09:27 PM
тАО12-20-2006 09:27 PM
Re: find out what time server reboot
first of all verify that there is no hardware failures.
You may consult the root mail account on the server itself for more information generated by the EMS.
THE GSP log will also give you some more information.
please check.
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2006 10:03 PM
тАО12-20-2006 10:03 PM
Re: find out what time server reboot
syslog contains entry after server was rebooted and If you want to find out last time when server was rebooted, have a look on OLDsyslog.log.....
So I can assure that server has not rebooted after the error messages in syslog.log been logged....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2006 10:05 PM
тАО12-20-2006 10:05 PM
Re: find out what time server reboot
This will have more detailed description of these events so we can investigate further...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2006 10:10 PM
тАО12-20-2006 10:10 PM
Re: find out what time server reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2006 03:04 AM
тАО12-21-2006 03:04 AM
Re: find out what time server reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2006 03:22 AM
тАО12-21-2006 03:22 AM
Re: find out what time server reboot
this will also show you all instances of reboots. One entry for the pseudo user reboot is added to the wtmp file every time a server is rebooted, so you will be able to see if you've had multiple reboots for example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-21-2006 09:00 PM
тАО12-21-2006 09:00 PM
Re: find out what time server reboot
/etc/shutdownlog
HTH,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2006 12:46 AM
тАО12-22-2006 12:46 AM
Re: find out what time server reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2006 01:45 AM
тАО12-22-2006 01:45 AM
Re: find out what time server reboot
i just found out that the who -b and who -r is not the one to be believed when they are used alone , may be u can use them together with uptime to know that.
This is the o/p from my machine and obviuosly it shows dec 20 but it is not showing me the year ...
root@test:/ -: who -b
. system boot Dec 20 12:29
root@test:/ -: uptime
2:37pm up 367 days, 2:08, 2 users, load average: 0.22, 0.18, 0.21
root@test:/ -: who -r
. run-level 3 Dec 20 12:29 3 0 S
Thanks,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2006 01:48 AM
тАО12-22-2006 01:48 AM
Re: find out what time server reboot
They are not reporting the year.
The best option should be cat /etc/shutdownlog
or use the above commands lat reboot or who -b or who -r , whatever it is together with uptime to know the exact boot time
Thanks,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2006 02:13 AM
тАО12-22-2006 02:13 AM
Re: find out what time server reboot
last |grep reboot
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2006 07:39 AM
тАО12-22-2006 07:39 AM
Re: find out what time server reboot
1. # cat /etc/shutdownlog
2. # last | grep reboot
3. If the server failed due to any sudden power failure etc, there will not be any log in the log file(shutdownlog).
hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2006 07:39 AM
тАО12-22-2006 07:39 AM
Re: find out what time server reboot
1. # cat /etc/shutdownlog
2. # last | grep reboot
3. If the server failed due to any sudden power failure etc, there will not be any log in the log file(shutdownlog).
hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2006 07:40 AM
тАО12-22-2006 07:40 AM
Re: find out what time server reboot
1. # cat /etc/shutdownlog
2. # last | grep reboot
3. If the server reboted due to any sudden power failure etc, there will not be any log in the log file(shutdownlog).
hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2006 08:48 AM
тАО12-22-2006 08:48 AM
Re: find out what time server reboot
you can check a couple of places.
check /etc/shutdownlog
check /var/adm/crash ** see its the server
check who -b ** the should show a time
sp,