Re: How to debug system reboot/shutdown procedure?
- From: comp.unix.solaris@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (Andreas F. Borchert)
- Date: Sun, 26 Nov 2006 16:32:30 +0100 (CET)
On 2006-11-26, Miroslav Zubcic <news@xxxxxxxxxxxxx> wrote:
When I shutdown system with "init 0" or shutdown -g0 -i5 -y, init system often
fails to power off (or reboot if I reboot it) machine, leaving me with half of
services running and console login.
This sounds as if the shutdown procedure never completed.
Did something hang?
Then, if I type root passwd, log in, and
give the command "who -r", it shows me that I am in runlevel 5 (or 6 if I wanted
to reboot). After that, I can type the same command again, shutdown command
prints usual warning and - nothing happens - I'm still in the console, logged as
root, able to type commands. Only way to shut down is to change runlevel to
something else (reboot if it was shutdown initialy, single-user ...) and then
repeat initial shutdown/reboot command - after that, system will (usually) do
what I told it to do in the first place.
You are still able to ignore the whole runlevel stuff and to invoke
directly poweroff, halt, or reboot. This means that no regular shutdown
procedure will take place, just your file systems will be synced and a
short notice will be passed to syslogd -- and even this can be suppressed.
Andreas.
.
- Follow-Ups:
- Re: How to debug system reboot/shutdown procedure?
- From: Miroslav Zubcic
- Re: How to debug system reboot/shutdown procedure?
- References:
- How to debug system reboot/shutdown procedure?
- From: Miroslav Zubcic
- How to debug system reboot/shutdown procedure?
- Prev by Date: Re: CC compiler and dual core processor
- Next by Date: Re: MTBF for Sun v240 servers
- Previous by thread: How to debug system reboot/shutdown procedure?
- Next by thread: Re: How to debug system reboot/shutdown procedure?
- Index(es):
Relevant Pages
|