- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cannot shutdown
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
Forums
Discussions
Discussions
Discussions
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
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
10-31-2001 05:48 PM
10-31-2001 05:48 PM
Cannot shutdown
# shutdown -hy 0
# shutdown -ry 0
# reboot 0
All the above created core file and does not shutdown or reboot the machine. I have to manually power off the machine in order to reboot or shutdown.
What could have caused it? I have checked syslog.log but nothing much there. What other log file can i look into? Or better still, what solution can i take?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 05:51 PM
10-31-2001 05:51 PM
Re: Cannot shutdown
You can check shutdownlog .
Since after reboot new syslog file created you can check Oldsyslog file..
-Good luck,
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 06:27 PM
10-31-2001 06:27 PM
Re: Cannot shutdown
Try this
To shutdown:
# /sbin/shutdown -h -y 0
To Reboot:
# /sbin/shutdown -r -y 0
Do not use 'reboot 0'
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 07:14 PM
10-31-2001 07:14 PM
Re: Cannot shutdown
Try,
shutdown -h 0
shutdown -h now
init 0
Hope this helps.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 07:19 PM
10-31-2001 07:19 PM
Re: Cannot shutdown
Given that you say a core file was created in every case, what does the following return?
# file core
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 07:26 PM
10-31-2001 07:26 PM
Re: Cannot shutdown
Another thought
Check your /sbin/shutdown file.
-r-sr-xr-x 1 root bin 311296 Jun 10 1996 shutdown
What is the bytes size of your shutdown command
(hpux 10.20)
Best of luck
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 09:10 PM
10-31-2001 09:10 PM
Re: Cannot shutdown
Does it create a core file immediately?
Do you see any shutdown message sequence
on the console??
#which shutdown
-> should show you the binary it is executing. Make sure it's ownership and permissions are correct. Do an ll on it
it see whether it was modified.
Try
#/sbin/shutdown
-raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2001 03:47 AM
11-01-2001 03:47 AM
Re: Cannot shutdown
Another idea is to try using the init command to change the run level either to 0 for shutdown, or to level 1 or 2 so you can then try your shutdown command again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2001 05:29 AM
11-01-2001 05:29 AM
Re: Cannot shutdown
As James says, see what created the core with "file core". Maybe one of the rc files has a process core dumping and /sbin/rc isn't completing. Check /etc/rc.log and rc.log.old.
When it's core dumping, can you still access the system? Do a ps and see if shutdown and / or rc jobs are running.
Darrell