Salam,<br><br>Tell me one thing, you killed the service, means service not running..... when u start the<br>service then why are u using this command!!!<br><br>service named restart????????<br><br>should be "service named start" or /etc/init.d/named start
<br><br>if you are running  secondary DNS, then your rndc key should be copied to the other<br>server as well, actually your rndc key not matching, i worked on DNS more than year back, faced the  same issue, donot know exactly the files to be remember.... please search
<br><br>Regards,<br><br>Umair Shakil<br>ETD<br><br><br><div><span class="gmail_quote">On 9/22/07, <b class="gmail_sendername">Craig White</b> <<a href="mailto:craig@tobyhouse.com">craig@tobyhouse.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I've done something a while back that has messed with my named.conf and<br>prevents me from restarting named service normally...
<br><br>My problem...<br># service named restart<br>Stopping named:                                            [FAILED]<br>Starting named: named: already running                     [FAILED]<br><br>nothing gets logged in /var/log/messages
<br><br>obviously, I can do this to restart it...<br><br>[root@srv1 etc]# ps aux|grep named<br>named    26598  0.1  0.3  72168  3732 ?        Ssl  15:41<br>0:00 /usr/sbin/named -u named -4 -t /var/named/chroot<br>root     26687  
0.0  0.0   3880   696 pts/18   S+   15:43   0:00 grep<br>named<br>[root@srv1 etc]# kill 26598<br>[root@srv1 etc]# service named restart<br>Stopping named:                                            [FAILED]<br>Starting named:                                            [  OK  ]
<br><br>and the pid of named seems to be where it belongs...<br># ls -l /var/named/chroot/var/run/named/named.pid<br>-rw-r--r-- 1 named named 6 Sep 21<br>15:43 /var/named/chroot/var/run/named/named.pid<br><br>if I try...<br>
# service named status<br>rndc: connection to remote host closed<br>This may indicate that the remote server is using an older version of<br>the command protocol, this host is not authorized to connect,<br>or the key is invalid.
<br><br>but looking at my named.conf, I'm directly including rndc.key<br># grep rndc named.conf<br>        inet <a href="http://127.0.0.1">127.0.0.1</a> allow { localhost; } keys { DYNAMIC_DNS_KEY;<br>rndc.key; };<br>
include "/etc/rndc.key";<br><br>and obviously, I am running named-chroot...<br># tail -n 3 /etc/sysconfig/named<br>ROOTDIR=/var/named/chroot<br>OPTIONS=-4<br>ENABLE_ZONE_WRITE=yes<br><br># rpm -qa|grep bind<br>bind-chroot-9.3.3-9.0.1.el5
<br>bind-9.3.3-9.0.1.el5<br>bind-libs-9.3.3-9.0.1.el5<br>bind-utils-9.3.3-9.0.1.el5<br><br>what did I do to break it?<br><br>--<br>Craig White <<a href="mailto:craig@tobyhouse.com">craig@tobyhouse.com</a>><br><br>_______________________________________________
<br>CentOS mailing list<br><a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br><a href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a><br></blockquote></div><br>