BIND fails to start on boot

Posted on 2006-06-05
Last Modified: 2013-12-16
I have a Redhat system that runs its own dns which I maintain with rpm's.  At some points I loose the ability to resolve dns but still have comms with my ISP, and the next time that happens I'll change my cisco pix log level to "warn" to see what's being rejected.  In any event, as I was searching for some problem with my Redhat system, I uninstalled Bind9 and installed the latest version from source to see if the problem would go away.  It did not, so I uninstalled Bind9 again and reinstalled the latest Bind rpm from Redhat, since it's easier to manage system updates in this way.  Since that time, the named daemon on my RHES system will not start on boot, although when I type #service named start in a terminal window, Bind starts without error.  I haven't found any dmesg or /var/log/messages output that points to the problem, and I'm not experienced enough to look at the boot script in /etc/init.d/named to figure things out.  
Question by:klukac
    LVL 2

    Accepted Solution



    Are you sure is there a boot script to startup named at run-level 3, for instance?

    "chkconfig --list named" shows on what levels named is programmed to start.

    To turn on, use "chkconfig --level 3 named on"


    Author Comment

    Wow, that was a lot easier than I expected :)  I had to run 'chkconfig --level x named on' for 4 and 5 also to stop named from being shut down at those run levels.  Then I checked nfs and saw that it starts at run level 2, so I activated named at level 2 also.  Let me know if that's ok...if run level 2 is wrong for named let me know why, thanks.  
    LVL 2

    Expert Comment


    Good to hear you... Level 2 is single user with networking (so, it´s ok), and level 4 is not defined, but if you left on,
    there's no harm.

    Good luck

    Author Comment

    I noticed that mysqld doesn't start on boot for the same reason...I'm thinking run levels 3-5 should be good...
    LVL 2

    Expert Comment

    Yeah. If you type "chkconfig --list", you'll see that the most applications are on on levels 2 through 5, or off
    completely (except those that are tipically multi-user, that are on on levels 3-5).

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
    I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now