- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Reboot command
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
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
тАО07-28-2008 12:30 AM
тАО07-28-2008 12:30 AM
I haven't rebooted my RP5430 HPUX server for about 3 years. I went to shut it down today to connect up a new tape drive & it kept rebooting. It never shutdown . I used the command I had in my notes - shutdown -h 0 . Is there something I have left out?.
Thanks,
Tim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2008 12:34 AM
тАО07-28-2008 12:34 AM
Re: Reboot command
shutdown:
shutdown -h 0
reboot:
shutdown -r 0
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2008 12:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2008 12:43 AM
тАО07-28-2008 12:43 AM
Re: Reboot command
iif it waits to kill some process/service try break key to interrupt in console.
Kenan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2008 12:56 AM
тАО07-28-2008 12:56 AM
Re: Reboot command
Thanks for the replies.
I used shutdown -h 0 but the server just rebooted & came back up.
Would shutdown -hy 0 have shut it down completely?
Thanks,
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2008 01:54 AM
тАО07-28-2008 01:54 AM
Re: Reboot command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2008 01:57 AM
тАО07-28-2008 01:57 AM
Re: Reboot command
No, adding the y switch causes an automatic "yes" response for any interactive input during the shutdown. It would have no effect on whether the machine reboots or not - that is strictly controlled by the -h vs the -r switch.
I would think there must be some sort of message indicating why the machine is rebooting. Perhaps it has a problem during shutdown and the failure causes a reboot? Study the output from the shutdown process carefully and see if there isn't some indication of why this is happening.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2008 02:18 AM
тАО07-28-2008 02:18 AM
Re: Reboot command
I normally always use:
shutdown -yh 0
Which is a shutdown halt (-h) with no grace period and answering yes (-y) to any interactive questions from the shutdown process.
Your system should have been halting. What output is on the console during the shutdown, especially the point where it starts to then boot again?
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2008 03:27 AM
тАО07-28-2008 03:27 AM
Re: Reboot command
Thanks,
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2008 03:49 AM
тАО07-28-2008 03:49 AM
Re: Reboot command
No. But sometimes the MP/GSP console logs may have 100s of lines.
Have you looked at syslog and /etc/shutdownlog?