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.
Unit httpd.service entered failed state.
Re: Unit httpd.service entered failed state.
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.
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
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
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: Unit httpd.service entered failed state.
What's the output of
Code: Select all
apachectl configtest