I recently had need to completely reinstall CentOS. (Reason for reinstall: laptop had been allowed to run to battery exhaustion and had powered-off with an unorderly shutdown; on re-boot (with power) the system would not reboot into CentOS. It is a dual-boot system and re-boot into Windows was successful).
I installed 4.2 from CD and immediately used yum to bring it up to 4.7. Straightforward installation, no problems encountered.
Re-installation of / and /usr partitions was done after re-formatting the partitions. The remaining partitions (/home, /opt, /tmp, /var and /usr/local) were not re-formatted.
After re-installation the systems boots to CentOS and runs with no apparent problems.
But on shutdown (or re-boot) the shutdown sequence terminates early - immediately after the message shown below is displayed:
INIT: no more processes left in this runlevel
If I try ctl-alt-del I get a further single line displayed:
INIT: switch to runlevel 6
But the shutdown sequence does not go any further (e.g. file-systems are not umounted) and certainly does not complete.
I have to force a hard power-off.
On re-boot I therefore get not properly shutdown messages and am requested to fsck the filesystems. Note that when I do fsck all the filesystems none report any problem and boot successfully completes and I can logon and use the system. (or I can boot without the fsck and the boot successfully completes and I can logon and use the system).
But the interruption to boot, and the need to fsck each time on boot, is a PITA.
I have checked out possible causes of the INIT: no more processes left in this runlevel message; most seem to discuss possible disk errors, but the fsck command is returning no problems found.
What might be the possible problems that would result in this error message and failure to complete shutdown?
Where should I look to investigate?
Any suggested remedies that would clear the problem (and allow shutdown to complete to power-off)?