imvinfo
(usa Debian)
Enviado em 23/09/2009 - 00:12h
Ola Renato,
Neste ponto eu eliminei a linha que vc sugeriu e "restartei" o processo
dnsdebian:~# vi /etc/bind/named.conf
dnsdebian:~# /etc/init.d/bind9 restart
Stopping domain name service...: bind9rndc: connect failed: 127.0.0.1#953: connection refused
.
Starting domain name service...: bind9 failed!
dnsdebian:~# tail -f /var/log/syslog
Sep 22 21:01:26 dnsdebian named[2177]: loading configuration from '/etc/bind/named.conf'
Sep 22 21:01:26 dnsdebian named[2177]: /etc/bind/named.conf:14: zone '.': already exists previous definition: /etc/bind/named.conf.default-zones:10
Sep 22 21:01:26 dnsdebian named[2177]: /etc/bind/named.conf:22: zone 'localhost': already exists previous definition: /etc/bind/named.conf.default-zones:18
Sep 22 21:01:26 dnsdebian named[2177]: /etc/bind/named.conf:27: zone '127.in-addr.arpa': already exists previous definition: /etc/bind/named.conf.default-zones:23
Sep 22 21:01:26 dnsdebian named[2177]: /etc/bind/named.conf:32: zone '0.in-addr.arpa': already exists previous definition: /etc/bind/named.conf.default-zones:28
Sep 22 21:01:26 dnsdebian named[2177]: /etc/bind/named.conf:37: zone '255.in-addr.arpa': already exists previous definition: /etc/bind/named.conf.default-zones:33
Sep 22 21:01:26 dnsdebian named[2177]: /etc/bind/named.conf:42: zone 'dnsdebian': already exists previous definition: /etc/bind/named.conf.default-zones:38
Sep 22 21:01:26 dnsdebian named[2177]: /etc/bind/named.conf:47: zone '0.16.172.in-addr.arpa': already exists previous definition: /etc/bind/named.conf.default-zones:43
Sep 22 21:01:26 dnsdebian named[2177]: loading configuration: failure
Sep 22 21:01:26 dnsdebian named[2177]: exiting (due to fatal error)
Observei que ele estava com problemas também no named.conf.default-zones, então comentei a linha também.
dnsdebian:~# vi /etc/bind/named.conf
dnsdebian:~# /etc/init.d/bind9 restart
Stopping domain name service...: bind9rndc: connect failed: 127.0.0.1#953: connection refused
.
Starting domain name service...: bind9.
dnsdebian:~# tail -f /var/log/syslog
Sep 22 21:02:30 dnsdebian named[2218]: command channel listening on ::1#953
Sep 22 21:02:30 dnsdebian named[2218]: the working directory is not writable
Sep 22 21:02:30 dnsdebian named[2218]: zone 0.in-addr.arpa/IN: loaded serial 1
Sep 22 21:02:30 dnsdebian named[2218]: zone 127.in-addr.arpa/IN: loaded serial 1
Sep 22 21:02:30 dnsdebian named[2218]: zone 0.16.172.in-addr.arpa/IN: loaded serial 220920091
Sep 22 21:02:30 dnsdebian named[2218]: zone 255.in-addr.arpa/IN: loaded serial 1
Sep 22 21:02:30 dnsdebian named[2218]: dns_rdata_fromtext: /etc/bind/db.dnsdebian:17: near eol: unexpected end of input
Sep 22 21:02:30 dnsdebian named[2218]: zone dnsdebian/IN: loading from master file /etc/bind/db.dnsdebian failed: unexpected end of input
Sep 22 21:02:30 dnsdebian named[2218]: zone localhost/IN: loaded serial 2
Sep 22 21:02:30 dnsdebian named[2218]: running
Ele está mandando uma mensagem de erro na linha 17 do db.dnsdebian, tentei comentar, tirar algumas "coisas" como o 1 no final do arquivo, mas ai o erro vai "subindo" !!!!
É amigo viver é muito fácil, se comparado com a instalação do BIND9 !!!!!!!!!!
[]´s