Bonjour,
Me v’la face à un nouveau problème auquel je ne sais pas quoi faire pour le résoudre.
Je suis en train de monter un réseau avec une débian squeeze. J’ai 2 interface réseau eth0 pour le Routeur et eth1 pour le LAN. En suivant des tutos, j’ai installé un serveur DHCP, APACHE2, BIND9 ( que j’ai très peu configuré) SAMBA avec un annuaire LDAP et phpldapadmin. Tout a fonctionnait bien jusqu’a ce que sans que je comprenne pourquoi apache2 et bind9 ont arrêté de fonctionner.
/etc/init.d/apache2 restart
Restarting web server: apache2(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
failed!
/etc/init.d/bind9 restart
Stopping domain name service...: bind9 waiting for pid 1557 to die.
Starting domain name service...: bind9.
Je ne sais pas comment interpréter ces messages ni comment savoir ou se trouve l’erreur…
Je ne sais pas par exemple pourquoi j’ai 0.0.0.0:80
netstat -tlnp
Connexions Internet actives (seulement serveurs)
Proto Recv-Q Send-Q Adresse locale Adresse distante Etat PID/Program name
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 995/portmap
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1663/lighttpd
tcp 0 0 192.168.8.1:53 0.0.0.0:* LISTEN 2818/named
tcp 0 0 192.168.1.2:53 0.0.0.0:* LISTEN 2818/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 2818/named
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2134/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2080/cupsd
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 2818/named
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2143/exim4
tcp 0 0 0.0.0.0:43553 0.0.0.0:* LISTEN 1007/rpc.statd
tcp 0 0 0.0.0.0:389 0.0.0.0:* LISTEN 2238/slapd
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1562/mysqld
tcp6 0 0 :::80 :::* LISTEN 1663/lighttpd
tcp6 0 0 :::53 :::* LISTEN 2818/named
tcp6 0 0 :::22 :::* LISTEN 2134/sshd
tcp6 0 0 ::1:631 :::* LISTEN 2080/cupsd
tcp6 0 0 ::1:953 :::* LISTEN 2818/named
tcp6 0 0 ::1:25 :::* LISTEN 2143/exim4
tcp6 0 0 :::445 :::* LISTEN 2291/smbd
tcp6 0 0 :::389 :::* LISTEN 2238/slapd
tcp6 0 0 :::139 :::* LISTEN 2291/smbd
merci de votre aide.