[CentOS] Bypass Hung Applications At Boot So System Can Complete The Boot Process

Les Mikesell lesmikesell at gmail.com
Sun Oct 25 21:31:40 UTC 2009


Kemp, Larry wrote:
> I have a CentOS system that is hanging at boot. Sendmail takes forever (and a few other apps hang as well...mainly network apps). This has proven in the pas to be a NIC misconfiguration or a network issue. I think that is what it is on this one too. Is there a way when I see an app haning at boot to make the server stop trying to load the hung app and bring the OS up into the GI so that I get to fixing it? Thanks in advance.

Usually they are just waiting on a DNS timeout so if you wait long enough you'll 
  get the login prompt (but you'll have time to go get some coffee or 
something).  If you get tired of waiting you can reboot with a ctl-alt-delete 
and as it comes back up, hit a key to get the boot prompt, pick the kernel you 
want to boot, hit  'e', then select the kernel line and hit 'e' to edit and add 
'single' to the end of the line, and 'b' to boot it.  That will bring it up in 
single user mode without starting the network or most of the services.  You'll 
be in command line mode but you could probably use 'startx' to bring up the GUI 
desktop if you wanted.

-- 
   Les Mikesell
    lesmikesell at gmail.com


More information about the CentOS mailing list