Re: How to debug system reboot/shutdown procedure?



Andreas F. Borchert wrote:

This sounds as if the shutdown procedure never completed.
Did something hang?

It looks like that, but there is nothing suspicious in process table, and also
'svcs -x' doesn't have any output.

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.

Yes, this works but it is ugly. I have postgres and other stuff which doesn't
like this.

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.

I do not want errors to be suppressed. I *want* to see errors logged when they
happen.


--
Man is something that shall be overcome.
-- Friedrich Nietzsche
.