CentOS에서 Apache 서버를 시작할 수 없습니다.

CentOS에서 Apache 서버를 시작할 수 없습니다.

Centos 7이 설치된 새 linode 시스템에 SSL 인증서를 설치하려고 합니다. httpd와 open_ssl이 설치되어 있습니다. 나는 아파치 가이드를 따랐다.https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-centos-7

https://www.digitalocean.com/community/tutorials/how-to-create-an-ssl-certificate-on-apache-for-centos-7인증서 SSL을 만드는 데 사용됩니다.

이제 다음 명령을 사용하여 Apache를 다시 시작하려고 하면:

systemctl restart httpd.service

다음 오류가 발생합니다.

Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

첫 번째 스크립트를 실행하면 다음과 같은 결과가 나타납니다.

httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2017-03-01 16:32:27 UTC; 48s ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 13836 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 13835 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 13835 (code=exited, status=1/FAILURE)

Mar 01 16:32:27 li947-5 systemd[1]: Starting The Apache HTTP Server...
Mar 01 16:32:27 li947-5 systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Mar 01 16:32:27 li947-5 kill[13836]: kill: cannot find process ""
Mar 01 16:32:27 li947-5 systemd[1]: httpd.service: control process exited, code=exited status=1
Mar 01 16:32:27 li947-5 systemd[1]: Failed to start The Apache HTTP Server.
Mar 01 16:32:27 li947-5 systemd[1]: Unit httpd.service entered failed state.
Mar 01 16:32:27 li947-5 systemd[1]: httpd.service failed.

"journalctl -xe"를 실행하면 다음과 같은 결과가 나타납니다.

 -- 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.
Mar 01 16:26:00 li947-5 systemd[1]: Unit httpd.service entered failed state.
Mar 01 16:26:00 li947-5 polkitd[3179]: Unregistered Authentication Agent for unix-process:4730:177180 (system bus name :1.35, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (dis
Mar 01 16:26:00 li947-5 systemd[1]: httpd.service failed.
Mar 01 16:30:01 li947-5 systemd[1]: Started Session 6 of user root.
-- Subject: Unit session-6.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-6.scope has finished starting up.
--
-- The start-up result is done.
Mar 01 16:30:01 li947-5 systemd[1]: Starting Session 6 of user root.
-- Subject: Unit session-6.scope has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-6.scope has begun starting up.
Mar 01 16:30:01 li947-5 CROND[4746]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Mar 01 16:31:01 li947-5 anacron[4602]: Job `cron.daily' started
Mar 01 16:31:01 li947-5 run-parts(/etc/cron.daily)[4753]: starting logrotate
Mar 01 16:31:01 li947-5 run-parts(/etc/cron.daily)[4758]: finished logrotate
Mar 01 16:31:01 li947-5 run-parts(/etc/cron.daily)[4760]: starting man-db.cron
Mar 01 16:31:13 li947-5 run-parts(/etc/cron.daily)[13828]: finished man-db.cron
Mar 01 16:31:13 li947-5 anacron[4602]: Job `cron.daily' terminated
Mar 01 16:32:27 li947-5 polkitd[3179]: Registered Authentication Agent for unix-process:13829:215883 (system bus name :1.38 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1
Mar 01 16:32:27 li947-5 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.
Mar 01 16:32:27 li947-5 systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Mar 01 16:32:27 li947-5 kill[13836]: kill: cannot find process ""
Mar 01 16:32:27 li947-5 systemd[1]: httpd.service: control process exited, code=exited status=1
Mar 01 16:32:27 li947-5 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.
Mar 01 16:32:27 li947-5 systemd[1]: Unit httpd.service entered failed state.
Mar 01 16:32:27 li947-5 systemd[1]: httpd.service failed.
Mar 01 16:32:27 li947-5 polkitd[3179]: Unregistered Authentication Agent for unix-process:13829:215883 (system bus name :1.38, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (di
l

문제를 찾으려고 노력했지만 성공하지 못했습니다. 이 문제를 해결하는 방법을 아는 사람이 있나요?

관련 정보