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?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.