netstat -anp | grep ":80 " Ca donne quoi ?
Le mardi 24 avril 2007 à 15:07 +0200, Eric Darchis a écrit : > Bonjour, > > J'ai un serveur installé en Fedora Core 6 depuis une semaine. Dessus > tournait un site en php et tout allait bien. > Puis tout d'un coup, quand je veux lancer apache, j'ai ça: > > [EMAIL PROTECTED] ~]# httpd > (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 > [EMAIL PROTECTED] ~]# lsof -i :80 > COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME > yum-updat 2769 root 8u IPv4 12806 TCP > savonnette.societe.loc:51123->benden.crazyfrogs.org:http (CLOSE_WAIT) > yum-updat 2769 root 9u IPv4 12811 TCP > savonnette.societe.loc:55482->fpserv.fedoraproject.org:http (CLOSE_WAIT) > yum-updat 2769 root 10u IPv4 12821 TCP > savonnette.societe.loc:51341->birr-if-a.mirrorservice.org:http (CLOSE_WAIT) > > Je suis certain que plus rien n'écoute sur le port 80, lsof -i et > netstat -ln à l'appui. > J'ai déjà essayé: > - un reboot du server (je sais, c'est très Windowsien mais quand rien ne > marche...) > - de supprimer les packages httpd, php, etc puis de les réinstaller > - restorecon -R /var/www et /var/log > - de définir le ServerName autrement > - de faire un bind sur l'interface 192.168....:80 spécifiquement > - un chmod -R 0777 /var/www /var/log/httpd > ... > > Evidemment, sur le net, on ne trouve que les gens qui ont effectivement > quelque chose à l'écoute sur le port 80. > > Des idées ? Moi, je sèche et je ne veux pas en arriver à réinstaller > pour le plaisir et que ça repète dans une semaine... > > Merci d'avance. > Eric. > > _______________________________________________________ > Linux Mailing List - http://www.unixtech.be > Subscribe/Unsubscribe: http://lists.unixtech.be/cgi-bin/mailman/listinfo/linux > Archives: http://www.mail-archive.com/linux@lists.unixtech.be > IRC: chat.unixtech.be:6667 - #unixtech > NNTP: news.gname.org - gmane.org.user-groups.linux.unixtech
_______________________________________________________ Linux Mailing List - http://www.unixtech.be Subscribe/Unsubscribe: http://lists.unixtech.be/cgi-bin/mailman/listinfo/linux Archives: http://www.mail-archive.com/linux@lists.unixtech.be IRC: chat.unixtech.be:6667 - #unixtech NNTP: news.gname.org - gmane.org.user-groups.linux.unixtech