How Can I Solve This Error And Start My Apache Server

January 8, 2019 2.8k views
Apache CentOS

I have a Error in my Linux Centos 7 Server. When i will logon my domain on browser example.com it can show an error
Error:
● 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 2019-01-08 13:51:19 UTC; 16s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 1696 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAIL URE)
Process: 1694 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, st atus=1/FAILURE)
Main PID: 1694 (code=exited, status=1/FAILURE)

Jan 08 13:51:19 domainreseller-server systemd[1]: Starting The Apache HTTP Se…
Jan 08 13:51:19 domainreseller-server systemd[1]: httpd.service: main process…
Jan 08 13:51:19 domainreseller-server kill[1696]: kill: cannot find process “”
Jan 08 13:51:19 domainreseller-server systemd[1]: httpd.service: control proc…
Jan 08 13:51:19 domainreseller-server systemd[1]: Failed to start The Apache …
Jan 08 13:51:19 domainreseller-server systemd[1]: Unit httpd.service entered …
Jan 08 13:51:19 domainreseller-server systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

Please Help Me If Some One Know About this Error

4 Answers

Hey friend,

You’ll want to find out more about why Apache is failing to start. Try this to obtain full logs:

journalctl -u httpd.service

Jarland

  • i used this command journalctl -u httpd.service

    – Logs begin at Tue 2019-01-08 15:19:31 UTC, end at Tue 2019-01-08 15:23:17 UTC
    Jan 08 15:19:44 domainreseller-server systemd[1]: Starting The Apache HTTP Serve
    Jan 08 15:19:44 domainreseller-server systemd[1]: httpd.service: main process ex
    Jan 08 15:19:44 domainreseller-server kill[973]: kill: cannot find process “”
    Jan 08 15:19:44 domainreseller-server systemd[1]: httpd.service: control process
    Jan 08 15:19:44 domainreseller-server systemd[1]: Failed to start The Apache HTT
    Jan 08 15:19:44 domainreseller-server systemd[1]: Unit httpd.service entered fai
    Jan 08 15:19:44 domainreseller-server systemd[1]: httpd.service failed.
    Jan 08 15:21:48 domainreseller-server systemd[1]: Starting The Apache HTTP Serve
    Jan 08 15:21:48 domainreseller-server systemd[1]: httpd.service: main process ex
    Jan 08 15:21:48 domainreseller-server kill[1584]: kill: cannot find process “”
    Jan 08 15:21:48 domainreseller-server systemd[1]: httpd.service: control process
    Jan 08 15:21:48 domainreseller-server systemd[1]: Failed to start The Apache HTT
    Jan 08 15:21:48 domainreseller-server systemd[1]: Unit httpd.service entered fai
    Jan 08 15:21:48 domainreseller-server systemd[1]: httpd.service failed.
    lines 1-15/15 (END)…skipping…

  • please help me out for this issue and thank you so much for suggestion

Try this to see if it gives more info on the misconfig:

httpd -t

Cheers

I’ve just re-installed XAMPP, and when I try to start my Apache server in the XAMPP Control Panel, I now get the following errors:

16:50:25 [Apache] Status change detected: running
16:50:26 [Apache] Status change detected: stopped
16:50:26 [Apache] Error: Apache shutdown unexpectedly.
16:50:26 [Apache] This may be due to a blocked port, missing dependencies,
16:50:26 [Apache] improper privileges, a crash, or a shutdown by another method.
16:50:26 [Apache] Press the Logs button to view error logs and check
16:50:26 [Apache] the Windows Event Viewer for more clues
16:50:26 [Apache] If you need more help, copy and post this
16:50:26 [Apache] entire log window on the forums

Have another answer? Share your knowledge.