Job for httpd.service failed because the control process exited with error code.See "systemctl status httpd.service" and "journalctl -xe" for details.
Job for httpd.service failed because the control process exited with error code.
See "systemctl status httpd.service" and "journalctl -xe" for details.
[root@localhost ~]# journalctl -xe
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- The unit httpd.service has entered the 'failed' state with result 'exit-code'.
12월 05 16:06:09 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit httpd.service has failed.
--
-- The result is failed.
12월 05 16:07:28 localhost.localdomain systemd[1]: Starting The Apache HTTP Server...
-- Subject: Unit httpd.service has begun start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit httpd.service has begun starting up.
12월 05 16:07:28 localhost.localdomain httpd[90268]: [Sun Dec 05 16:07:28.152734 2021] [so:warn] [pi>
12월 05 16:07:28 localhost.localdomain httpd[90268]: AH00526: Syntax error on line 122 of /etc/httpd>
12월 05 16:07:28 localhost.localdomain httpd[90268]: DocumentRoot '/www' is not a direct>
12월 05 16:07:28 localhost.localdomain systemd[1]: httpd.service: Main process exited, code=exited, >
12월 05 16:07:28 localhost.localdomain systemd[1]: httpd.service: Failed with result 'exit-code'.
journalctl -xe 요렇게 명령어주면..
어디가 잘못된거고
어디라인이 잘못된건지 나온다..
나의경우엔
12월 05 16:07:28 localhost.localdomain httpd[90268]: AH00526: Syntax error on line 122 of /etc/httpd>
12월 05 16:07:28 localhost.localdomain httpd[90268]: DocumentRoot '/www' is not a direct>
요기가 잘못되었다고나온다.