Rechercher : dans
Par :

Erreur au demarrage apache2

Dernière réponse le 31 déc 2007 à 00:26:27 asus02, le 30 déc 2007 à 22:22:53 
 Signaler ce message aux modérateurs

Bonjour,
je n'arrive plus a demarer apache2 voila le mess d'erreur :


/etc/init.d/apache2 restart

Forcing reload of web server (apache2)...apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
httpd (no pid file) not running
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(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
failed !

merci

Configuration: Windows XP
Firefox 2.0.0.11

1

lami20j, le 30 déc 2007 à 22:44:27

Salut,

affiche le résultat de

netstat -lpn | grep :80

lami20j

Répondre à lami20j

2

asus02, le 30 déc 2007 à 22:50:41

<Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom
<AF>=Use '-6|-4' or '-A <af>' or '--<af>'; default: inet
Liste les familles d'adresses possibles (supportant le routage):
inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
x25 (CCITT X.25)



tcp6 0 0 :::80 :::* LISTEN 2619/proftpd: (acce

Répondre à asus02

3

lami20j, le 30 déc 2007 à 23:21:57

Donc tu as déjà un service qui écoute sur le port 80, il s'agit de proftpd
Il faut que tu configure un autre port pour proftpd (met le port 21)
Voir le fichier de configuration de proftpd.

Ensuite tu redémarres proftpd

/etc/init.d/proftpd restart
et puis apache
/etc/init.d/apache2 start

lami20j

Répondre à lami20j

4

asus02, le 30 déc 2007 à 23:34:53

J'ai ce message

/etc/init.d/proftpd restart
Stopping ftp server: proftpd.
Starting ftp server: proftpd - IPv6 getaddrinfo 'acr.selfip.com' error: Name or service not known
- IPv6 getaddrinfo 'serveur' error: Name or service not known

Répondre à asus02

5

lami20j, le 30 déc 2007 à 23:42:47

Affiche

cat /etc/hosts

lami20j

Répondre à lami20j

6

asus02, le 31 déc 2007 à 00:08:37

Cat /etc/hosts
127.0.0.1 localhost
127.0.0.1 serveur

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

Répondre à asus02

7

 lami20j, le 31 déc 2007 à 00:26:27

Bon, pour l'instant c'est ton apache qui doit démarrer.
As-tu essayé de démarrer apache?
lami20j

Répondre à lami20j