Operating System - HP-UX
1836426 Members
3545 Online
110100 Solutions
New Discussion

Re: shutdown does not work

 
Dave Chamberlin
Trusted Contributor

shutdown does not work

I have an rp8400 with a single partition, running hpux 11.11. When I do: "shutdown -h now" - the console indicates the system is shutting down, but nothing changes. I can still log in via telnet, execute commands etc. Any suggestions as to what is hanging it up? Yesterday, after waiting 20 minutes, I had to start manually killing processes and eventually this killed my telnet session and then shut down.
8 REPLIES 8
S.Rider
Regular Advisor

Re: shutdown does not work

ps -ef | grep K
to see what script it's hanging on.
Ride Boldly Ride, but watch out for El Dorado's
Laurent Menase
Honored Contributor

Re: shutdown does not work

it can also be an application which is hang and can't be killed.

if it is the case, TOC the system and contact support
Marlou Everson
Trusted Contributor

Re: shutdown does not work

Did you check /etc/rc.log.old to see where it is in the "System shutdown in progress" section? Hopefully, something is recorded there.

Marlou
Tim Nelson
Honored Contributor

Re: shutdown does not work

FYI,

/etc/rc.log is updated during startup and then subsequent shutdown. During the next startup the log is moved to rc.log.old.

Review your /etc/rc.log after initiating the shutdown. Check for updates or hung stop scripts in there.

BW Moll
Advisor

Re: shutdown does not work

When ALL ELSE FAILS

and IF YOU FEEL LUCKY

reboot -q will shut the system down hard.
Matti_Kurkela
Honored Contributor

Re: shutdown does not work

Maybe one of the shutdown scripts (located in /sbin/init.d, called through symlinks in /sbin/rc?.d directories) was in a loop or hanging for some reason.

After you killed the hanging/looping process, the rest of the shutdown may have been able to continue.

MK
MK
Laurent Menase
Honored Contributor

Re: shutdown does not work

Better than the reboot -q, if all your critical applications have been stopped properly, take a TOC of the system, it will give a chance to analyse the root cause. Else there is no possibility, since all the data will be lost.
Laurent Menase
Honored Contributor

Re: shutdown does not work

better than reboot -q, a TOC will leave the possibility to analyze the problem later with data available, while a reboot -q will give you no clue at all.


And what was the last process you killed before the shutdown continued