service apache2 restart
apache ne veut plus demarrer
Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details
journalctl -xn
-- Logs begin at Fri 2018-01-12 16:51:04 MSK, end at Fri 2018-01-12 17:17:56 MSK. --
Jan 12 17:17:56 vps-2071-nextwab apache2[848]: Starting web server: apache2 failed!
Jan 12 17:17:56 vps-2071-nextwab apache2[848]: The apache2 configtest failed. ... (warning).
Jan 12 17:17:56 vps-2071-nextwab apache2[848]: Output of config test was:
Jan 12 17:17:56 vps-2071-nextwab apache2[848]: AH00526: Syntax error on line 1 of /etc/apache2/sites-enable
Jan 12 17:17:56 vps-2071-nextwab apache2[848]: Invalid command 'lHost', perhaps misspelled or defined by a
Jan 12 17:17:56 vps-2071-nextwab apache2[848]: Action 'configtest' failed.
Jan 12 17:17:56 vps-2071-nextwab apache2[848]: The Apache error log may have more information.
Jan 12 17:17:56 vps-2071-nextwab systemd[1]: apache2.service: control process exited, code=exited status=1
Jan 12 17:17:56 vps-2071-nextwab systemd[1]: Failed to start LSB: Apache2 web server.
-- Subject: Unit apache2.service has failed
-- Defined-By: systemd
--
-- Unit apache2.service has failed.
--
-- The result is failed.
je plein de conneries ;)