Apache_erreur_ httpd sur port 80

Fermé
myriam - 24 janv. 2008 à 17:17
 myriam - 25 janv. 2008 à 15:16
Bonjour, j'ai un problème lié à mon serveur Apache qui après son demarrage, refuse de s'arrêter etm'affiche une erreur de conflit avec un le prémier lancement du apache. Et même si je change de numero de port c'est la même chose. voici le message:


[root@localhost httpd]# service httpd start
Démarrage de 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

J'espère que pourra m'aider, je suis vraiment:confused

6 réponses

lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019 3 567
24 janv. 2008 à 19:17
Salut,

affiche le résultat de
netstat -lpn | grep :80
0
bonjours, merci de vous inquiéter de mon problème. La commande netstat -lpn m'affiche:

[root@localhost ~]# netstat -lpn | grep :80
tcp 0 0 :::8080 :::* LISTEN 7444/lt-httpd
tcp 0 0 :::80 :::* LISTEN 3575/lt-httpd

On voit bien que le demon est lancé sur le port 80 et 8080. C'est que j'ai remarqué , une fois lancé sur un port il ne veut plus quitter le port.
J'ai lui ai changer plusieurs fois le port, s'il se lance il n'accepte plus le redemarrage sur ce meme port et il faut necessairement un autre
0
lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019 3 567
25 janv. 2008 à 09:20
Salut,

donc tu as déjà un service qui écoute sur le port 80, ça doit être lighttpd
il faut d'abord l'arrêter et ensuite démarrer apache
0
Salut, ce quoi le lighttpd et comment on l'arrête
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019 3 567
25 janv. 2008 à 12:57
Salut,

affiche
ls /etc/init.d
ps aux | grep http
--

lami20j
0
Salut, voila resultats:

[root@localhost etc]# ls /etc/init.d
acpid cups-config-daemon gpm kadmin mysqld pcmcia rpcidmapd syslog
amd cyrus-imapd haldaemon kdcrotate named portmap rpcsvcgssd sysstat
anacron dc_client halt killall netdump postfix rstatd tux
apmd dc_server hidd kprop netdump-server postgresql rusersd ups
arptables_jf dhcp6s hpoj krb524 netfs privoxy rwalld vncserver
arpwatch dhcpd httpd krb5kdc netplugd psacct rwhod vsftpd
atalk dhcrelay iiim kudzu network radiusd saslauthd winbind
atd dictd innd ldap NetworkManager radvd sendmail xfs
autofs diskdump ip6tables lisa nfs rarpd single xinetd
bgpd dovecot ipsec lm_sensors nfslock readahead smartd ypbind
bluetooth dund iptables mailman nifd readahead_early smb yppasswdd
bootparamd exim ipvsadm mdmonitor nscd rhnsd snmpd ypserv
canna firstboot irda mdmpd ntpd ripd snmptrapd ypxfrd
cpuspeed FreeWnn irqbalance mDNSResponder ospf6d ripngd spamassassin yum
crond functions isdn messagebus ospfd routed squid zebra
cups gkrellmd isicom microcode_ctl pand rpcgssd sshd


Et en plus:

