Re: [CentOS] Bypass Hung Applications At Boot So System Can Complete The Boot Process
On Fri, Oct 23, 2009 at 12:12 PM, Kemp, Larry larry.k...@usmetrotel.comwrote: 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. Larry Kemp Network Engineer U.S. Metropolitan Telecom, LLC ___ If your having network apps hang, I would take a look at your /etc/hosts file and make sure it is correct. I've had an issue in the past with sendmail hanging during boot and an incorrect /etc/hosts file was the cause. Matt -- Mathew S. McCarrell Clarkson University '10 mccar...@gmail.com mccar...@clarkson.edu 1-518-314-9214 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bypass Hung Applications At Boot So System Can Complete The Boot Process
During boot, you'll see (for a real brief moment), something to the effect press I for interactive startup A few seconds after pressing it, you will be prompted to load services with a y/n. Once in Ubuntu, I entered rescue mode by entering grub startup options at the command prompt, namely single user mode but I can't recall exactly how I did this I imagine it would apply to any Linux distro. For me, sendmail and other network services (not NFS though) took forever to load because of fubar'd network stuff. On Oct 25, 2009, at 1:01 PM, Mathew S. McCarrell wrote: On Fri, Oct 23, 2009 at 12:12 PM, Kemp, Larry larry.k...@usmetrotel.com 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. Larry Kemp Network Engineer U.S. Metropolitan Telecom, LLC ___ If your having network apps hang, I would take a look at your /etc/ hosts file and make sure it is correct. I've had an issue in the past with sendmail hanging during boot and an incorrect /etc/hosts file was the cause. Matt -- Mathew S. McCarrell Clarkson University '10 mccar...@gmail.com mccar...@clarkson.edu 1-518-314-9214 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bypass Hung Applications At Boot So System Can Complete The Boot Process
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 lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bypass Hung Applications At Boot So System Can Complete The Boot Process
On Sun, Oct 25, 2009 at 3:23 PM, aurfal...@gmail.com wrote: During boot, you'll see (for a real brief moment), something to the effect press I for interactive startup A few seconds after pressing it, you will be prompted to load services with a y/n. Once in Ubuntu, I entered rescue mode by entering grub startup options at the command prompt, namely single user mode but I can't recall exactly how I did this I imagine it would apply to any Linux distro. For me, sendmail and other network services (not NFS though) took forever to load because of fubar'd network stuff. On Oct 25, 2009, at 1:01 PM, Mathew S. McCarrell wrote: On Fri, Oct 23, 2009 at 12:12 PM, Kemp, Larry larry.k...@usmetrotel.com 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. Larry Kemp Network Engineer U.S. Metropolitan Telecom, LLC ___ If your having network apps hang, I would take a look at your /etc/hosts file and make sure it is correct. I've had an issue in the past with sendmail hanging during boot and an incorrect /etc/hosts file was the cause. Matt -- Mathew S. McCarrell Clarkson University '10 mccar...@gmail.com mccar...@clarkson.edu 1-518-314-9214 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos i seem to recall similar situation and the netplugd helped but in my case it was because the Cat5 cable was unplugged or the switch was powered off. i am not sure why it isn't on by default, maybe NetworkManager was supposed to take over the responsibilities of Netplugd, but clearly failed. ifconfig would say eth0 was UP even though it was not plugged-in. Since netplug daemon has been running, ifconfig hasn't lied again. IIRC, all i did to turn it on and enable it was, but you may have to yum it down first: chkconfig netplug on ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bypass Hung Applications At Boot So System Can Complete The Boot Process
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. Ahh, yes this was it. A handy thing to remember. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Bypass Hung Applications At Boot So System Can Complete The Boot Process
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. Larry Kemp Network Engineer U.S. Metropolitan Telecom, LLC ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bypass Hung Applications At Boot So System Can Complete The Boot Process
On Fri, Oct 23, 2009 at 12:12 PM, Kemp, Larry larry.k...@usmetrotel.com 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. During the boot sequence there is a point at which you can enter an I to begin Interactive mode. From there, you can pick and choose which services/daemons to turn on. HTH, -Bob Beers ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos