Forgive me if I am missing something obvious - I set my site up a year ago, and have not touched it for nearly 9 months. I’ll admit I’m struggling a bit to remember how everything works.
DigitalOcean emailed me to say my droplet had been rebooted. I checked my website and could not load it. I could not even connect to the server via SSH, so I power cycled the droplet. This fixed my terminal access issue, but now that I’m in there, I can’t get Apache to restart. I’ve checked the logs, as the system suggested (see below), but I’m still at a loss to what the actual issue is.
To the best of my knowledge, the site was working properly prior to the reboot. No other changes have been made. Has anyone else had this issue? If so, how did you resolve it? Thanks!
xx@enorugby:~$ sudo systemctl restart apache2 Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details. xx@enorugby:~$ systemctl status apache2.service ● 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 Thu 2019-10-31 20:55:19 UTC; 27s ago Process: 2865 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE) xx@enorugby:~$ journalctl -xe Hint: You are currently not seeing messages from other users and the system. Users in groups 'adm', 'systemd-journal' can see all messages. Pass -q to turn off this notice. -- -- Unit UNIT has finished starting up. -- -- The start-up result is RESULT. Oct 31 20:44:15 enorugby.com systemd: Reached target Basic System. -- Subject: Unit UNIT has finished start-up -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- Unit UNIT has finished starting up. -- -- The start-up result is RESULT. Oct 31 20:44:15 enorugby.com systemd: Reached target Default. -- Subject: Unit UNIT has finished start-up -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- Unit UNIT has finished starting up. -- -- The start-up result is RESULT. Oct 31 20:44:15 enorugby.com systemd: Startup finished in 71ms. -- Subject: User manager start-up is now complete -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- The user manager instance for user 1000 has been started. All services queued for starting have been started. Note that other services might still be starting up or be started at any later time. -- -- Startup of the manager took 71934 microseconds.
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!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!