Operating System - Linux
1828667 Members
1808 Online
109984 Solutions
New Discussion

Redhat system hangs on reboot and shutdown

 
David Kleinman
Occasional Contributor

Redhat system hangs on reboot and shutdown

My Redhat 2.1, 2.4.9-e48enterprise dl580 hangs when I try to shut it down or reboot it. Here's the message left on the console:
INIT: no more processes left in this runlevel

I have multiple other dl580s in the same configuration that reboot w/o issue.

The drivers on the good and the bad systems are the same:

HBA Drivers:
Bad system:
===========
scsi0 : QLogic QLA2312 PCI to Fibre Channel Host Adapter: bus 6 device 1 irq 11
Firmware version: 3.02.28, Driver version 7.00.03
Good system:
===========
scsi0 : QLogic QLA2312 PCI to Fibre Channel Host Adapter: bus 6 device 1 irq 22
Firmware version: 3.02.28, Driver version 7.00.03

Bios:
=====
Bad system:
Proliant system Bios p27
Good system:
Proliant system Bios p27

Anyone seen this? A google search on the INIT string only brings up an IPOD issue.
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Redhat system hangs on reboot and shutdown

One of your init/shutdoown scripts is hanging.

If the systems are identical a quick fix would be to copy the contents of /etc/init.d/ from good system to hung system.

If this is not practical, you'll want to do an interactive login. There is a keypress option for this before the init scripts start.

An interactive login will allow you to identify which init script is hanging so you can take corrective action.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Vitaly Karasik_1
Honored Contributor

Re: Redhat system hangs on reboot and shutdown

- You can compare sw versions on both servers by comparing "rpm -qa" output.

- In order to avoid hardware issues, you can take harddisks from "good" system and boot "bad" box from this disk.
Ross Minkov
Esteemed Contributor

Re: Redhat system hangs on reboot and shutdown

Davis,

Compare /etc/inittab files on a good and the bad system. If you could copy one good inittab to the bad system then you could use diff to compare them.

Regards,
Ross
tony j. podrasky
Valued Contributor

Re: Redhat system hangs on reboot and shutdown

I suggest you boot it to single user,
and then try a shutdown. If it works,
you can be pretty sure it isn't a
lowlevel hardware problem.

Next, try booting to init 2 and shutting
down. If it hangs, reboot to init 2, and
then cd /etc/rc.d/init.d and begin stopping
the services by hand and see what happens.

regards,
tonyp
REMEMBER: Once you eliminate your #1 problem, #2 gets a promotion.
Juan José_2
New Member

Re: Redhat system hangs on reboot and shutdown

Try to copy from the good system the file:

/etc/rc.d/init.d/killall

and you must create the symbolic links:

cd /etc/rc.d/rc0.d/
ln -s ../init.d/S00killall S00killall
cd /etc/rc.d/rc6.d/
ln -s ../init.d/S00killall S00killall

Regards,