IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Debian Discussion :

Problème avec Bind


Sujet :

Debian

  1. #1
    Nouveau membre du Club
    Homme Profil pro
    Consultant ERP
    Inscrit en
    Novembre 2007
    Messages
    40
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Meurthe et Moselle (Lorraine)

    Informations professionnelles :
    Activité : Consultant ERP

    Informations forums :
    Inscription : Novembre 2007
    Messages : 40
    Points : 26
    Points
    26
    Par défaut Problème avec Bind
    Bonjour,

    J'ai actuellement un soucis avec bind je ne peux pas le redamarrer et j'ai le message suivant :

    Stopping domain name service...: bindrndc: connect failed: 127.0.0.1#953: connection refused
    failed!
    Starting domain name service...: bind failed!

    Merci de votre aide.

  2. #2
    Membre régulier
    Profil pro
    Inscrit en
    Février 2005
    Messages
    88
    Détails du profil
    Informations personnelles :
    Âge : 40
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Février 2005
    Messages : 88
    Points : 107
    Points
    107
    Par défaut
    Tu peux montrer le fichier de configuration "named.conf" ?

    Ton bind peut pas démarrer car le port nécessaire est déjà pris

  3. #3
    Nouveau membre du Club
    Homme Profil pro
    Consultant ERP
    Inscrit en
    Novembre 2007
    Messages
    40
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Meurthe et Moselle (Lorraine)

    Informations professionnelles :
    Activité : Consultant ERP

    Informations forums :
    Inscription : Novembre 2007
    Messages : 40
    Points : 26
    Points
    26
    Par défaut
    // This is the primary configuration file for the BIND DNS server named.
    //
    // Please read /usr/share/doc/bind9/README.Debian.gz for information on the
    // structure of BIND configuration files in Debian, *BEFORE* you customize
    // this configuration file.
    //
    // If you are just adding zones, please do that in /etc/bind/named.conf.local

    include "/etc/bind/named.conf.options";

    // prime the server with knowledge of the root servers
    zone "." {
    type hint;
    file "/etc/bind/db.root";
    };

    // be authoritative for the localhost forward and reverse zones, and for
    // broadcast zones as per RFC 1912

    zone "localhost" {
    type master;
    file "/etc/bind/db.local";
    };

    zone "127.in-addr.arpa" {
    type master;
    file "/etc/bind/db.127";
    };

    zone "0.in-addr.arpa" {
    type master;
    file "/etc/bind/db.0";
    };

    zone "255.in-addr.arpa" {
    type master;
    file "/etc/bind/db.255";
    };

    // zone "com" { type delegation-only; };
    // zone "net" { type delegation-only; };

    // From the release notes:
    // Because many of our users are uncomfortable receiving undelegated answers
    // from root or top level domains, other than a few for whom that behaviour
    // has been trusted and expected for quite some length of time, we have now
    // introduced the "root-delegations-only" feature which applies delegation-only
    // logic to all top level domains, and to the root domain. An exception list
    // should be specified, including "MUSEUM" and "DE", and any other top level
    // domains from whom undelegated responses are expected and trusted.
    // root-delegation-only exclude { "DE"; "MUSEUM"; };

    include "/etc/bind/named.conf.local";

    // Configurer le canal de communication pour adminsistrer BIND9 avec rndc
    // Par défaut, la clef est située dans le fichier rndc.key et utiliser
    par
    // rndc et bind9 sur localhost
    controls {
    inet 127.0.0.1 port 953 allow { 127.0.0.1; };
    };

  4. #4
    Membre régulier
    Profil pro
    Inscrit en
    Février 2005
    Messages
    88
    Détails du profil
    Informations personnelles :
    Âge : 40
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Février 2005
    Messages : 88
    Points : 107
    Points
    107
    Par défaut
    Il faut peut être voir:
    Si un programme utilise déjà le port 953 (netstat -tulpen | grep 953)
    Si tu utilises un firewall qui bloque l'accès (iptables)
    Si tu es sur de vouloir utiliser le port 953, pour du DNS normalement c'est #53

  5. #5
    Nouveau membre du Club
    Homme Profil pro
    Consultant ERP
    Inscrit en
    Novembre 2007
    Messages
    40
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Meurthe et Moselle (Lorraine)

    Informations professionnelles :
    Activité : Consultant ERP

    Informations forums :
    Inscription : Novembre 2007
    Messages : 40
    Points : 26
    Points
    26
    Par défaut
    J'ai effectué l amodification est pasé en port 53 mais tjrs la même chose !!!

    Voila ce que j'ai dans syslog

    May 20 14:11:39 vmdebian named[2683]: starting BIND 9.3.4 -u bind
    May 20 14:11:39 vmdebian named[2683]: found 1 CPU, using 1 worker thread
    May 20 14:11:39 vmdebian named[2683]: loading configuration from '/etc/bind/named.conf'
    May 20 14:11:39 vmdebian named[2683]: /etc/bind/named.conf:57: unknown option 'par'
    May 20 14:11:39 vmdebian named[2683]: loading configuration: failure
    May 20 14:11:39 vmdebian named[2683]: exiting (due to fatal error)

  6. #6
    Membre régulier
    Profil pro
    Inscrit en
    Février 2005
    Messages
    88
    Détails du profil
    Informations personnelles :
    Âge : 40
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Février 2005
    Messages : 88
    Points : 107
    Points
    107
    Par défaut
    Bah la clairement c une erreur de conf, sur la ligne 57, donc peut être la modif du port..

    Voilà ce que j'ai mis sur des conf pour bind, au niveau de "controls" :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    controls {
            inet 127.0.0.1 allow { localhost; } keys { rndckey; };
    };

  7. #7
    Rédacteur/Modérateur
    Avatar de Winnt
    Homme Profil pro
    budget et contrôle de gestion
    Inscrit en
    Décembre 2006
    Messages
    1 978
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 56
    Localisation : France

    Informations professionnelles :
    Activité : budget et contrôle de gestion
    Secteur : Administration - Collectivité locale

    Informations forums :
    Inscription : Décembre 2006
    Messages : 1 978
    Points : 4 130
    Points
    4 130
    Par défaut
    Salut,

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    // Par défaut, la clef est située dans le fichier rndc.key et utiliser
    par
    // rndc et bind9 sur localhost
    doit être
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    // Par défaut, la clef est située dans le fichier rndc.key et utiliser
    //par
    // rndc et bind9 sur localhost
    Winnt
    Winnt
    Merci de lire les règles du forum LaTeX et Qu'est ce qu'un ECM ?.
    N'hésitez pas à parcourir la FAQ la réponse y est peut-être déjà.
    Pensez au bouton si votre problème est résolu.


    C'est en Linuxant qu'on devient .... geek
    Et c'est en LateXant qu'on devient flemmard
    Mon blog tout neuf.
    Articles : présentation de la distribution Gentoo, Les index sous LaTeX et leur personnalisation.

  8. #8
    Membre régulier
    Profil pro
    Inscrit en
    Février 2005
    Messages
    88
    Détails du profil
    Informations personnelles :
    Âge : 40
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Février 2005
    Messages : 88
    Points : 107
    Points
    107
    Par défaut
    Citation Envoyé par Nouss Voir le message
    May 20 14:11:39 vmdebian named[2683]: /etc/bind/named.conf:57: unknown option 'par'
    May 20 14:11:39 vmdebian named[2683]: loading configuration: failure
    May 20 14:11:39 vmdebian named[2683]: exiting (due to fatal error)
    Je rejoins donc Winnt, rajoute "//" devant par

  9. #9
    Nouveau membre du Club
    Homme Profil pro
    Consultant ERP
    Inscrit en
    Novembre 2007
    Messages
    40
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Meurthe et Moselle (Lorraine)

    Informations professionnelles :
    Activité : Consultant ERP

    Informations forums :
    Inscription : Novembre 2007
    Messages : 40
    Points : 26
    Points
    26
    Par défaut
    J'ai appliquer ton parametre, mais tjrs le même message.

    Mais dans syslog tout à l'air bon !

    May 20 15:06:10 vmdebian named[3032]: loading configuration from '/etc/bind/named.conf'
    May 20 15:06:10 vmdebian named[3032]: command channel listening on 127.0.0.1#953
    May 20 15:06:14 vmdebian named[3032]: shutting down
    May 20 15:06:14 vmdebian named[3032]: stopping command channel on 127.0.0.1#953
    May 20 15:06:14 vmdebian named[3032]: no longer listening on ::#53
    May 20 15:06:14 vmdebian named[3032]: no longer listening on 127.0.0.1#53
    May 20 15:06:14 vmdebian named[3032]: no longer listening on 192.168.0.15#53
    May 20 15:06:14 vmdebian named[3032]: exiting
    May 20 15:06:17 vmdebian named[3068]: starting BIND 9.3.4 -c /etc/bind/named.conf
    May 20 15:06:17 vmdebian named[3068]: found 1 CPU, using 1 worker thread
    May 20 15:06:17 vmdebian named[3068]: loading configuration from '/etc/bind/named.conf'
    May 20 15:06:17 vmdebian named[3068]: listening on IPv6 interfaces, port 53
    May 20 15:06:17 vmdebian named[3068]: listening on IPv4 interface lo, 127.0.0.1#53
    May 20 15:06:17 vmdebian named[3068]: listening on IPv4 interface eth0, 192.168.0.15#53
    May 20 15:06:17 vmdebian named[3068]: none:0: open: /etc/bind/rndc.key: permission denied
    May 20 15:06:17 vmdebian named[3068]: /etc/bind/named.conf:63: couldn't install keys for command channel 127.0.0.1#953: permission denied
    May 20 15:06:17 vmdebian named[3068]: /etc/bind/named.conf:63: couldn't add command channel 127.0.0.1#953: permission denied
    May 20 15:06:17 vmdebian named[3068]: zone 0.in-addr.arpa/IN: loaded serial 1
    May 20 15:06:17 vmdebian named[3068]: zone 127.in-addr.arpa/IN: loaded serial 1
    May 20 15:06:17 vmdebian named[3068]: zone 255.in-addr.arpa/IN: loaded serial 1
    May 20 15:06:17 vmdebian named[3068]: zone localhost/IN: loaded serial 1
    May 20 15:06:17 vmdebian named[3068]: zone ophiuchhus/IN: loaded serial 1211232926
    May 20 15:06:17 vmdebian named[3068]: running

  10. #10
    Rédacteur/Modérateur
    Avatar de Winnt
    Homme Profil pro
    budget et contrôle de gestion
    Inscrit en
    Décembre 2006
    Messages
    1 978
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 56
    Localisation : France

    Informations professionnelles :
    Activité : budget et contrôle de gestion
    Secteur : Administration - Collectivité locale

    Informations forums :
    Inscription : Décembre 2006
    Messages : 1 978
    Points : 4 130
    Points
    4 130
    Par défaut
    Salut,

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    May 20 15:06:17 vmdebian named[3068]: none:0: open: /etc/bind/rndc.key: permission denied
    May 20 15:06:17 vmdebian named[3068]: /etc/bind/named.conf:63: couldn't install keys for command channel 127.0.0.1#953: permission denied
    May 20 15:06:17 vmdebian named[3068]: /etc/bind/named.conf:63: couldn't add command channel 127.0.0.1#953: permission denied
    semble indiquer un problème de permission sur le fichier /etc/bind/rndc.key

    à vérifier je pense.

    Winnt
    Winnt
    Merci de lire les règles du forum LaTeX et Qu'est ce qu'un ECM ?.
    N'hésitez pas à parcourir la FAQ la réponse y est peut-être déjà.
    Pensez au bouton si votre problème est résolu.


    C'est en Linuxant qu'on devient .... geek
    Et c'est en LateXant qu'on devient flemmard
    Mon blog tout neuf.
    Articles : présentation de la distribution Gentoo, Les index sous LaTeX et leur personnalisation.

  11. #11
    Nouveau membre du Club
    Homme Profil pro
    Consultant ERP
    Inscrit en
    Novembre 2007
    Messages
    40
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Meurthe et Moselle (Lorraine)

    Informations professionnelles :
    Activité : Consultant ERP

    Informations forums :
    Inscription : Novembre 2007
    Messages : 40
    Points : 26
    Points
    26
    Par défaut
    Après Quelques modifs ....

    May 20 15:31:36 vmdebian named[3588]: starting BIND 9.3.4 -c /etc/bind/named.conf
    May 20 15:31:36 vmdebian named[3588]: found 1 CPU, using 1 worker thread
    May 20 15:31:36 vmdebian named[3588]: loading configuration from '/etc/bind/named.conf'
    May 20 15:31:36 vmdebian named[3588]: listening on IPv6 interfaces, port 53
    May 20 15:31:36 vmdebian named[3588]: listening on IPv4 interface lo, 127.0.0.1#53
    May 20 15:31:36 vmdebian named[3588]: listening on IPv4 interface eth0, 192.168.0.15#53
    May 20 15:31:36 vmdebian named[3588]: command channel listening on 127.0.0.1#953
    May 20 15:31:36 vmdebian named[3588]: zone 0.in-addr.arpa/IN: loaded serial 1
    May 20 15:31:36 vmdebian named[3588]: zone 127.in-addr.arpa/IN: loaded serial 1
    May 20 15:31:36 vmdebian named[3588]: zone 255.in-addr.arpa/IN: loaded serial 1
    May 20 15:31:36 vmdebian named[3588]: zone localhost/IN: loaded serial 1
    May 20 15:31:36 vmdebian named[3588]: zone ophiuchhus/IN: loaded serial 1211232926
    May 20 15:31:36 vmdebian named[3588]: running


  12. #12
    Rédacteur/Modérateur
    Avatar de Winnt
    Homme Profil pro
    budget et contrôle de gestion
    Inscrit en
    Décembre 2006
    Messages
    1 978
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 56
    Localisation : France

    Informations professionnelles :
    Activité : budget et contrôle de gestion
    Secteur : Administration - Collectivité locale

    Informations forums :
    Inscription : Décembre 2006
    Messages : 1 978
    Points : 4 130
    Points
    4 130
    Par défaut
    Salut,

    voilà qui semble beaucoup mieux

    Winnt
    Winnt
    Merci de lire les règles du forum LaTeX et Qu'est ce qu'un ECM ?.
    N'hésitez pas à parcourir la FAQ la réponse y est peut-être déjà.
    Pensez au bouton si votre problème est résolu.


    C'est en Linuxant qu'on devient .... geek
    Et c'est en LateXant qu'on devient flemmard
    Mon blog tout neuf.
    Articles : présentation de la distribution Gentoo, Les index sous LaTeX et leur personnalisation.

  13. #13
    Nouveau membre du Club
    Homme Profil pro
    Consultant ERP
    Inscrit en
    Novembre 2007
    Messages
    40
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Meurthe et Moselle (Lorraine)

    Informations professionnelles :
    Activité : Consultant ERP

    Informations forums :
    Inscription : Novembre 2007
    Messages : 40
    Points : 26
    Points
    26
    Par défaut
    Merci à vous deux !!

  14. #14
    Membre averti Avatar de venomelektro
    Homme Profil pro
    Inscrit en
    Avril 2004
    Messages
    521
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations forums :
    Inscription : Avril 2004
    Messages : 521
    Points : 316
    Points
    316
    Par défaut
    j ai vu hier sur la ml debian que l utilisation de bind8 etait maintenant déconseillé, mais en essayant d upgrader sur un serveur anciennement sous bind8 j obtiens cette erreur aussi (via apt-get install bind9 sous debian stable ETCH) ,

    y a t il un truc a faire de précis pour upgrader, j ai choisi N aux question me demandant si je voulais garder mes fichier de conf

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Problème avec bind
    Par CocoLeNain dans le forum Boost
    Réponses: 2
    Dernier message: 27/07/2013, 14h03
  2. Problème avec binding image wpf c#
    Par cocobelle89 dans le forum C#
    Réponses: 2
    Dernier message: 23/04/2013, 11h44
  3. Problème avec bind
    Par Pwato dans le forum Boost
    Réponses: 3
    Dernier message: 22/10/2012, 18h19
  4. Problème avec bind
    Par _mumu_ dans le forum Administration système
    Réponses: 5
    Dernier message: 03/09/2009, 12h43
  5. Probléme avec Bind
    Par rach20032 dans le forum Réseau
    Réponses: 2
    Dernier message: 06/07/2007, 11h36

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo