bind ne démarre pas
Le
Steve
Bonjour,
je suis en train d'installer chez un pote un bind en caching-only. j'ai rep=
ris
la même config que chez moi où ça marche nikel, mais au mome=
nt de le lancer :
# rndc start
rndc: connection to remote host closed
This may indicate that the remote server is using an older version of
the command protocol, this host is not authorized to connect,
or the key is invalid.
J'ai vérifié et revérifié la clé.
J'ai un firewall qui ne fait que du nat pour le moment, tout est ouvert, do=
nc
je ne pense pas que ce soit ça.
Les permissions sont :
-rw-r--r-- 1 root root 237 2006-10-16 14:44 db.0
-rw-r--r-- 1 root root 271 2006-10-16 14:44 db.127
-rw-r--r-- 1 root bind 458 2007-05-06 09:01 db.192.168.20
-rw-r--r-- 1 root root 237 2006-10-16 14:44 db.255
-rw-r--r-- 1 root root 353 2006-10-16 14:44 db.empty
-rw-r--r-- 1 root root 256 2006-10-16 14:44 db.local
-rw-r--r-- 1 root root 1507 2006-10-16 14:44 db.root
-rw-r--r-- 1 root bind 1611 2006-10-16 14:44 named.conf
-rw-r--r-- 1 root bind 684 2007-05-06 09:20 named.conf.local
-rw-r--r-- 1 root bind 1370 2007-05-06 10:00 named.conf.options
-rw-r-- 1 root bind 203 2007-05-06 09:14 rndc.conf
-rw-r-- 1 bind bind 77 2007-05-06 09:15 rndc.key
-rw-r--r-- 1 root bind 446 2007-05-06 09:21 zone.local
-rw-r--r-- 1 root bind 1296 2007-05-06 09:24 zone.maison.mrs
-rw-r--r-- 1 root bind 2135 2007-05-06 09:26 zone.root
-rw-r--r-- 1 root root 1317 2006-10-16 14:44 zones.rfc1918
un sh -x /etc/init.d/bind9 start s'arrête ici :
+ FANCYTTY=1
+ true
+ /usr/bin/tput setaf 1
+ RED=
+ /usr/bin/tput op
+ NORMAL=
+ [ 1 -eq 0 ]
+ /bin/echo -e failed!
failed!
+ return 1
+ exit 0
Si quelqu'un a une idée ?
Merci d'avance
Système : etch à jour
--
steve
je suis en train d'installer chez un pote un bind en caching-only. j'ai rep=
ris
la même config que chez moi où ça marche nikel, mais au mome=
nt de le lancer :
# rndc start
rndc: connection to remote host closed
This may indicate that the remote server is using an older version of
the command protocol, this host is not authorized to connect,
or the key is invalid.
J'ai vérifié et revérifié la clé.
J'ai un firewall qui ne fait que du nat pour le moment, tout est ouvert, do=
nc
je ne pense pas que ce soit ça.
Les permissions sont :
-rw-r--r-- 1 root root 237 2006-10-16 14:44 db.0
-rw-r--r-- 1 root root 271 2006-10-16 14:44 db.127
-rw-r--r-- 1 root bind 458 2007-05-06 09:01 db.192.168.20
-rw-r--r-- 1 root root 237 2006-10-16 14:44 db.255
-rw-r--r-- 1 root root 353 2006-10-16 14:44 db.empty
-rw-r--r-- 1 root root 256 2006-10-16 14:44 db.local
-rw-r--r-- 1 root root 1507 2006-10-16 14:44 db.root
-rw-r--r-- 1 root bind 1611 2006-10-16 14:44 named.conf
-rw-r--r-- 1 root bind 684 2007-05-06 09:20 named.conf.local
-rw-r--r-- 1 root bind 1370 2007-05-06 10:00 named.conf.options
-rw-r-- 1 root bind 203 2007-05-06 09:14 rndc.conf
-rw-r-- 1 bind bind 77 2007-05-06 09:15 rndc.key
-rw-r--r-- 1 root bind 446 2007-05-06 09:21 zone.local
-rw-r--r-- 1 root bind 1296 2007-05-06 09:24 zone.maison.mrs
-rw-r--r-- 1 root bind 2135 2007-05-06 09:26 zone.root
-rw-r--r-- 1 root root 1317 2006-10-16 14:44 zones.rfc1918
un sh -x /etc/init.d/bind9 start s'arrête ici :
+ FANCYTTY=1
+ true
+ /usr/bin/tput setaf 1
+ RED=
+ /usr/bin/tput op
+ NORMAL=
+ [ 1 -eq 0 ]
+ /bin/echo -e failed!
failed!
+ return 1
+ exit 0
Si quelqu'un a une idée ?
Merci d'avance
Système : etch à jour
--
steve

Poser une question


juste au-dessus :
/etc/init.d/bind9 start
Starting domain name service...: bind failed!
en fait c'est bon maintenant. J'avais commenté
listen-on-v6 { any; };
et en le décommentant, ça marche..
merci
--
steve
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Le 06/05/07, Steve
Et en essayant de le demarrer normalement, sans le client rndc?
/etc/init.d/bind9 start
Si tu peux donner un copier coller de ton syslog, ca pourrais aider.
Si en plus on pouvais connaitre ta version (bind8 ou bind9) chrooté ou pa s,
utilisateur de bind, et les droits du dossier et de la rndc.key ?
Bonne journée
------=_Part_65807_20907664.1178440803097
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Bonjour, db.192.168.20 db.root rndc.conf zone.root + NORMAL=<br>+ [ 1 -eq 0 ]<br>+ /bin/echo -e failed!<br> faile d!<br>+ return 1<br>+ exit 0<br><br><br>Si quelqu'un a une idée ?<br> <br>Merci d'avance<br><br>Système : etch à jour<br><br><br>--<br>st eve<br><br></blockquote>
rndc.key ?<br><br>Bonne journée<br><br>
------=_Part_65807_20907664.1178440803097--
--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"
To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Steve a écrit :
Curieux que l'absence de cette option empêche le démarrage de BIND. Que
contient l'option 'listen-on' ? Les messages d'erreur générés par
'named' dans /var/log/syslog pourraient certainement aider à comprendre.
--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"
To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sun, May 06, 2007 at 10:47:45AM +0200, Steve wrote:
Hi,
Chez moi, je fonctionne comme cela :
listen-on-v6 { none; };
listen-on {
127.0.0.1;
192.168.0.1;
};
On specifie "les resseaux" (c'est pas forcement le meilleur mot mais
interface cela convient encore moins) sur lesquel on ecoute plutot que
d'etre ouvert a tout.
--
Franck Joncourt
http://www.debian.org
http://smhteam.info/wiki/
GPG server : pgpkeys.mit.edu
Fingerprint : C10E D1D0 EF70 0A2A CACF 9A3C C490 534E 75C0 89FE
--sdtB3X0nJg68CQEu
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGPZ91xJBTTnXAif4RAtdCAJ9RxH55UT6xMkWSsg1DBlShfVjxbwCcDUVD
2mKgBAo9jexGmQznu40H7nY s0
-----END PGP SIGNATURE-----
--sdtB3X0nJg68CQEu--
--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"
To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
l'adresse du réseau local : 192.168.20.0/24
/etc/bind/named.conf.options:26: '}' expected near ';'
loading configuration: unexpected token
exiting (due to fatal error)
et en décommentant, ça a marché.
--
steve