Bonjour , depuis quelques jours j’ai commander un vps ssh et le tout marchait bien dessus , jusqu’à un moment où le service apache2 ne marche plus malgré que je l’ai désinstaller et réinstaller plusieurs fois
donc en exécutant le service apache2 ça me met cette erreur et apache ne se lance pas
L’erreur :
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
et quand j’exécute systemctl status apache2.service
ça m’envoie ça :
apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2021-07-24 18:25:00 CEST; 6min ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 5431 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
Jul 24 18:25:00 vps80701 systemd[1]: Starting The Apache HTTP Server...
Jul 24 18:25:00 vps80701 apachectl[5431]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on li
Jul 24 18:25:00 vps80701 apachectl[5431]: Action 'start' failed.
Jul 24 18:25:00 vps80701 apachectl[5431]: The Apache error log may have more information.
Jul 24 18:25:00 vps80701 systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Jul 24 18:25:00 vps80701 systemd[1]: apache2.service: Failed with result 'exit-code'.
Jul 24 18:25:00 vps80701 systemd[1]: Failed to start The Apache HTTP Server.
Merci pour vote aide