[root@localhost etc]# ps aux | grep http
root 3575 0.0 0.1 6064 2132 ? Ss Jan22 0:00 /usr/sbin/.libs/lt-httpd
daemon 3578 0.0 0.1 6204 2268 ? S Jan22 0:00 /usr/sbin/.libs/lt-httpd
daemon 3579 0.0 0.1 6204 2264 ? S Jan22 0:00 /usr/sbin/.libs/lt-httpd
daemon 3580 0.0 0.1 6204 2256 ? S Jan22 0:00 /usr/sbin/.libs/lt-httpd
daemon 3581 0.0 0.1 6204 2260 ? S Jan22 0:00 /usr/sbin/.libs/lt-httpd
daemon 3582 0.0 0.1 6204 2260 ? S Jan22 0:00 /usr/sbin/.libs/lt-httpd
daemon 3683 0.0 0.1 6204 2256 ? S Jan22 0:00 /usr/sbin/.libs/lt-httpd
root 7444 0.0 0.1 6380 2272 ? Ss Jan23 0:00 /usr/sbin/.libs/lt-httpd
daemon 7445 0.0 0.1 6380 2292 ? S Jan23 0:00 /usr/sbin/.libs/lt-httpd
daemon 7446 0.0 0.1 6380 2292 ? S Jan23 0:00 /usr/sbin/.libs/lt-httpd
daemon 7447 0.0 0.1 6380 2292 ? S Jan23 0:00 /usr/sbin/.libs/lt-httpd
daemon 7448 0.0 0.1 6380 2292 ? S Jan23 0:00 /usr/sbin/.libs/lt-httpd
daemon 7449 0.0 0.1 6380 2292 ? S Jan23 0:00 /usr/sbin/.libs/lt-httpd
root 7689 0.0 0.1 7732 2272 ? Ss Jan23 0:00 /usr/sbin/.libs/lt-httpd
daemon 7690 0.0 0.1 7732 2296 ? S Jan23 0:00 /usr/sbin/.libs/lt-httpd
daemon 7691 0.0 0.1 7732 2296 ? S Jan23 0:00 /usr/sbin/.libs/lt-httpd
daemon 7692 0.0 0.1 7732 2296 ? S Jan23 0:00 /usr/sbin/.libs/lt-httpd
daemon 7693 0.0 0.1 7732 2296 ? S Jan23 0:00 /usr/sbin/.libs/lt-httpd
daemon 7694 0.0 0.1 7732 2296 ? S Jan23 0:00 /usr/sbin/.libs/lt-httpd
root 11292 0.0 0.1 7040 2272 ? Ss Jan24 0:00 /usr/sbin/.libs/lt-httpd
daemon 11293 0.0 0.1 7040 2296 ? S Jan24 0:00 /usr/sbin/.libs/lt-httpd
daemon 11294 0.0 0.1 7040 2296 ? S Jan24 0:00 /usr/sbin/.libs/lt-httpd
daemon 11295 0.0 0.1 7040 2296 ? S Jan24 0:00 /usr/sbin/.libs/lt-httpd
daemon 11296 0.0 0.1 7040 2296 ? S Jan24 0:00 /usr/sbin/.libs/lt-httpd
daemon 11297 0.0 0.1 7040 2296 ? S Jan24 0:00 /usr/sbin/.libs/lt-httpd
root 11696 0.0 0.1 7652 2268 ? Ss Jan24 0:00 /usr/sbin/.libs/lt-httpd
daemon 11697 0.0 0.1 7652 2292 ? S Jan24 0:00 /usr/sbin/.libs/lt-httpd
daemon 11698 0.0 0.1 7652 2292 ? S Jan24 0:00 /usr/sbin/.libs/lt-httpd
daemon 11699 0.0 0.1 7652 2292 ? S Jan24 0:00 /usr/sbin/.libs/lt-httpd
daemon 11700 0.0 0.1 7652 2292 ? S Jan24 0:00 /usr/sbin/.libs/lt-httpd
daemon 11701 0.0 0.1 7652 2292 ? S Jan24 0:00 /usr/sbin/.libs/lt-httpd
root 11764 0.0 0.1 5884 2272 ? Ss Jan24 0:00 /usr/sbin/.libs/lt-httpd
daemon 11765 0.0 0.1 5884 2296 ? S Jan24 0:00 /usr/sbin/.libs/lt-httpd
daemon 11766 0.0 0.1 5884 2296 ? S Jan24 0:00 /usr/sbin/.libs/lt-httpd
daemon 11767 0.0 0.1 5884 2296 ? S Jan24 0:00 /usr/sbin/.libs/lt-httpd
daemon 11768 0.0 0.1 5884 2296 ? S Jan24 0:00 /usr/sbin/.libs/lt-httpd
daemon 11769 0.0 0.1 5884 2296 ? S Jan24 0:00 /usr/sbin/.libs/lt-httpd
root 12405 0.0 0.1 6728 2276 ? Ss Jan24 0:00 /usr/sbin/.libs/lt-httpd
daemon 12406 0.0 0.1 6728 2300 ? S Jan24 0:00 /usr/sbin/.libs/lt-httpd
daemon 12407 0.0 0.1 6728 2300 ? S Jan24 0:00 /usr/sbin/.libs/lt-httpd
daemon 12408 0.0 0.1 6728 2300 ? S Jan24 0:00 /usr/sbin/.libs/lt-httpd
daemon 12409 0.0 0.1 6728 2300 ? S Jan24 0:00 /usr/sbin/.libs/lt-httpd
daemon 12410 0.0 0.1 6728 2300 ? S Jan24 0:00 /usr/sbin/.libs/lt-httpd
root 15072 0.0 1.0 29468 15592 pts/3 S+ 09:50 0:01 gedit /usr/local/apache2/conf/httpd.conf
root 15653 0.0 0.0 4832 756 pts/5 S+ 15:09 0:00 grep http
0