Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 25/02/2020, à 17:02

tk8

Apache ne veut plus se lancer !

salut a tous ,

ça fait longtemps que j'ai pas programmé en web , mais pour les besoins d'un projet , depuis hier j'essaye d'installer LAMP ( avec les paquets) et  XAMPP ( tout pret sur le site )
mais comme un con indécis j'ai enchainé les installations - désinstallations de l'un et de l'autre par soucis de connexion a Phpmyadmin ... ( je précise ça car j'ai peur que mon problème vienne de ces installations et désinstallations successives ) , bref maintenant en essayant avec les packets , Apache veux plus se lancer et j'ai ça comme retours :

mohand@mohand-VivoBook-ASUSLaptop-X412DA-X412DA:~$ service apache2 start
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
mohand@mohand-VivoBook-ASUSLaptop-X412DA-X412DA:~$ service apache2 restart
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
mohand@mohand-VivoBook-ASUSLaptop-X412DA-X412DA:~$ service apache2 reload
apache2.service is not active, cannot reload.
mohand@mohand-VivoBook-ASUSLaptop-X412DA-X412DA:~$ sudo systemctl -l status apache2
● apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: 
  Drop-In: /lib/systemd/system/apache2.service.d
           └─apache2-systemd.conf
   Active: failed (Result: exit-code) since Tue 2020-02-25 15:44:04 CET; 29s ago
  Process: 18862 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAIL

févr. 25 15:44:04 mohand-VivoBook-ASUSLaptop-X412DA-X412DA apachectl[18862]: (98
févr. 25 15:44:04 mohand-VivoBook-ASUSLaptop-X412DA-X412DA apachectl[18862]: (98
févr. 25 15:44:04 mohand-VivoBook-ASUSLaptop-X412DA-X412DA apachectl[18862]: no 
févr. 25 15:44:04 mohand-VivoBook-ASUSLaptop-X412DA-X412DA apachectl[18862]: AH0
févr. 25 15:44:04 mohand-VivoBook-ASUSLaptop-X412DA-X412DA apachectl[18862]: Act
févr. 25 15:44:04 mohand-VivoBook-ASUSLaptop-X412DA-X412DA apachectl[18862]: The
févr. 25 15:44:04 mohand-VivoBook-ASUSLaptop-X412DA-X412DA systemd[1]: apache2.s
févr. 25 15:44:04 mohand-VivoBook-ASUSLaptop-X412DA-X412DA systemd[1]: apache2.s
févr. 25 15:44:04 mohand-VivoBook-ASUSLaptop-X412DA-X412DA systemd[1]: Failed to
févr. 25 15:44:18 mohand-VivoBook-ASUSLaptop-X412DA-X412DA systemd[1]: apache2.s
lines 1-17/17 (END)...skipping...
● apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
  Drop-In: /lib/systemd/system/apache2.service.d
           └─apache2-systemd.conf
   Active: failed (Result: exit-code) since Tue 2020-02-25 15:44:04 CET; 29s ago
  Process: 18862 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

févr. 25 15:44:04 mohand-VivoBook-ASUSLaptop-X412DA-X412DA apachectl[18862]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
févr. 25 15:44:04 mohand-VivoBook-ASUSLaptop-X412DA-X412DA apachectl[18862]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
févr. 25 15:44:04 mohand-VivoBook-ASUSLaptop-X412DA-X412DA apachectl[18862]: no listening sockets available, shutting down
févr. 25 15:44:04 mohand-VivoBook-ASUSLaptop-X412DA-X412DA apachectl[18862]: AH00015: Unable to open logs
févr. 25 15:44:04 mohand-VivoBook-ASUSLaptop-X412DA-X412DA apachectl[18862]: Action 'start' failed.
févr. 25 15:44:04 mohand-VivoBook-ASUSLaptop-X412DA-X412DA apachectl[18862]: The Apache error log may have more information.
févr. 25 15:44:04 mohand-VivoBook-ASUSLaptop-X412DA-X412DA systemd[1]: apache2.service: Control process exited, code=exited status=1
févr. 25 15:44:04 mohand-VivoBook-ASUSLaptop-X412DA-X412DA systemd[1]: apache2.service: Failed with result 'exit-code'.
févr. 25 15:44:04 mohand-VivoBook-ASUSLaptop-X412DA-X412DA systemd[1]: Failed to start The Apache HTTP Server.
févr. 25 15:44:18 mohand-VivoBook-ASUSLaptop-X412DA-X412DA systemd[1]: apache2.service: Unit cannot be reloaded because it is inactive.  

Aidez moi svp pour que je commence mon travail .

Dernière modification par tk8 (Le 25/02/2020, à 21:15)

Hors ligne

#2 Le 25/02/2020, à 19:19

krodelabestiole

Re : Apache ne veut plus se lancer !

(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80

un service écoute déjà sur le port 80. il ne peut y en avoir qu'un.

pour lister les process :

netstat -ltnp

ou plus spécifiquement :

netstat -ltnp | grep ':80 '

Hors ligne

#3 Le 25/02/2020, à 20:00

bruno

Re : Apache ne veut plus se lancer !

Merci de modifier ton premier message pour mettre les retours de commandes dans des balises [ code ] :
1369358014.gif

Hors ligne