Problème avec Apache2 ...

Fermé
TheAdriCraft_YT Messages postés 33 Date d'inscription vendredi 2 septembre 2016 Statut Membre Dernière intervention 19 avril 2017 - 13 avril 2017 à 20:23
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 - 16 avril 2017 à 20:45
Bonjour tout le monde j'ai actuellement un problème sur ma machine...
Voici ce que sa me met :

root@debian:~# sudo /etc/init.d/apache2 restart
[....] Restarting apache2 (via systemctl): apache2.serviceJob for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
failed!
root@debian:~# systemctl status apache2.service
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Drop-In: /lib/systemd/system/apache2.service.d
└─forking.conf
Active: failed (Result: exit-code) since jeu. 2017-04-13 20:19:23 CEST; 19s ago
Process: 17728 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

avril 13 20:19:23 debian apache2[17728]: Starting web server: apache2 failed!
avril 13 20:19:23 debian apache2[17728]: The apache2 configtest failed. ... (warning).
avril 13 20:19:23 debian apache2[17728]: Output of config test was:
avril 13 20:19:23 debian apache2[17728]: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled... directory
avril 13 20:19:23 debian apache2[17728]: Action 'configtest' failed.
avril 13 20:19:23 debian apache2[17728]: The Apache error log may have more information.
avril 13 20:19:23 debian systemd[1]: apache2.service: control process exited, code=exited status=1
avril 13 20:19:23 debian systemd[1]: Failed to start LSB: Apache2 web server.
avril 13 20:19:23 debian systemd[1]: Unit apache2.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
root@debian:~#

Si quelqu'un peut m'aider :)
A voir également:

1 réponse

zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 6 407
13 avril 2017 à 23:53
Salut,

avril 13 20:19:23 debian apache2[17728]: Output of config test was:
avril 13 20:19:23 debian apache2[17728]: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled... directory

1
TheAdriCraft_YT Messages postés 33 Date d'inscription vendredi 2 septembre 2016 Statut Membre Dernière intervention 19 avril 2017 1
15 avril 2017 à 20:23
Voici ce que j'ai :

# Include module configuration:
Ligne 140IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf
0
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 6 407 > TheAdriCraft_YT Messages postés 33 Date d'inscription vendredi 2 septembre 2016 Statut Membre Dernière intervention 19 avril 2017
15 avril 2017 à 20:27
C'est quoi cette ligne qui commence par "ligne 140" ???
0
TheAdriCraft_YT Messages postés 33 Date d'inscription vendredi 2 septembre 2016 Statut Membre Dernière intervention 19 avril 2017 1
15 avril 2017 à 20:28
Pour dire que c'est la ligne 140 tkt
0
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 6 407 > TheAdriCraft_YT Messages postés 33 Date d'inscription vendredi 2 septembre 2016 Statut Membre Dernière intervention 19 avril 2017
15 avril 2017 à 20:32
Ok. Et il y a quoi dans "Syntax error on line 1 of /etc/apache2/mods-enabled... directory" ?
0
TheAdriCraft_YT Messages postés 33 Date d'inscription vendredi 2 septembre 2016 Statut Membre Dernière intervention 19 avril 2017 1
15 avril 2017 à 20:33
Ben c'est le dossier que veux tu que je donne?
0