Назад | Перейти на главную страницу

Ошибки сервера Apache HTTPD при запуске, без заметного сообщения об ошибке

Я использую Oracle Linux 7.8 на экземпляре HVM ec2 (t3.micro). Я установил последнюю версию HTTPD из репозитория CodeIT (2.4.43) и выполнил базовую настройку httpd.conf с одним определением VirtualHost.

Когда я бегу:

[oracle@nits-idp ~]$ sudo systemctl start 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.

Итак, бегу:

[oracle@nits-idp ~]$ sudo systemctl status -l httpd.service

И я получаю:

● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2020-07-26 19:47:14 EDT; 2min 6s ago
     Docs: man:httpd.service(8)
  Process: 6000 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 6000 (code=exited, status=1/FAILURE)
   Status: "Reading configuration..."

Jul 26 19:47:14 nits-idp.nitssolutions.com systemd[1]: Starting The Apache HTTP Server...
Jul 26 19:47:14 nits-idp.nitssolutions.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 26 19:47:14 nits-idp.nitssolutions.com systemd[1]: Failed to start The Apache HTTP Server.
Jul 26 19:47:14 nits-idp.nitssolutions.com systemd[1]: Unit httpd.service entered failed state.
Jul 26 19:47:14 nits-idp.nitssolutions.com systemd[1]: httpd.service failed.

И наконец:

[oracle@nits-idp ~]$ sudo journalctl -xe

возвращает:

Jul 26 19:49:20 nits-idp.nitssolutions.com sudo[6107]: pam_unix(sudo:session): session opened for user root by orac
Jul 26 19:49:20 nits-idp.nitssolutions.com sudo[6107]: pam_unix(sudo:session): session closed for user root
Jul 26 19:50:01 nits-idp.nitssolutions.com systemd[1]: Created slice User Slice of root.
-- Subject: Unit user-0.slice has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit user-0.slice has finished starting up.
-- 
-- The start-up result is done.
Jul 26 19:50:01 nits-idp.nitssolutions.com systemd[1]: Started Session 10 of user root.
-- Subject: Unit session-10.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit session-10.scope has finished starting up.
-- 
-- The start-up result is done.
Jul 26 19:50:01 nits-idp.nitssolutions.com CROND[6143]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Jul 26 19:50:01 nits-idp.nitssolutions.com systemd[1]: Removed slice User Slice of root.
-- Subject: Unit user-0.slice has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit user-0.slice has finished shutting down.
Jul 26 19:50:41 nits-idp.nitssolutions.com sudo[6183]:   oracle : TTY=pts/0 ; PWD=/home/oracle ; USER=root ; COMMAN
Jul 26 19:50:41 nits-idp.nitssolutions.com sudo[6183]: pam_unix(sudo:session): session opened for user root by orac
lines 2615-2641/2641 (END)

Итак, читая это, я не вижу фактической ошибки. Я не знаю, как это исправить, потому что не знаю, в чем проблема.

Помогите?