[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

BIND fails to start on boot

Posted on 2006-06-05
5
Medium Priority
?
303 Views
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.  
0
Comment
Question by:klukac
  • 3
  • 2
5 Comments
 
LVL 2

Accepted Solution

by:
enyamada earned 2000 total points
ID: 16836547

Hi

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"



Rgds
0
 

Author Comment

by:klukac
ID: 16836827
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.  
0
 
LVL 2

Expert Comment

by:enyamada
ID: 16836863

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
0
 

Author Comment

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

Expert Comment

by:enyamada
ID: 16836928
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).
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month20 days, 8 hours left to enroll

867 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