logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 30-10-2015 19:23:41

Anonyme-13
Invité

[Résolu] Probleme lancement apache2

Bonjour mon serveur web apache2 ne se lance plus, alors qu'il marchait bien hier.

service apache2 start



Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.



systemctl status apache2.service



? apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2)
   Active: failed (Result: exit-code) since ven. 2015-10-30 19:16:18 CET; 2min 42s ago
  Process: 18073 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

oct. 30 19:16:18 DebFlo apache2[18073]: Starting web server: apache2 failed!
oct. 30 19:16:18 DebFlo apache2[18073]: The apache2 configtest failed. ... (....
oct. 30 19:16:18 DebFlo apache2[18073]: Output of config test was:
oct. 30 19:16:18 DebFlo apache2[18073]: apache2: Syntax error on line 177 of...y
oct. 30 19:16:18 DebFlo apache2[18073]: Action 'configtest' failed.
oct. 30 19:16:18 DebFlo apache2[18073]: The Apache error log may have more i....
oct. 30 19:16:18 DebFlo systemd[1]: apache2.service: control process exited...=1
oct. 30 19:16:18 DebFlo systemd[1]: Failed to start LSB: Apache2 web server.
oct. 30 19:16:18 DebFlo systemd[1]: Unit apache2.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.



journalctl -xn



-- Logs begin at ven. 2015-10-30 18:31:55 CET, end at ven. 2015-10-30 19:17:01 CET. --
oct. 30 19:16:18 DebFlo apache2[18073]: Output of config test was:
oct. 30 19:16:18 DebFlo apache2[18073]: apache2: Syntax error on line 177 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory
oct. 30 19:16:18 DebFlo apache2[18073]: Action 'configtest' failed.
oct. 30 19:16:18 DebFlo apache2[18073]: The Apache error log may have more information.
oct. 30 19:16:18 DebFlo systemd[1]: apache2.service: control process exited, code=exited status=1
oct. 30 19:16:18 DebFlo systemd[1]: Failed to start LSB: Apache2 web server.
-- Subject: L'unité (unit) apache2.service a échoué
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- L'unité (unit) apache2.service a échoué, avec le résultat failed.
oct. 30 19:16:18 DebFlo systemd[1]: Unit apache2.service entered failed state.
oct. 30 19:17:01 DebFlo CRON[18304]: pam_unix(cron:session): session opened for user root by (uid=0)
oct. 30 19:17:01 DebFlo CRON[18305]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
oct. 30 19:17:01 DebFlo CRON[18304]: pam_unix(cron:session): session closed for user root
 



cat /var/log/apache2/error.log.1


[Sun Oct 25 18:31:48.454963 2015] [mpm_event:notice] [pid 14085:tid 140029441529728] AH00489: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Sun Oct 25 18:31:48.455006 2015] [core:notice] [pid 14085:tid 140029441529728] AH00094: Command line: '/usr/sbin/apache2'
[Sun Oct 25 18:32:52.827155 2015] [mpm_event:notice] [pid 14085:tid 140029441529728] AH00491: caught SIGTERM, shutting down
[Sun Oct 25 18:32:53.864121 2015] [mpm_prefork:notice] [pid 16063] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Sun Oct 25 18:32:53.864170 2015] [core:notice] [pid 16063] AH00094: Command line: '/usr/sbin/apache2'
[Sun Oct 25 18:32:55.055563 2015] [mpm_prefork:notice] [pid 16063] AH00169: caught SIGTERM, shutting down
[Sun Oct 25 18:32:56.164194 2015] [mpm_prefork:notice] [pid 16178] AH00163: Apache/2.4.10 (Debian) configured -- resuming normal operations
[Sun Oct 25 18:32:56.164218 2015] [core:notice] [pid 16178] AH00094: Command line: '/usr/sbin/apache2'
[Sun Oct 25 18:50:09.356320 2015] [mpm_prefork:notice] [pid 16178] AH00169: caught SIGTERM, shutting down
[Sun Oct 25 18:50:10.438023 2015] [mpm_prefork:notice] [pid 25651] AH00163: Apache/2.4.10 (Debian) mpm-itk/2.4.7-02 configured -- resuming normal operations
[Sun Oct 25 18:50:10.438046 2015] [core:notice] [pid 25651] AH00094: Command line: '/usr/sbin/apache2'
[Sun Oct 25 22:27:18.872174 2015] [mpm_prefork:notice] [pid 25651] AH00169: caught SIGTERM, shutting down
 

Dernière modification par Anonyme-13 (07-11-2015 18:03:40)

#2 07-11-2015 18:03:15

Anonyme-13
Invité

Re : [Résolu] Probleme lancement apache2

En commentant certaines lignes qui posaient problème, il n'y avait plus de messages d'erreurs.
Cependant ma page HTML n'était plus affiché lors d'un localhost dans mon navigateur.
J'ai donc réinstallé apache2, et pour le moment ça remarche.

Pied de page des forums