Re: bind ne démarre pas
Le 06/05/07, Steve <dlist@bluewin.ch> a écrit :
Bonjour,
je suis en train d'installer chez un pote un bind en caching-only. j'ai repris
la même config que chez moi où ça marche nikel, mais au moment 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, donc
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
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 pas, utilisateur de bind, et les droits du dossier et de la
rndc.key ?
Bonne journée
Reply to: