logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 06-08-2012 14:21:06

hdahmani
Membre
Inscription : 31-05-2012

problème bind9

Tout d’abord merci de votre aide j’jusqu’a maintenant, mon serveur fonctionne en local mes pas en réseau je ne sais pas ci cela joue un rôle mes j’ai installé bind9 et j’ai un message d’erreur que je ne comprends pas, suivant ci je me loge en root  ou en utilisateur le message et légèrement différant :

root@atelier:/home/hdahmani# /etc/init.d/bind9 reload
Reloading domain name service...: bind9rndc: connect failed: 127.0.0.1#953: connection refused
 failed!
root@atelier:/home/hdahmani#

root@atelier:/home/hdahmani# /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!
root@atelier:/home/hdahmani#


hdahmani@atelier:~$ /etc/init.d/bind9 restart
Stopping domain name service...: bind9rndc: error: none:0: open: /etc/bind/rndc.key: permission denied
rndc: could not load rndc configuration
.
Starting domain name service...: bind9chmod: modification des permissions de « /var/run/named »: Opération non permise
hdahmani@atelier:~$

hdahmani@atelier:~$ /etc/init.d/bind9 reload
Reloading domain name service...: bind9rndc: error: none:0: open: /etc/bind/rndc.key: permission denied
rndc: could not load rndc configuration
 failed!
hdahmani@atelier:~$



Apparemment ci j’en crois le message il y à aussi un problème de droit ci quelqu’un peu pouvais m’aidé merci d’avance

Hors ligne

#2 06-08-2012 18:51:06

Dohri
Membre
Lieu : /home/dohri/canapé
Distrib. : Sid
Noyau : 3.10.1 amd64
Inscription : 19-12-2010
Site Web

Re : problème bind9

le problème de droit est juste lié au fait que tu ne peux relancer bind en utilisateur normal, rien d'inquiétant donc....
Pour le reste je me rappel plus trop le fonctionnement de bind mais il faudrait nous donner un aperçu de tes fichiers de conf pour voir si tout va bien....
et sinon tes logs disent quoi de beau???

Dernière modification par Dohri (06-08-2012 20:23:09)


Asus Zenbook ux32vd > Sid   |   eeepc 1215 > Sid + gnome  |   eeepc 1015 > Squeeze + gnome   |   sony vaio > Squeeze CLI   |   serveur home made > debian squeeze CLI

Hors ligne

#3 08-08-2012 10:45:19

hdahmani
Membre
Inscription : 31-05-2012

Re : problème bind9

bonjour, merci de ton aidecomme demander voilas mes fichiers :
le premier et named.conf

// 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";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";

zone "." {
    type hint;
    file "/etc/bind/db.root";
};

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

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

zone "atelierhenridahmani.com" {
     type master;
    file "/etc/bind/db.atelierhenridahmani.com";
    forwarders{};
};

zone "153.1.168.192.in-addr.arpa" {
     type mmaster;
    file "/etc/bind/db.atelierhenridahmani.com.inv";
    forwarders{};
};

zone "photartinternational.com" {
     type master;
    file "/etc/bind/db.photartinternational.com";
    forwaders{};
};

zone "153.1.168.192.in-addr.arpa" {
     type master;
     file "/etc/bind/db.photartinternational.com.inv";
     forwaders{};
};

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 "127.in-addr.arpa" {
     type master;
     file "/etc/bind/db.127";
};

Hors ligne

#4 08-08-2012 10:46:46

hdahmani
Membre
Inscription : 31-05-2012

Re : problème bind9

puis le fichier db.atelier:

$TTL    604800
@ IN SOA pgdebian.atelierhenridahmani.com. root.atelierhenridahmani.com.  (
        20041122   ; Serial  -> N° de série à incrémenter à chaque modif
                   ;            de ce fichier. Ce N° est utilisé par les
                   ;            serveurs esclaves pour lui indiquer qu'il
                   ;            doit mettre à jour sa base. Par commodité
                   ;            ce n° est une date à l'envers.
        604800     ;Refresh ->  A l'expiration du délai Refresh exprimé en
                   ;            secondes, le serveur excalve va entrer en
                   ;            communication avec le maitre et si il ne
                   ;            le trouve pas, il fera une nouvelle
                   ;            tentative au bout du délai Retry et si au
                   ;            bout du délai Expire il considerera que le
                   ;            serveur n'est plus disponible.
        86400      ; Retry
        2419200    ; Expire
        604800 )   ; Minimum -> Durée de vie minimum du cache en secondes


