@Samir244

Почему не запускается httpd?

[root@samir ~]# systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor prese>
Active: failed (Result: exit-code) since Tue 2021-05-04 10:42:08 CEST; 20s a>
Docs: man:httpd.service(8)
Process: 1809 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, s>
Main PID: 1809 (code=exited, status=1/FAILURE)
Status: "Configuration loaded."

May 04 10:42:06 samir systemd[1]: Starting The Apache HTTP Server...
May 04 10:42:07 samir httpd[1809]: AH00558: httpd: Could not reliably determine>
May 04 10:42:07 samir systemd[1]: Started The Apache HTTP Server.
May 04 10:42:08 samir httpd[1809]: Server configured, listening on: port 80
May 04 10:42:08 samir systemd[1]: httpd.service: Main process exited, code=exit>
May 04 10:42:08 samir systemd[1]: httpd.service: Killing process 1816 (httpd) w>
May 04 10:42:08 samir systemd[1]: httpd.service: Failed with result 'exit-code'.

[root@samir ~]# systemctl restart httpd
[root@samir ~]# systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor prese>
Active: failed (Result: exit-code) since Tue 2021-05-04 10:45:47 CEST; 1s ago
Docs: man:httpd.service(8)
Process: 1827 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, s>
Main PID: 1827 (code=exited, status=1/FAILURE)
Status: "Configuration loaded."

May 04 10:45:44 samir systemd[1]: Starting The Apache HTTP Server...
May 04 10:45:45 samir httpd[1827]: AH00558: httpd: Could not reliably determine>
May 04 10:45:45 samir systemd[1]: Started The Apache HTTP Server.
May 04 10:45:47 samir httpd[1827]: Server configured, listening on: port 80
May 04 10:45:47 samir systemd[1]: httpd.service: Main process exited, code=exit>
May 04 10:45:47 samir systemd[1]: httpd.service: Killing process 1834 (httpd) w>
May 04 10:45:47 samir systemd[1]: httpd.service: Failed with result 'exit-code'.
[root@samir ~]# journalctl -xe
-- The result is collected.
May 04 10:45:45 samir httpd[1827]: AH00558: httpd: Could not reliably determine>
May 04 10:45:45 samir rsyslogd[1303]: imjournal: fopen() failed for path: 'imjo>
May 04 10:45:45 samir kernel: audit: type=1400 audit(1620117945.840:233): avc: >
May 04 10:45:45 samir systemd[1]: Started The Apache HTTP Server.
-- Subject: Unit httpd.service has finished start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit httpd.service has finished starting up.
--
-- The start-up result is done.
May 04 10:45:47 samir httpd[1827]: Server configured, listening on: port 80
May 04 10:45:47 samir systemd[1]: httpd.service: Main process exited, code=exit>
May 04 10:45:47 samir systemd[1]: httpd.service: Killing process 1834 (httpd) w>
May 04 10:45:47 samir systemd[1]: httpd.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- The unit httpd.service has entered the 'failed' state with result 'exit-code>
May 04 10:45:47 samir rsyslogd[1303]: imjournal: fopen() failed for path: 'imjo>
May 04 10:45:47 samir kernel: audit: type=1400 audit(1620117947.377:234): avc: >
  • Вопрос задан
  • 33 просмотра
Пригласить эксперта
Ответы на вопрос 1
New_Horizons
@New_Horizons
Бред:
rsyslogd[1303]: imjournal: fopen() failed for path: 'imjo>

Думаю это связано с тем что не удаётся открыть файл логов, но путь к файлу что-то не ясен. Может места на диске нет, или более вероятно что с правами что-то не то.
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы