Richard G
Verified User
I have the following problem on a Centos 6 64-bit server with DA.
This is the bind version (named):
bind-9.8.2-0.10.rc1.el6_3.6-x86_64
When restarting named I get this error:
couldn't add command channel 127.0.0.1#953: address in use
This is my named.conf:
Ahd after that the zone files start. Named seems to work ok, but this error is irritating me so I want it fixed.
This also occurs:
I had this one too at first:
-rw-r----- 1 root named 76 Dec 20 01:44 rndc.key
That fixed that problem.
However, the above problem keeps occuring.
I put in the "secondary" myself, this is an ip I use as secondary nameserver.
I've searched Google and there are a lot of result's, but I don't see a real solution, and it's mostly freebsd and ubuntu while I'm running Centos.
What is the problem and how can I fix it?
This is the bind version (named):
bind-9.8.2-0.10.rc1.el6_3.6-x86_64
When restarting named I get this error:
couldn't add command channel 127.0.0.1#953: address in use
This is my named.conf:
Code:
acl "secondary"
{
64.xx.xxx.xx/32;
};
options {
//listen-on port 53 { 127.0.0.1; };
//listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-transfer { secondary; };
notify yes;
also-notify { 64.xx.xx.xx; };
allow-recursion { localnets; };
//allow-query { localhost; };
//recursion yes;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
Ahd after that the zone files start. Named seems to work ok, but this error is irritating me so I want it fixed.
This also occurs:
Jan 8 18:04:28 server11 named[6374]: set up managed keys zone for view _default, file '/var/named/dynamic/managed-keys.bind'
Jan 8 18:04:28 server11 named[6374]: Warning: 'empty-zones-enable/disable-empty-zone' not set: disabling RFC 1918 empty zones
I had this one too at first:
So I changed my /etc/rndc.key ownership and chmod (640) to this:noned:0: open: /etc/rndc.key: permission denied
-rw-r----- 1 root named 76 Dec 20 01:44 rndc.key
That fixed that problem.
However, the above problem keeps occuring.
I put in the "secondary" myself, this is an ip I use as secondary nameserver.
I've searched Google and there are a lot of result's, but I don't see a real solution, and it's mostly freebsd and ubuntu while I'm running Centos.
What is the problem and how can I fix it?