;** Les 3 lignes suivantes permettent au serveur de se retrouver lui même
               NS      pgdebian.atelierhenridahmani.com.        ;Nom du serveur
pgdebian        A       192.168.1.153                    ;Adresse IP du
                        168.192.in-addr.arpa              ;serveur de noms
pgdebian        HINFO   "PII 233 :-)" "Debian Testing"  ;Info
complèmentaire

;** Les lignes suivantes définissent la table entre les noms et les IP
pglinux         A       192.168.1.1
pg-cao          A       192.168.1.2
plgmao          A       192.168.1.9
cpi             A       192.168.1.10
prod            A       192.168.1.100
pgcie           A       10.2.2.1

;** Les lignes suivantes sont des alias entre des noms et des autres noms
pop             CNAME   pglinux
smtp            CNAME   pglinux
www             CNAME   pglinux
ldap            CNAME   pgdebian



$TTL    604800
@       IN      SOA     pgdebian.atelierhenridahmani.com.
root.atelierhenridahmani.com.  (
                      20041122        
                        604800        
                         86400        
                       2419200        
                        604800 )      

               NS      pgdebian.atelierhenridahmani.com.  

1               PTR     pglinux.atelierhenridahmani.com.  
2               PTR     pg-cao.atelierhenridahmani.com.  
3               PTR     pgdebian.atelierhenridahmani.com.  
9               PTR     plgmao.atelierhenridahmani.com.  
10              PTR     cpi.atelierhenridahmani.com.  
100             PTR     prod.atelierhenridahmani.com.  
 



et j'ai le même fichier pour photart

Hors ligne

#5 08-08-2012 10:52:42

hdahmani
Membre
Inscription : 31-05-2012

Re : problème bind9

mes log ne dise rien de spécial,

[Fri Aug 03 21:06:37 2012] [warn] child process 1281 still did not exit, sending a SIGTERM
[Fri Aug 03 21:06:37 2012] [warn] child process 1282 still did not exit, sending a SIGTERM
[Fri Aug 03 21:06:37 2012] [warn] child process 1283 still did not exit, sending a SIGTERM
[Fri Aug 03 21:06:37 2012] [warn] child process 1284 still did not exit, sending a SIGTERM
[Fri Aug 03 21:06:37 2012] [warn] child process 1285 still did not exit, sending a SIGTERM
[Fri Aug 03 21:06:37 2012] [warn] child process 2180 still did not exit, sending a SIGTERM
[Fri Aug 03 21:06:37 2012] [warn] child process 2182 still did not exit, sending a SIGTERM
[Fri Aug 03 21:06:37 2012] [warn] child process 2183 still did not exit, sending a SIGTERM
[Fri Aug 03 21:06:38 2012] [notice] caught SIGTERM, shutting down
[Fri Aug 03 21:09:11 2012] [notice] Apache/2.2.16 (Debian) configured -- resuming normal operations
[Fri Aug 03 21:10:06 2012] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico, referer: http://localhost/atelierhenridahmani.com/
[Fri Aug 03 21:16:32 2012] [notice] caught SIGTERM, shutting down
[Sun Aug 05 03:22:43 2012] [notice] Apache/2.2.16 (Debian) configured -- resuming normal operations





le server fonctionne en local maintenant mes pas en réseau!ci quelqu'un à une idée merci de votre aide

Hors ligne

#6 08-08-2012 11:55:21

captnfab
Admin-Girafe
Lieu : /dev/random
Distrib. : Debian
Noyau : Dur
(G)UI : gui gui, je zuis un doiseau
Inscription : 07-07-2008
Site Web

Re : problème bind9

On dirait que quelqu'un écoute déjà sur le port 953.

Que donne (en root) un

netstat -latpuen | grep 953


