sudo systemctl restart apache2 Job for apache2.service failed because the control process exited with error code. code example Example: systemctl status apache2.service journalctl | tail