Problème avec Apache2 ...

TheAdriCraft_YT Messages postés 35 Statut Membre -  
zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   -
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 :)

1 réponse

  1. zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   6 501
     
    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
    1. TheAdriCraft_YT Messages postés 35 Statut Membre 1
       
      Voici ce que j'ai :

      # Include module configuration:
      Ligne 140IncludeOptional mods-enabled/*.load
      IncludeOptional mods-enabled/*.conf
      0
    2. zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   6 501 > TheAdriCraft_YT Messages postés 35 Statut Membre
       
      C'est quoi cette ligne qui commence par "ligne 140" ???
      0
    3. TheAdriCraft_YT Messages postés 35 Statut Membre 1
       
      Pour dire que c'est la ligne 140 tkt
      0
    4. zipe31 Messages postés 34620 Date d'inscription   Statut Contributeur Dernière intervention   6 501 > TheAdriCraft_YT Messages postés 35 Statut Membre
       
      Ok. Et il y a quoi dans "Syntax error on line 1 of /etc/apache2/mods-enabled... directory" ?
      0
    5. TheAdriCraft_YT Messages postés 35 Statut Membre 1
       
      Ben c'est le dossier que veux tu que je donne?
      0