• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Unable to start apache

Heppi75

Basic Pleskian
Server operating system version
CentOS 7.9
Plesk version and microupdate number
18.0.43
Hi,

for some reason I couldn't start apache anymore. I am working on CentOS 7.9 with Plesk Obsidian 18.0.43 and the setup with the nginx as reverse proxy. Nginx is started and running an listening on ports 80 and 443.

Apache could not be startet, here are some outputs from the error log.

Code:
[Mon May 02 17:43:36.284964 2022] [core:notice] [pid 24981:tid 140020414425216] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Mon May 02 17:43:36.286704 2022] [suexec:notice] [pid 24981:tid 140020414425216] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon May 02 17:43:36.287570 2022] [ssl:warn] [pid 24981:tid 140020414425216] AH01909: RSA certificate configured for default-111_111_111_111:443 does NOT include an ID which matches the server name
[Mon May 02 17:43:36.287986 2022] [ssl:warn] [pid 24981:tid 140020414425216] AH01909: RSA certificate configured for default-111_111_111_112:443 does NOT include an ID which matches the server name
[Mon May 02 17:43:36.359019 2022] [ssl:warn] [pid 24981:tid 140020414425216] AH01909: RSA certificate configured for default-111_111_111_111:443 does NOT include an ID which matches the server name
[Mon May 02 17:43:36.359226 2022] [ssl:warn] [pid 24981:tid 140020414425216] AH01909: RSA certificate configured for default-111_111_111_112:443 does NOT include an ID which matches the server name
[Mon May 02 17:43:36.420112 2022] [mpm_event:notice] [pid 24981:tid 140020414425216] AH00489: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 Phusion_Passenger/6.0.12 configured -- resuming normal operations
[Mon May 02 17:43:36.420141 2022] [core:notice] [pid 24981:tid 140020414425216] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon May 02 17:44:27.413148 2022] [mpm_event:notice] [pid 24981:tid 140020414425216] AH00492: caught SIGWINCH, shutting down gracefully
[Mon May 02 18:03:59.527777 2022] [core:notice] [pid 32729:tid 139804984662144] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Mon May 02 18:03:59.528402 2022] [suexec:notice] [pid 32729:tid 139804984662144] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon May 02 18:03:59.529623 2022] [ssl:warn] [pid 32729:tid 139804984662144] AH01909: RSA certificate configured for default:443 does NOT include an ID which matches the server name
[Mon May 02 18:03:59.606974 2022] [ssl:warn] [pid 32729:tid 139804984662144] AH01909: RSA certificate configured for default:443 does NOT include an ID which matches the server name
[Mon May 02 18:03:59.671821 2022] [mpm_event:notice] [pid 32729:tid 139804984662144] AH00489: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 Phusion_Passenger/6.0.12 configured -- resuming normal operations
[Mon May 02 18:03:59.671842 2022] [core:notice] [pid 32729:tid 139804984662144] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon May 02 18:05:26.929666 2022] [mpm_event:notice] [pid 32729:tid 139804984662144] AH00492: caught SIGWINCH, shutting down gracefully
[Mon May 02 18:05:33.020210 2022] [core:warn] [pid 32729:tid 139804984662144] AH00045: child process 381 still did not exit, sending a SIGTERM
[Mon May 02 18:05:35.284762 2022] [core:warn] [pid 32729:tid 139804984662144] AH00045: child process 381 still did not exit, sending a SIGTERM
[Mon May 02 18:05:37.287238 2022] [core:warn] [pid 32729:tid 139804984662144] AH00045: child process 381 still did not exit, sending a SIGTERM
[Mon May 02 18:05:39.289575 2022] [core:error] [pid 32729:tid 139804984662144] AH00046: child process 381 still did not exit, sending a SIGKILL

Many of this lines?
AH00015: Unable to open logs

apachectl -t
Syntax OK

All sites are down for the moment, and I could not figure out what causes this issue?
 
journalctl outpout:

Code:
Mai 02 18:43:23 host.mydomain.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.
Mai 02 18:43:23 host.mydomain.com polkitd[732]: Registered Authentication Agent for unix-process:1121:448084 (system bus name :1.355 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/Aut
Mai 02 18:43:23 host.mydomain.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Mai 02 18:43:23 host.mydomain.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.
Mai 02 18:43:23 host.mydomain.com systemd[1]: Unit httpd.service entered failed state.
Mai 02 18:43:23 host.mydomain.com systemd[1]: httpd.service failed.
Mai 02 18:43:23 host.mydomain.com polkitd[732]: Unregistered Authentication Agent for unix-process:1121:448084 (system bus name :1.355, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale C) (disconnected fro
Mai 02 18:43:29 host.mydomain.com systemd[1]: httpd.service holdoff time over, scheduling restart.
Mai 02 18:43:29 host.mydomain.com systemd[1]: Stopped The Apache HTTP Server.
-- Subject: Unit httpd.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has finished shutting down.
Mai 02 18:43:29 host.mydomain.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.
Mai 02 18:43:29 host.mydomain.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Mai 02 18:43:29 host.mydomain.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.
Mai 02 18:43:29 host.mydomain.com systemd[1]: Unit httpd.service entered failed state.
Mai 02 18:43:29 host.mydomain.com systemd[1]: httpd.service failed.
 
Back
Top