Unit httpd.service entered failed state.

Issues related to applications and software problems
Post Reply
mySKILLZ
Posts: 35
Joined: 2018/02/21 09:10:21

Unit httpd.service entered failed state.

Post by mySKILLZ » 2018/07/12 08:27:59

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.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Unit httpd.service entered failed state.

Post by TrevorH » 2018/07/12 08:54:05

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.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: Unit httpd.service entered failed state.

Post by hunter86_bg » 2018/07/12 16:39:32

What's the output of

Code: Select all

apachectl configtest

Post Reply