Service Httpd



Service httpd restart

Mar 16 07:30:08 server.mydomain.org systemd1: httpd.service: control process exited, code=exited status=1 Mar 16 07:30:08 server.mydomain.org systemd1: Failed to start The Apache HTTP Server. Subject: Unit httpd.service has failed. For example, in Ubuntu and other Debian based distributions, the Apache service is named apache2. In CentOS 7 and other RedHat distros, the Apache service is called httpd or httpd.service.

Hey guys
I tried to restart my apache httpd afetr installing php56u from ius, and php56u-cli, but I got the following error message
~]$ sudo systemctl 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.
Httpd start command

Linux Start Httpd Service

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.

Service Httpd -s

Please guys, what should I do?