I'm facing a strange problem: I got Apache2 installed on my CentOS7-based VPS.
If I reboot the container the httpd does not start:
After doing a restart of the service apache works.
What did I miss here?
If I reboot the container the httpd does not start:
Code:
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sa 2016-06-11 11:15:40 CEST; 1min 25s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 862 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 290 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 290 (code=exited, status=1/FAILURE)
Jun 11 11:15:40 test.example.org systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jun 11 11:15:40 test.example.org kill[862]: kill: cannot find process ""
Jun 11 11:15:40 test.example.org systemd[1]: httpd.service: control process exited, code=exited status=1
Jun 11 11:15:40 test.example.org systemd[1]: Failed to kill control group: Invalid argument
Jun 11 11:15:40 test.example.org systemd[1]: Failed to kill control group: Invalid argument
Jun 11 11:15:40 test.example.org systemd[1]: Failed to kill control group: Invalid argument
Jun 11 11:15:40 test.example.org systemd[1]: Failed to kill control group: Invalid argument
Jun 11 11:15:40 test.example.org systemd[1]: Failed to start The Apache HTTP Server.
Jun 11 11:15:40 test.example.org systemd[1]: Unit httpd.service entered failed state.
Jun 11 11:15:40 test.example.org systemd[1]: httpd.service failed.
After doing a restart of the service apache works.
What did I miss here?