See "systemctl status apache2.service" and "journalctl -xe" for details. code example Example: systemctl status apache2.service journalctl | tail