journalctl -u apache2.service --since today
, там увидел поврежденный файл конфигурации, исправил и все заработало. sudo service apache2 status
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: active (running)
apache2ctl -t
AH00526: Syntax error on line 15 of /etc/apache2/sites-enabled/*.loc.conf:
SSLCertificateKeyFile: file '/etc/ssl/private/server.key' does not exist or is empty
Action '-t' failed.
The Apache error log may have more information.