Question
Problem starting Apache
Hello,
I really would appreciate your help. My website suddendly was down, and now I obtain the following:
systemctl status nginx apache2
Unit nginx.service could not be found.
● 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: failed (Result: exit-code) since Fri 2019-04-05 12:37:33 UTC; 1h 25min ago
Process: 976 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
Apr 05 12:37:33 host systemd[1]: Starting The Apache HTTP Server…
Apr 05 12:37:33 host apachectl[976]: AH00526: Syntax error on line 35 of /etc/apache2/sites-enabled/000-default-le-ssl.conf:
Apr 05 12:37:33 host apachectl[976]: SSLCertificateFile: file ’/etc/letsencrypt/live/www.ccc.com/fullchain.pem’ does not exist or is empty
Apr 05 12:37:33 host apachectl[976]: Action ‘start’ failed.
Apr 05 12:37:33 host apachectl[976]: The Apache error log may have more information.
Apr 05 12:37:33 host systemd[1]: apache2.service: Control process exited, code=exited status=1
Apr 05 12:37:33 host systemd[1]: apache2.service: Failed with result 'exit-code’.
Apr 05 12:37:33 host systemd[1]: Failed to start The Apache HTTP Server.
Anybody knows what can I do?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
You have a syntax error and a missing SSL file.