captnfab,
Association Debian-Facile, bépo.
TheDoctor: Your wish is my command… But be careful what you wish for.

Hors ligne

#7 12-08-2012 12:23:56

hdahmani
Membre
Inscription : 31-05-2012

Re : problème bind9

Salut, je t'envoi le résultat je t'avoue que je patauge !

root@atelier:/home/hdahmani# netstat -latpuen I GREP 953
Connexions Internet actives (serveurs et établies)
Proto Recv-Q Send-Q Adresse locale          Adresse distante        Etat        User       Inode       PID/Program name
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      109        5683        1566/mysqld    
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          3321        759/portmap    
tcp        0      0 0.0.0.0:48755           0.0.0.0:*               LISTEN      103        3359        771/rpc.statd  
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          4716        1311/cupsd      
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          6261        1991/exim4      
tcp6       0      0 :::80                   :::*                    LISTEN      0          4171        1182/apache2    
tcp6       0      0 ::1:631                 :::*                    LISTEN      0          4715        1311/cupsd      
tcp6       0      0 ::1:25                  :::*                    LISTEN      0          6262        1991/exim4      
udp        0      0 0.0.0.0:947             0.0.0.0:*                           0          3346        771/rpc.statd  
udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          4003        1075/dhclient  
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           104        3916        1065/avahi-daemon:
udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          3312        759/portmap    
udp        0      0 0.0.0.0:631             0.0.0.0:*                           0          4719        1311/cupsd      
udp        0      0 0.0.0.0:58524           0.0.0.0:*                           104        3918        1065/avahi-daemon:
udp        0      0 0.0.0.0:55332           0.0.0.0:*                           103        3356        771/rpc.statd  
udp6       0      0 :::60739                :::*                                104        3919        1065/avahi-daemon:
udp6       0      0 :::5353                 :::*                                104        3917        1065/avahi-daemon:
root@atelier:/home/hdahmani#

Hors ligne

#8 12-08-2012 12:38:22

hdahmani
Membre
Inscription : 31-05-2012

Re : problème bind9

root@atelier:/home/hdahmani# netstat -latpuen 1grep 953
Connexions Internet actives (serveurs et établies)
Proto Recv-Q Send-Q Adresse locale          Adresse distante        Etat        User       Inode       PID/Program name
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      109        5683        1566/mysqld    
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          3321        759/portmap    
tcp        0      0 0.0.0.0:48755           0.0.0.0:*               LISTEN      103        3359        771/rpc.statd  
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          4716        1311/cupsd      
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          6261        1991/exim4      
tcp        1      0 192.168.1.153:36571     212.85.158.4:80         CLOSE_WAIT  1000       17720       2577/epiphany-brows
tcp        1      0 192.168.1.153:36569     212.85.158.4:80         CLOSE_WAIT  1000       17707       2577/epiphany-brows
tcp        1      0 192.168.1.153:36562     212.85.158.4:80         CLOSE_WAIT  1000       17565       2577/epiphany-brows
tcp        1      0 192.168.1.153:53259     74.125.132.95:80        CLOSE_WAIT  1000       17954       2577/epiphany-brows
tcp        1      0 192.168.1.153:40123     74.125.230.204:443      CLOSE_WAIT  1000       17114       2577/epiphany-brows
tcp        1      0 192.168.1.153:36568     212.85.158.4:80         CLOSE_WAIT  1000       17706       2577/epiphany-brows
tcp        1      0 192.168.1.153:55923     80.232.240.248:80       CLOSE_WAIT  1000       17471       2577/epiphany-brows
tcp        1      0 192.168.1.153:36567     212.85.158.4:80         CLOSE_WAIT  1000       17705       2577/epiphany-brows
tcp        1      0 192.168.1.153:36570     212.85.158.4:80         CLOSE_WAIT  1000       17719       2577/epiphany-brows
tcp        1      0 192.168.1.153:40118     74.125.230.204:443      CLOSE_WAIT  1000       17107       2577/epiphany-brows
tcp        1      0 192.168.1.153:40119     74.125.230.204:443      CLOSE_WAIT  1000       17108       2577/epiphany-brows
tcp        1      0 192.168.1.153:40117     74.125.230.204:443      CLOSE_WAIT  1000       17106       2577/epiphany-brows
tcp        1      0 192.168.1.153:55924     80.232.240.248:80       CLOSE_WAIT  1000       17472       2577/epiphany-brows
tcp6       0      0 :::80                   :::*                    LISTEN      0          4171        1182/apache2    
tcp6       0      0 ::1:631                 :::*                    LISTEN      0          4715        1311/cupsd      
tcp6       0      0 ::1:25                  :::*                    LISTEN      0          6262        1991/exim4      
udp        0      0 0.0.0.0:947             0.0.0.0:*                           0          3346        771/rpc.statd  
udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          4003        1075/dhclient  
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           104        3916        1065/avahi-daemon:
udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          3312        759/portmap    
udp        0      0 0.0.0.0:631             0.0.0.0:*                           0          4719        1311/cupsd      
udp        0      0 0.0.0.0:58524           0.0.0.0:*                           104        3918        1065/avahi-daemon:
udp        0      0 0.0.0.0:55332           0.0.0.0:*                           103        3356        771/rpc.statd  
udp6       0      0 :::60739                :::*                                104        3919        1065/avahi-daemon:
udp6       0      0 :::5353                 :::*                                104        3917        1065/avahi-daemon:
root@atelier:/home/hdahmani#

