Bonjour à tous,
J'espère que j'ai posté mon message au bonne endroit.
J'expose mon problème si quelqu'un peut m'aider parce que je ne sais plus quoi faire.
Suite à une manipulation d'un vhost (enfaite le vhost par default, je pouvais en tapant l'adresse du serveur voir le contenu du répertoire, donc j'ai essayé de bloquer l'accès) et maintenant j'ai tout gagné apache est inactif.
quand je redémarre apache ça marche :
parcontre si j'écris "service apache2 reload" ca me metCode:
1
2 /etc/init.d/apache2 restart [ ok ] Restarting apache2 (via systemctl): apache2.service.
quand je tape 'systemctl status apache2.service' ça me donne ça:Code:Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
et 'journalctl -xn'Code:
1
2
3
4
5
6
7
8
9
10 apache2.service - LSB: Apache2 web server Loaded: loaded (/etc/init.d/apache2) Drop-In: /lib/systemd/system/apache2.service.d └─forking.conf Active: inactive (dead) since ven. 2016-10-28 08:06:17 CEST; 1h 6min ago Process: 35038 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS) Process: 33164 ExecReload=/etc/init.d/apache2 reload (code=exited, status=0/SUCCESS) Process: 35030 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS) systemctl status apache2.service systemd[1]: Unit apache2.service cannot be reloaded because it is inactive.
Voila rien de plus intéressant dans les logs, quelqu'un à une idée ? je ne sais pas trop se que je dois faire ..Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 -- Logs begin at ven. 2016-10-28 06:32:57 CEST, end at ven. 2016-10-28 09:28:18 CEST. -- oct. 28 09:26:21 ntpd[558]: adjusting local clock by 939.781088s oct. 28 09:26:51 ntpd[558]: adjusting local clock by 939.766100s oct. 28 09:26:56 systemd[1]: Unit apache2.service cannot be reloaded because it is inactive. oct. 28 09:27:19 sshd[44427]: Connection closed by 127.0.0.1 [preauth] oct. 28 09:27:24 ntpd[558]: adjusting local clock by 939.749635s oct. 28 09:27:54 systemd[1]: Starting LSB: Apache2 web server... -- Subject: L'unité (unit) apache2.service a commencé à démarrer -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- L'unité (unit) apache2.service a commencé à démarrer. oct. 28 09:27:54 apache2[44446]: Starting web server: apache2. oct. 28 09:27:55 apache2[44454]: Stopping web server: apache2. oct. 28 09:27:55 systemd[1]: Started LSB: Apache2 web server. -- Subject: L'unité (unit) apache2.service a terminé son démarrage -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- L'unité (unit) apache2.service a terminé son démarrage, avec le résultat done. oct. 28 09:28:18 systemd[1]: Unit apache2.service cannot be reloaded because it is inactive.
Merci à ceux qui prendront le temps de me répondre