Bonjour,
J’ai passé mon serveur vers Jessie et je rencontre quelques problèmes avec Apache2 qui ne veut pas démarrer.
Quand je le démarre [mono]service apache2 start[/mono] j’obtiens l’erreur suivante :
[....] Starting web server: apache2apache2: Syntax error on line 244 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/mods-enabled/authz_default.load: No such file or directory
Action 'start' failed.
The Apache error log may have more information.
failed!
J’ai cherché et j’ai trouvé que la solution où il faut commenter la ligne 244 ([mono]Include mods-enabled/*.load[/mono]) du fichier [mono]/etc/apache2/apache2.conf[/mono]
Après l’avoir commenté, en démarrant apache2 j’obtiens l’erreur suivante :
[....] Starting web server: apache2AH00534: apache2: Configuration error: No MPM loaded.
Action 'start' failed.
The Apache error log may have more information.
failed!
J’ai cherché, mais je ne trouve pas de solution
Voici quelques informations : [mono]apache2 -v[/mono]
Server version: Apache/2.4.10 (Debian)
Server built: Mar 15 2015 09:51:43
Coté erreur dans les logs (error.log) je n’ai que ca :
[quote][Wed Apr 29 21:26:22 2015] [error] [client 5.135.99.30] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Wed Apr 29 21:39:22 2015] [error] [client 5.189.144.143] File does not exist: /var/www/webdav
[Wed Apr 29 22:47:35 2015] [notice] caught SIGTERM, shutting down
[Wed Apr 29 22:47:36 2015] [notice] Apache/2.2.22 (Debian) PHP/5.4.39-0+deb7u2 configured – resuming normal operations
[Wed Apr 29 22:53:57 2015] [notice] caught SIGTERM, shutting down
[Wed Apr 29 22:53:58 2015] [notice] Apache/2.2.22 (Debian) PHP/5.4.39-0+deb7u2 configured – resuming normal operations
[Wed Apr 29 23:06:38 2015] [notice] caught SIGTERM, shutting down
[/quote]
Je n’ai pas trouvé d’autres logs qui pourrait aider quant aux problèmes
EDIT :
Voici quelques petits points en plus que je viens de
[mono]apache2 -l[/mono]
Compiled in modules:
core.c
mod_so.c
mod_watchdog.c
http_core.c
mod_log_config.c
mod_logio.c
mod_version.c
mod_unixd.c
[mono]apache2 -t -D DUMP_MODULES[/mono]
[Thu Apr 30 14:23:10.790508 2015] [core:warn] [pid 18270] AH00111: Config variable ${APACHE_LOCK_DIR} is not defined
[Thu Apr 30 14:23:10.790924 2015] [core:warn] [pid 18270] AH00111: Config variable ${APACHE_PID_FILE} is not defined
[Thu Apr 30 14:23:10.791191 2015] [core:warn] [pid 18270] AH00111: Config variable ${APACHE_RUN_USER} is not defined
[Thu Apr 30 14:23:10.791353 2015] [core:warn] [pid 18270] AH00111: Config variable ${APACHE_RUN_GROUP} is not defined
[Thu Apr 30 14:23:10.791534 2015] [core:warn] [pid 18270] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Thu Apr 30 14:23:10.792918 2015] [core:warn] [pid 18270] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Thu Apr 30 14:23:10.793805 2015] [core:warn] [pid 18270] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Thu Apr 30 14:23:10.794018 2015] [core:warn] [pid 18270] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
AH00534: apache2: Configuration error: No MPM loaded.
De ce que je comprends il faudrait que j’active le module worker.c (ou un autre, mais je pense que celui-ci est le plus adapté), je fais l’installation : [mono]aptitude install apache2-mpm-worker[/mono]
Apache2 redémarre, mais cela a créé quelques soucis (une erreur sur apache2 : plus aucun site n’est accessible)
Je refais un [mono]apache2 -t -D DUMP_MODULES[/mono] qui m’affiche :
[quote][Thu Apr 30 14:42:33.749175 2015] [core:warn] [pid 31810] AH00111: Config variable ${APACHE_LOCK_DIR} is not defined
[Thu Apr 30 14:42:33.749824 2015] [core:warn] [pid 31810] AH00111: Config variable ${APACHE_PID_FILE} is not defined
[Thu Apr 30 14:42:33.749979 2015] [core:warn] [pid 31810] AH00111: Config variable ${APACHE_RUN_USER} is not defined
[Thu Apr 30 14:42:33.750107 2015] [core:warn] [pid 31810] AH00111: Config variable ${APACHE_RUN_GROUP} is not defined
[Thu Apr 30 14:42:33.750276 2015] [core:warn] [pid 31810] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Thu Apr 30 14:42:33.804833 2015] [core:warn] [pid 31810] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf:
Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}
[/quote]
là je ne vois pas trop comment régler ces derniers soucis, et je ne vois pas pourquoi plus rien n’est accessible (apparemment apache2 ne lis pas dans /var/www)
Merci par avance si vous pouvez m’apporter votre aide pour la résolution de ce problème !