- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- reboot server
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
тАО08-19-2004 02:23 AM
тАО08-19-2004 02:23 AM
reboot server
or reboot
1.- tail /var/adm/shutdownlog
other options??
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2004 02:30 AM
тАО08-19-2004 02:30 AM
Re: reboot server
If the system panic'd you would see an entry in the shutdownlog, stating panic, and crash files in /var/adm/crash/.
If the system rebooted by itself, you may have a hardware or firmware problem. Contact Hardware Support for further assistance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2004 02:33 AM
тАО08-19-2004 02:33 AM
Re: reboot server
You should be using shutdown instead of reboot. Reboot is a quick, but not a gracefull shutdown of machine.
If you abruptly switch off power, or pull out the power cable, it will not be logged in /etc/shutdownlog.
The following document exlpains why shutdown is better then reboot.
Why shutdown but not reboot.
----------------------------------------------------------
This document from HP explains more about shutdown vs reboot:
When bringing an HP-UX system down, Hewlett Packard recommends using
the shutdown(1M) command instead of the reboot command.
The shutdown(1M) command does additional preprocessing to prepare
the system for the reboot(1M) command. Primarily, shutdown(1M)
executes /sbin/rc to shutdown subsystems, unmount filesystems, and
other tasks to bring the system to run level 0. This process
ensures that the system is as quiet as possible before running the
reboot(1M) command.
The reboot(1M) command will then kill all remaining non-system
processes, sync the buffer cache, and then calls the reboot(2)
system call.
Note that issuing a reboot instead of a shutdown does not attempt
to stop any of the subsystems or unmount the file systems. While
reboot does attempt to kill non-system processes, other system
deamons may be active on the system. For example, the vxfsd
daemon may be attempting to flush the inode cache.
Any remaining activity on the system - when the reboot(2) system
call is made - can cause the system to hang during the reboot if
the activity locks any resource that the reboot(2) system call
needs to complete its processing, especially when reboot is trying
to flush the buffer cache.
Therefore, shutdown(1M) should be used instead of reboot(1M) to
provide a more comprehensive shutdown and limit the possibility of
system hangs during a reboot.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2004 02:59 AM
тАО08-19-2004 02:59 AM
Re: reboot server
This does not apply of you pull the power source (unplug).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2004 05:34 PM
тАО08-21-2004 05:34 PM
Re: reboot server
tail /etc/shutdownlog.
who -b
Are the times close? If they are not, then likely you lost power to your box (whether someone hit the switch, UPS failed, not on a UPS and you had a power outage, etc).
Anytime reboot is run (whether as part of shutdown or just reboot itself) it will log in /etc/shutdownlog. So no entry, no panic message, but the box booted, then it lost power.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2004 08:10 PM
тАО08-23-2004 08:10 PM
Re: reboot server
1) /var/adm/syslog/OLDsyslog.log will contain, for examples :
- "HP CIFS Server: Samba successfully shut down"
- "/usr/sbin/envd[1013]: Interruption par signal 15"
- "inetd[751]: Going down on signal 15"
- and finally "syslogd: going down on signal 15"
2) /etc/rc.log.old will also contain a lot of "stop XXX service, Output from XXX stop : ..."
In my server :
Stop environment monitoring daemon
Output from "/sbin/rc1.d/K250envd stop":
----------------------------
envd stopped
BUT, for a reboot from the power button, OLDsyslog.log and rc.log.old will not contains any log from the shutdown, only from previous starting phase.
Olivier.
PS : Please don't forget to ASSIGN POINTS : it is very important for us to know if response helps you (or not !!) and you will have more chance to receive responses !