Unable to start httpd service?

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

After checking the status :->
root@host01 /# systemctl status httpd
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2020-05-26 06:59:30 UTC; 1min 6s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 320 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 319 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=0/SUCCESS)
Main PID: 319 (code=exited, status=0/SUCCESS)

May 26 06:59:30 host01 systemd[1]: Starting The Apache HTTP Server…
May 26 06:59:30 host01 httpd[319]: httpd (pid 273) already running
May 26 06:59:30 host01 kill[320]: kill: cannot find process “”
May 26 06:59:30 host01 systemd[1]: httpd.service: control process exited, code=exite…s=1
May 26 06:59:30 host01 systemd[1]: Failed to start The Apache HTTP Server.
May 26 06:59:30 host01 systemd[1]: Unit httpd.service entered failed state.
May 26 06:59:30 host01 systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

Hi @akshaydongar123

Can you provide me with the output of httpd -t and journalctl -xe

`

First when I tried to Start httpd service

root@host01 /# httpd -t
Syntax OK

Validate -> journalctl -xe

In journalctl -xe, share that image where httpd error is showing. It is available in downside, so do more scroll down.


unable to do more to check these logs

@akshaydongar123 kindly check the correct commands below:

@KodeKloud Can you check once why i am unable to start the httpd service . is it because some process is already running ?

Share the output of httpd service. Do this in the terminal window
sudo journalctl -u httpd.service

HI @player001 I dont know what was the issues . but now i am able to install , start & check the status of httpd service