- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- shutdown scripts not executed
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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
11-14-2001 08:16 AM
11-14-2001 08:16 AM
shutdown scripts not executed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 08:20 AM
11-14-2001 08:20 AM
Re: shutdown scripts not executed
/etc/shutdown -r -y 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 08:22 AM
11-14-2001 08:22 AM
Re: shutdown scripts not executed
In what level were you when you typed the shutdown command?
TO see in your scripts worked look at /etc/rc.log.old
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 08:23 AM
11-14-2001 08:23 AM
Re: shutdown scripts not executed
Have a look at '/etc/rc.log.old'. This will tell the tale.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 08:25 AM
11-14-2001 08:25 AM
Re: shutdown scripts not executed
In addition you can check the /etc/shutdown.allow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 08:27 AM
11-14-2001 08:27 AM
Re: shutdown scripts not executed
other then that everyone seems to be on the right page of asking what run level you are at.
Use who -r to find this out.
Another thing could be that someone moved the reboot command or changed the permisions on this file. shutdown actually calls reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 08:27 AM
11-14-2001 08:27 AM
Re: shutdown scripts not executed
No use checking the shutdown.allow to find the sutdown scripts failure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 08:28 AM
11-14-2001 08:28 AM
Re: shutdown scripts not executed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 08:35 AM
11-14-2001 08:35 AM
Re: shutdown scripts not executed
What output did you get or did the command just "sit there"?
By the way, -r does a reboot after shutdown. -h does a halt.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 08:46 AM
11-14-2001 08:46 AM
Re: shutdown scripts not executed
The /etc/rc.log.old file should have both the startup and shutdown log for the last boot.
also try this shutdown command,
shutdown -h now
shutdown -r now
run this from the / directory.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2001 08:53 AM
11-14-2001 08:53 AM
Re: shutdown scripts not executed
Hi, did the system actually
do the shutdown(reboot)?? or did it return back to the prompt? What was the response you got on the console after executing the shutdown command??
Do you have all the kill scripts in /sbin/rc?.d
i.e the Knnn scripts under /sbin/rc?.d .
What does /etc/shutdownlog show??
Has the syslog file been renamed as OLDsyslog after the shutdown??
HTH
raj