ÃֽŠ°Ô½Ã±Û(OS/WAS)
2018.03.10 / 16:51

Job for httpd.service failed because the control process exited with error code. See "systemctl stat

µðÆÌ
Ãßõ ¼ö 246

Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.


I tried to restart my apache httpd afetr installing php56u from ius, and php56u-cli, but I got the following error message

~]$ sudo systemctl -l restart httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.s
ervice" and "journalctl -xe" for details.



Then I run the code as instructed on the error message as follows, and it generates the following message.

~]$ 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: exit-code) since Tue 2016-03-01 11:53:07 UTC; 15s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 28473 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 28471 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 28471 (code=exited, status=1/FAILURE)
Mar 01 11:53:07 myclasslist systemd[1]: Starting The Apache HTTP Server...
Mar 01 11:53:07 myclasslist httpd[28471]: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf...nfig
Mar 01 11:53:07 myclasslist systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Mar 01 11:53:07 myclasslist kill[28473]: kill: cannot find process ""
Mar 01 11:53:07 myclasslist systemd[1]: httpd.service: control process exited, code=exited status=1
Mar 01 11:53:07 myclasslist systemd[1]: Failed to start The Apache HTTP Server.
Mar 01 11:53:07 myclasslist systemd[1]: Unit httpd.service entered failed state.
Mar 01 11:53:07 myclasslist systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.



You need to fix the syntax error on line 353 of your config file.