[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[stretch]Apache2 ne démarre pas après reboot



Bonjour à vous,

Sur mon pc de la maison fraîchement upgradé en stretch, je rencontre un problème avec apache2 qui n'est plus fonctionnel après reboot de la machine.

Les logs ? Et bien ils ne sont pas consultables tout simplement parce que le répertoire /var/log/apache2 n'existe pas. Voici ce que donne journalctl -xe :

root@G41MDEB:/home/kristof# systemctl status apache2.service
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2017-04-13 17:05:32 CEST; 14min ago

avril 13 17:05:27 G41MDEB systemd[1]: Starting The Apache HTTP Server...
avril 13 17:05:32 G41MDEB apachectl[661]: (2)No such file or directory: AH02291: Cannot access directory '/var/log/apache2/' for main error log avril 13 17:05:32 G41MDEB apachectl[661]: (2)No such file or directory: AH02291: Cannot access directory '/var/log/apache2/' for error log of vhost avril 13 17:05:32 G41MDEB apachectl[661]: AH00014: Configuration check failed
avril 13 17:05:32 G41MDEB apachectl[661]: Action 'start' failed.
avril 13 17:05:32 G41MDEB apachectl[661]: The Apache error log may have more information. avril 13 17:05:32 G41MDEB systemd[1]: apache2.service: Control process exited, code=exited status=1 avril 13 17:05:32 G41MDEB systemd[1]: Failed to start The Apache HTTP Server. avril 13 17:05:32 G41MDEB systemd[1]: apache2.service: Unit entered failed state. avril 13 17:05:32 G41MDEB systemd[1]: apache2.service: Failed with result 'exit-code'.

Si je créé le répertoire manuellement ou que je ré-installe et que je relance apache2, cela fonctionne mais après le reboot, le répertoire de log n'existe plus.

Quelqu'un aurait une idée de ce qui peut se passer svp ?

Sincèrement,

Christophe De Natale


Reply to: