Failure - why sudo systemctl restart apache2
I keep getting this. I've deleted 3 Linodes today because of it. Can anybody tell me what's going on. This Linode is Ubuntu but also had it on Debian.
$ 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.
2 Replies
There are several potential causes for Apache to be unable to restart. You'll need to use the command systemctl status apache2.service
for more information about why the service could not be started; your Apache error log and journalctl -xe
should have additional information as well. Depending on which error prevented Apache from restarting, you may want to review our guide to troubleshooting Apache as well.