맛집 여행 캠핑 일상 생활

[CentOS] Apache 재시작 오류 본문

LAMP

[CentOS] Apache 재시작 오류

영은파더♥ 2023. 7. 17. 12:58

서버가 몇 년만인지 모르겠지만 아래와 같이 아파치 재시작이 안되는 현상이 있네요~

apachectl configtest 로는 아무런 이상도 없는데 재시작이 되지를 않아서 journalctl -xe 로 로그를 확인한 결과입니다.

[root@example conf.d]# journalctl -xe
-- The result is failed.
Jul 17 08:53:49 example.com systemd[1]: Unit httpd.service entered failed state.
Jul 17 08:53:49 example.com systemd[1]: httpd.service failed.
Jul 17 08:53:49 example.com polkitd[26529]: Unregistered Authentication Agent for unix-process:28459:14599171600 (system bus name :1.
Jul 17 08:54:36 example.com polkitd[26529]: Registered Authentication Agent for unix-process:28485:14599176365 (system bus name :1.69
Jul 17 08:54:36 example.com polkitd[26529]: Unregistered Authentication Agent for unix-process:28485:14599176365 (system bus name :1.
Jul 17 08:54:37 example.com polkitd[26529]: Registered Authentication Agent for unix-process:28491:14599176481 (system bus name :1.69
Jul 17 08:54:37 example.com polkitd[26529]: Unregistered Authentication Agent for unix-process:28491:14599176481 (system bus name :1.
Jul 17 08:55:55 example.com polkitd[26529]: Registered Authentication Agent for unix-process:28512:14599184308 (system bus name :1.69
Jul 17 08:55:55 example.com systemd[1]: Starting The Apache HTTP Server...
-- Subject: Unit httpd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has begun starting up.
Jul 17 08:55:56 example.com systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has failed.
--
-- The result is failed.
Jul 17 08:55:56 example.com systemd[1]: Unit httpd.service entered failed state.
Jul 17 08:55:56 example.com systemd[1]: httpd.service failed.
Jul 17 08:55:56 example.com polkitd[26529]: Unregistered Authentication Agent for unix-process:28512:14599184308 (system bus name :1.
Jul 17 08:58:21 example.com polkitd[26529]: Registered Authentication Agent for unix-process:28556:14599198818 (system bus name :1.69
Jul 17 08:58:21 example.com systemd[1]: Starting The Apache HTTP Server...
-- Subject: Unit httpd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has begun starting up.
Jul 17 08:58:21 example.com systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has failed.
--
-- The result is failed.
Jul 17 08:58:21 example.com systemd[1]: Unit httpd.service entered failed state.
Jul 17 08:58:21 example.com systemd[1]: httpd.service failed.
Jul 17 08:58:21 example.com polkitd[26529]: Unregistered Authentication Agent for unix-process:28556:14599198818 (system bus name :1.

polkitd 가 문제인지 몰라도 실제 운영되는 서버라서 급한 마음에 reboot 을 하니 정상 작동을 하는군요~

 

Trackback : | Comments :