Wenn der Apache nicht mit systemctl gestartet werden kann und systemd diesen Fehler liefert:
● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled) Active: failed (Result: signal) since Fri 2018-10-12 18:55:13 CEST; 3min 0s ago Docs: man:httpd(8) man:apachectl(8) Process: 3398 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS) Process: 3411 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=killed, signal=KILL) Main PID: 3411 (code=killed, signal=KILL) Oct 12 18:52:13 www.example.com systemd[1]: Starting The Apache HTTP Server... Oct 12 18:53:43 www.example.com systemd[1]: httpd.service start operation timed out. Terminating. Oct 12 18:55:13 www.example.com systemd[1]: httpd.service stop-final-sigterm timed out. Killing. Oct 12 18:55:13 www.example.com systemd[1]: httpd.service: main process exited, code=killed, status=9/KIL Oct 12 18:55:13 www.example.com systemd[1]: Failed to start The Apache HTTP Server. Oct 12 18:55:13 www.example.com systemd[1]: Unit httpd.service entered failed state. Oct 12 18:55:13 www.example.com systemd[1]: httpd.service failed.
dann fehlt wahrscheinlich das entsprechende Modul:
LoadModule systemd_module modules/mod_systemd.so
Warum man auch immer… Bei systemd wunder ick mir über janüscht mehr.
Eigentlich sollte es auch ohne das Modul gehen: https://httpd.apache.org/docs/trunk/mod/mod_systemd.html