- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- shutdown 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
Forums
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-30-2001 08:16 AM
10-30-2001 08:16 AM
shutdown command
Before today the /etc/shutdown.allow file was blank. I added + root this morning but have not tried to shutdown and restart.
Any other ideas?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2001 08:19 AM
10-30-2001 08:19 AM
Re: shutdown command
what happends when you do
shutdown -ry 0
i know its the same thing but do you get the same result?
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2001 08:28 AM
10-30-2001 08:28 AM
Re: shutdown command
A zerobyte (blank) /etc/shutdown.allow file or a missing shutdown.allow file should be
good enough to allow root
to shutdown the box. There
is no need to add any entry
in it, as long you want only
root to bring the box down.
Regarding the system coming
to single user state, what does the console logs show?
You can try running the same
command again from the single
user state.
Also, make sure the patches
were installed correctly!
Swlist -a and see whether
they are configured.
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2001 08:31 AM
10-30-2001 08:31 AM
Re: shutdown command
Do you get any clues from /etc/shutdownlog, /etc/rc.log, or /etc/rc.log.old?
Does you system shutdown to single-user mode or does it try to reboot and comes up to single-user mode? Again, check the console.
Obviously and as Raj says, verify your patches are installed correctly.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2001 08:37 AM
10-30-2001 08:37 AM
Re: shutdown command
Check to see if /etc/shutdown and /usr/sbin/shutdown are links and that no one has replaced them with shutdown scripts..
Just to cover all bases.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2001 08:44 AM
10-30-2001 08:44 AM
Re: shutdown command
If you are, run ..
# init 2
# exit
Then login to the system again and shutdown.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2001 09:04 AM
10-30-2001 09:04 AM
Re: shutdown command
The system console had a text login banner (as opposed to the CDE).
I logged in and the system had 2 or 3 file systems mounted, /, /stand and /tmp (I think).
I issued the same shutdown command and a message similar to the following came up.
"disabling DHCP access...invalid, not configured" (This is not the exact message, but close. We do not use DHCP on this server)
It sat at this point for 7+ minutes, I eventually hit the power switch.
On power up the same DHCP message came up and stayed for 6 minutes, then the following messages came out:
"Synchronization of volume group vg0 complete"
"Synchronization of volume group vg1 complete"
The system booted normally.
The last lines in the rc.log.old file are:
Unload loadable modules
Output from "/sbin/rc0.d/K88kminit stop":
-----------------------------------------
The rc.log shows a normal system start.
There are links in /etc and /usr/sbin to /sbin/shutdown that is dated Apr 12 2000 and is 266240 bytes in size.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2001 09:06 AM
10-30-2001 09:06 AM
Re: shutdown command
Use "trype shutdown" to show where the shell is resolving your command. If it is anything other than /usr/sbin/shutdown then try using the full path to the command (and investigate the wrapper, of course).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2001 12:12 PM
10-30-2001 12:12 PM
Re: shutdown command
instead?
Bo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2001 12:28 PM
10-30-2001 12:28 PM
Re: shutdown command
Is reboot functionally the same as shutdown -r -y 0 ?
Reading the man pages there seem to be no arguments and it immediately restartrs the system, which is fine for my needs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2001 12:31 PM
10-30-2001 12:31 PM
Re: shutdown command
Check /etc/rc.config.d/netconf file and look for dhcp, if anywhere you find DHCP_ENABLE=1 then make it to 0
Goodluck,
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2001 12:52 PM
10-30-2001 12:52 PM
Re: shutdown command
In answer to your question about 'reboot' vs. 'shutdown', 'shutdown' is an orderly transition which invokes the kill scripts at the various run-levels of '/sbin/rc?.d/'. As a last step in the process when a halt or reboot is requested (e.g. 'shutdown -ry 0'), then 'reboot' is called. Thus, invoking 'reboot' directly would bypass the shutdown scripts.
You indicate that your /etc/rc.log appears not to show any failues. The behavior you describe is consistent with something taking a very long time to terminate, or perhaps timeout.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2001 02:43 PM
10-30-2001 02:43 PM
Re: shutdown command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 07:23 AM
10-31-2001 07:23 AM
Re: shutdown command
Try to use reboot -h 0.
I think there's a link between your shutdown command and a shutdown script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2001 08:01 AM
10-31-2001 08:01 AM
Re: shutdown command
/sbin/rc0.d/K88kminit stop
be
/sbin/rc0.d/K888kminit stop
???
could be executing out of order, or was it a typo ?
live free or die
harry