Code : Tout sélectionner
sudo systemctl restart apache2
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
Code : Tout sélectionner
sudo systemctl status apache2
[sudo] Mot de passe de philippe :
● 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-12-18 12:16:49 CET; 39min ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 3331 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
déc. 18 12:16:49 philippe-Aspire-8735 systemd[1]: Starting The Apache HTTP Server...
déc. 18 12:16:49 philippe-Aspire-8735 apachectl[3339]: AH00526: Syntax error on line 229 of /etc/apache2/apache2.conf:
déc. 18 12:16:49 philippe-Aspire-8735 apachectl[3339]: Invalid command 'Server', perhaps misspelled or defined by a module not included in the server configuration
déc. 18 12:16:49 philippe-Aspire-8735 apachectl[3331]: Action 'start' failed.
déc. 18 12:16:49 philippe-Aspire-8735 apachectl[3331]: The Apache error log may have more information.
déc. 18 12:16:49 philippe-Aspire-8735 systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
déc. 18 12:16:49 philippe-Aspire-8735 systemd[1]: apache2.service: Failed with result 'exit-code'.
déc. 18 12:16:49 philippe-Aspire-8735 systemd[1]: Failed to start The Apache HTTP Server.
Code : Tout sélectionner
Server Tokens ProdMerci de votre aide