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.
Hey by me came that and i not visit what i must do…
root@e2dd2500-8b98-4d18-8e6e-de36a748b017:/usr/sbin# systemctl status apache2.service
* apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-08-11 12:43:47 UTC; 10s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 13158 ExecStart=/usr/sbin/apachectl start (code=exited, status=203/EXEC)
Aug 11 12:43:47 e2dd2500-8b98-4d18-8e6e-de36a748b017 systemd[1]: Starting The Apache HTTP Server...
Aug 11 12:43:47 e2dd2500-8b98-4d18-8e6e-de36a748b017 systemd[13158]: apache2.service: Failed to execute command: Permission denied
Aug 11 12:43:47 e2dd2500-8b98-4d18-8e6e-de36a748b017 systemd[13158]: apache2.service: Failed at step EXEC spawning /usr/sbin/apachectl: Permission denied
Aug 11 12:43:47 e2dd2500-8b98-4d18-8e6e-de36a748b017 systemd[1]: apache2.service: Control process exited, code=exited, status=203/EXEC
Aug 11 12:43:47 e2dd2500-8b98-4d18-8e6e-de36a748b017 systemd[1]: apache2.service: Failed with result 'exit-code'.
Aug 11 12:43:47 e2dd2500-8b98-4d18-8e6e-de36a748b017 systemd[1]: Failed to start The Apache HTTP Server.
code
Hello,
Yes indeed as Amiy mentioned you have a syntax error in your /etc/apache2/sites-enabled/000-default-le-ssl.conf
file on line 35, your /etc/letsencrypt/live/www.ccc.com/fullchain.pem
file seems to be missing. This probably happened during the Let’s Encrypt SSL installation.
What I could suggest is the following:
000-default-le-ssl.conf
Vhost completelysystemctl start apache2
Hope that this helps! Regards, Bobby
You have a syntax error and a missing SSL file.