Page 1 of 1

Unit httpd.service entered failed state.

Posted: 2018/07/12 08:27:59
by mySKILLZ
The result is failed.
Jul 12 06:51:26 skill systemd[1]: Unit httpd.service entered failed state.
Jul 12 06:51:26 skill systemd[1]: httpd.service failed.
Jul 12 06:51:30 skill systemd[1]: httpd.service holdoff time over, scheduling restart.
Jul 12 06:51:30 skill systemd[1]: Starting The Apache HTTP Server...
-- Subject: Unit httpd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit httpd.service has begun starting up.
Jul 12 06:51:30 skill systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 12 06:51:30 skill kill[1999]: kill: cannot find process ""
Jul 12 06:51:30 skill systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 12 06:51:30 skill systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit httpd.service has failed.
--
-- The result is failed.
Jul 12 06:51:30 skill systemd[1]: Unit httpd.service entered failed state.
Jul 12 06:51:30 skill systemd[1]: httpd.service failed.


-----------------------------------------------------------------------

why do i have this following line and how to resolve this

Jul 12 06:51:30 skill systemd[1]: httpd.service holdoff time over, scheduling restart.

Re: Unit httpd.service entered failed state.

Posted: 2018/07/12 08:54:05
by TrevorH
Because it waits a small time between it failing and then restarting it to make sure the failed one is properly gone.

You most likely have a syntax error in your config files. Read the logs under /var/log/httpd and see if it tells you there about what the problem was.

Re: Unit httpd.service entered failed state.

Posted: 2018/07/12 16:39:32
by hunter86_bg
What's the output of

Code: Select all

apachectl configtest