<div dir="ltr">What do the logs say?<div><br></div><div>Linux is just like a good domestic or business partner, in that it whines very clearly to tell you about problems and issues....</div><div><br></div><div>So, bind will usually not start if it cannot load any of the conf files. Please post the logs.<br><div><br></div><div>And/or show us:</div><div><br></div><div>
<p><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.6999998092651px;line-height:15.210000038147px">ls -lF /etc/named* /var/run/</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.6999998092651px;line-height:15.210000038147px"><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.6999998092651px;line-height:15.210000038147px">rpm -V caching-nameserver</span><br></p></div><div><span style="font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:12.3500003814697px;line-height:18.2000007629395px;background-color:rgb(255,255,255)"><font color="#38761d">cat /etc/sysconfig/named</font></span><br></div></div><div><span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:12.3500003814697px;line-height:18.2000007629395px;background-color:rgb(235,234,221)"><br></span></div><div><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.1150007247925px;line-height:14.4495010375977px">ls -laZ /etc/named.conf /var/named/chroot/etc/named.conf</span><span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:12.3500003814697px;line-height:18.2000007629395px;background-color:rgb(235,234,221)"><br></span></div><div><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.1150007247925px;line-height:14.4495010375977px"><br></span></div><div><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.1150007247925px;line-height:14.4495010375977px">You could try turning off SELINUX just as a test and see if she starts (although I would not run a bind server without SELINUX enabled)? </span></div><div><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.1150007247925px;line-height:14.4495010375977px"><br></span></div><div><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.1150007247925px;line-height:14.4495010375977px">You could also enter:</span></div><div><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.6999998092651px;line-height:15.210000038147px">restorecon /etc/named.conf</span><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.1150007247925px;line-height:14.4495010375977px"><br></span></div><div><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.6999998092651px;line-height:15.210000038147px"><br></span></div><div><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.6999998092651px;line-height:15.210000038147px">But it might also be an indication of a wider issue with SELINUX (fixed as follows):</span></div><div><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.6999998092651px;line-height:15.210000038147px"><br></span></div><div><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.6999998092651px;line-height:15.210000038147px">touch /.autorelabel</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.6999998092651px;line-height:15.210000038147px"><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.6999998092651px;line-height:15.210000038147px">reboot</span><br></div><div><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.6999998092651px;line-height:15.210000038147px"><br></span></div><div><span style="font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.6999998092651px;line-height:15.210000038147px"><font color="#cc0000">I would just relabel and reboot - should come right up?</font></span></div><div><span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:12.3500003814697px;line-height:18.2000007629395px;background-color:rgb(235,234,221)"><br></span></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 19, 2014 at 10:53 PM, Anthony Radzykewycz <span dir="ltr"><<a href="mailto:anthony.radzykewycz@gatewaycc.edu" target="_blank">anthony.radzykewycz@gatewaycc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hello Everyone,<br></div> I am trying to get a DNS/DHCP server up and running using CentOS 7. I have modified the /etc/named.conf file and created the zone files. I attempt to start the named service with 'systemctl start named,' and it fails. Upon investigating 'systemctl status named.service,' it shows that BIND will not start. BIND is installed on the system. I read quite a few forums to no avail. Some were saying that the issue is with the bind-chroot package (which I re-installed), another stated that it was SElinux (I ran 'restorecon /etc/named.conf' 'touch /.autorelabel' 'reboot'). That also did not resolve the issue. Does anyone have an idea as to why BIND will not start? <br></div><span class="HOEnZb"><font color="#888888">Anthony Radzykewycz<br></font></span></div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8000001907349px">(503) 754-4452</span><br></div>(623) 239-3392<br>**<br><a href="http://it-clowns.com" target="_blank">it-clowns.com</a><div><br><br><br><br><br><br><br><br><br><br><br><br><br><br></div></div></div></div></div>
</div>