Hors ligne

#9 12-08-2012 12:46:43

hdahmani
Membre
Inscription : 31-05-2012

Re : problème bind9

désoler, j'ai des problème pour identifier cette commande | en faite j'ai cce résultat !

root@atelier:/home/hdahmani# netstat -latpuen | grep 953
root@atelier:/home/hdahmani#

Hors ligne

#10 19-08-2012 15:50:31

hdahmani
Membre
Inscription : 31-05-2012

Re : problème bind9

Bonjour, Désolé de relancer ce message mes je ne parviens pas à solutionné mon problème mon site fonctionne en local mes impossible de l’installer en réseau de plus il y à une erreur avec bind9, donc ci quelqu’un pouvez me donner un coup de main merci d’avance

Hors ligne

#11 20-08-2012 12:53:38

captnfab
Admin-Girafe
Lieu : /dev/random
Distrib. : Debian
Noyau : Dur
(G)UI : gui gui, je zuis un doiseau
Inscription : 07-07-2008
Site Web

Re : problème bind9

Contrairement à ce que je pensais, aucun processus n'écoute sur le port 953. Donc je ne vois pas d'où vient le problème.

Si tu as modifié les fichiers de configurations, peut-être devrais-tu faire un purge (fait une sauvegarde des fichiers de conf que tu veux réutiliser avant), puis une réinstall ?

captnfab,
Association Debian-Facile, bépo.
TheDoctor: Your wish is my command… But be careful what you wish for.

Hors ligne

#12 22-08-2012 00:25:08

MaTTuX_
La Paillasse !!!
Lieu : Zoubidou-Land
Distrib. : 75 serveurs
Noyau : 3.2.0-4-amd64 <- et oui !!!
(G)UI : tty et ... pas gnome en tout cas....
Inscription : 28-05-2007

Re : problème bind9

Le firewall peut être? je te conseille d'utiliser le balise code pour poster tes fichiers de config parce que la c est impossible a lire.

\o/ Le closedSource c'est tabou on a viendra tous à bout \o/

Hors ligne

#13 22-08-2012 10:49:39

hdahmani
Membre
Inscription : 31-05-2012

Re : problème bind9

salut, comment ca ses impossible à lire tu à toute mes pages!,  je ne comprend pas quesque tu veux que je face ? tu peux expliquer comment utilisé le balise code comme tu dis ?!merci d'avance

Hors ligne

#14 22-08-2012 11:13:00

smolski
quasi...modo
Lieu : AIN
Distrib. : backports (buster) 10
Noyau : Linux 4.19.0-8-amd64
(G)UI : gnome
Inscription : 21-10-2008

Re : problème bind9

hdahmani,
il suffit d'encadrer tes textes de configuration entre les balises codes. ainsi :

[code]lignes de configuration[/code]


saque eud dun (patois chtimi : fonce dedans)

Hors ligne

Pied de page des forums