The httpd service failed to restart with the following errors.
[root@localhost ~]# time systemctl restart httpd Job for httpd.service failed because a fatal signal was delivered to the control process. See "systemctl status httpd.service" and "journalctl -xe" for details.
Checking status of httpd service as below, there are operation timed out and stop-final-sigterm timed out and then httpd service was terminated and killed when starting it.
[root@localhost ~]# systemctl status httpd.service httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled) Active: failed (Result: signal) since Mon 2018-01-08 17:03:30 KST; 22s ago Docs: man:httpd(8) man:apachectl(8) Process: 20863 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=killed, signal=KILL) Main PID: 20863 (code=killed, signal=KILL) CGroup: /system.slice/httpd.service Jan 08 17:00:29 hostname systemd: Starting The Apache HTTP Server... Jan 08 17:01:59 hostname systemd: httpd.service start operation timed out. Terminating. Jan 08 17:03:30 hostname systemd: httpd.service stop-final-sigterm timed out. Killing. Jan 08 17:03:30 hostname systemd: httpd.service: main process exited, code=killed, status=9/KILL Jan 08 17:03:30 hostname systemd: Failed to start The Apache HTTP Server. Jan 08 17:03:30 hostname systemd: Unit httpd.service entered failed state. Jan 08 17:03:30 hostname systemd: httpd.service failed.
Red Hat Enterprise Linux (RHEL) 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.