Problem
When running the init or shutdown commands to shutdown or
reboot the system, the command is accepted, but the run
level doesn't change and control is returned to the shell.
There are no error messages generated on the
terminal/console or in the logs. Cause
The likely cause for this happening is that one of the /etc/inittab processes that init is controlling fails to terminate. init must wait for entries with an action of "wait" (3rd field of the inittab entry) and it cannot continue with the run level change until these processes die.
Solution
Use your /etc/inittab file as a guide to check for "wait" processes in your process table (ps -ef) that are unable to be killed normally. Once you have identified the process that isn't dying, investigate why this process fails to terminate and rectify the situation. Commands such as crash, truss, and debug can be useful in diagnosing the reason for the hung process.
See also
inittab(4) init(1M) crash(1M) truss(1) debug(1)