Author Topic: Apache Crashing Possibly due to alertandautorenewssl.php  (Read 350 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Apache Crashing Possibly due to alertandautorenewssl.php
« on: June 17, 2024, 07:58:22 PM »
It appears that my server has apache crashing everytime the alertandautorenewssl.php cron job runs:

Code: [Select]
/usr/local/cwp/php71/bin/php -d max_execution_time=18000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/alertandautorenewssl.php

Anyone got any ideas?

Error log is:
Code: [Select]
[Tue Jun 18 03:51:07.401654 2024] [mpm_event:notice] [pid 179796:tid 139807569778560] AH00492: caught SIGWINCH, shutting down gracefully
[Tue Jun 18 03:51:10.760848 2024] [core:warn] [pid 179796:tid 139807569778560] AH00045: child process 179798 still did not exit, sending a SIGTERM
[Tue Jun 18 03:51:10.760918 2024] [core:warn] [pid 179796:tid 139807569778560] AH00045: child process 179799 still did not exit, sending a SIGTERM
[Tue Jun 18 03:51:10.760928 2024] [core:warn] [pid 179796:tid 139807569778560] AH00045: child process 179885 still did not exit, sending a SIGTERM
[Tue Jun 18 03:51:12.763047 2024] [core:warn] [pid 179796:tid 139807569778560] AH00045: child process 179798 still did not exit, sending a SIGTERM
[Tue Jun 18 03:51:12.763142 2024] [core:warn] [pid 179796:tid 139807569778560] AH00045: child process 179799 still did not exit, sending a SIGTERM
[Tue Jun 18 03:51:12.763153 2024] [core:warn] [pid 179796:tid 139807569778560] AH00045: child process 179885 still did not exit, sending a SIGTERM
[Tue Jun 18 03:51:14.765282 2024] [core:warn] [pid 179796:tid 139807569778560] AH00045: child process 179798 still did not exit, sending a SIGTERM
[Tue Jun 18 03:51:14.765360 2024] [core:warn] [pid 179796:tid 139807569778560] AH00045: child process 179799 still did not exit, sending a SIGTERM
[Tue Jun 18 03:51:14.765371 2024] [core:warn] [pid 179796:tid 139807569778560] AH00045: child process 179885 still did not exit, sending a SIGTERM
[Tue Jun 18 03:51:16.767493 2024] [core:error] [pid 179796:tid 139807569778560] AH00046: child process 179798 still did not exit, sending a SIGKILL
[Tue Jun 18 03:51:16.767579 2024] [core:error] [pid 179796:tid 139807569778560] AH00046: child process 179799 still did not exit, sending a SIGKILL
[Tue Jun 18 03:51:16.767596 2024] [core:error] [pid 179796:tid 139807569778560] AH00046: child process 179885 still did not exit, sending a SIGKILL
[Tue Jun 18 03:52:47.989515 2024] [ssl:warn] [pid 204953:tid 140476856629120] AH01909: cpanel.xxxxxx.mydomain.xxxxxxxx:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 18 03:52:47.991883 2024] [ssl:warn] [pid 204953:tid 140476856629120] AH01909: mail.xxxxxx.mydomain.xxxxxxxx:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 18 03:52:47.993782 2024] [ssl:warn] [pid 204953:tid 140476856629120] AH01909: webmail.xxxxxx.mydomain.xxxxxxxx:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 18 03:52:48.006312 2024] [ssl:warn] [pid 204954:tid 140476856629120] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Jun 18 03:52:48.009297 2024] [ssl:warn] [pid 204954:tid 140476856629120] AH01909: cpanel.xxxxxx.mydomain.xxxxxxxx:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 18 03:52:48.012454 2024] [ssl:warn] [pid 204954:tid 140476856629120] AH01909: mail.xxxxxx.mydomain.xxxxxxxx:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 18 03:52:48.015175 2024] [ssl:warn] [pid 204954:tid 140476856629120] AH01909: webmail.xxxxxx.mydomain.xxxxxxxx:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 18 03:52:48.024970 2024] [mpm_event:notice] [pid 204954:tid 140476856629120] AH00489: Apache/2.4.56 (Unix) OpenSSL/3.0.7 configured -- resuming normal operations
[Tue Jun 18 03:52:48.025009 2024] [core:notice] [pid 204954:tid 140476856629120] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Tue Jun 18 03:52:49.476761 2024] [mpm_event:notice] [pid 204954:tid 140476856629120] AH00493: SIGUSR1 received.  Doing graceful restart
[Tue Jun 18 03:52:49.486203 2024] [ssl:warn] [pid 204954:tid 140476856629120] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Jun 18 03:52:49.488795 2024] [ssl:warn] [pid 204954:tid 140476856629120] AH01909: cpanel.xxxxxx.mydomain.xxxxxxxx:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 18 03:52:49.492008 2024] [ssl:warn] [pid 204954:tid 140476856629120] AH01909: mail.xxxxxx.mydomain.xxxxxxxx:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 18 03:52:49.494405 2024] [ssl:warn] [pid 204954:tid 140476856629120] AH01909: webmail.xxxxxx.mydomain.xxxxxxxx:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 18 03:52:49.500996 2024] [mpm_event:notice] [pid 204954:tid 140476856629120] AH00489: Apache/2.4.56 (Unix) OpenSSL/3.0.7 configured -- resuming normal operations
[Tue Jun 18 03:52:49.501011 2024] [core:notice] [pid 204954:tid 140476856629120] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Tue Jun 18 03:52:50.662711 2024] [mpm_event:notice] [pid 204954:tid 140476856629120] AH00493: SIGUSR1 received.  Doing graceful restart
[Tue Jun 18 03:52:50.671740 2024] [ssl:warn] [pid 204954:tid 140476856629120] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Jun 18 03:52:50.674215 2024] [ssl:warn] [pid 204954:tid 140476856629120] AH01909: cpanel.xxxxxx.mydomain.xxxxxxxx:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 18 03:52:50.677409 2024] [ssl:warn] [pid 204954:tid 140476856629120] AH01909: mail.xxxxxx.mydomain.xxxxxxxx:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 18 03:52:50.679728 2024] [ssl:warn] [pid 204954:tid 140476856629120] AH01909: webmail.xxxxxx.mydomain.xxxxxxxx:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 18 03:52:50.686336 2024] [mpm_event:notice] [pid 204954:tid 140476856629120] AH00489: Apache/2.4.56 (Unix) OpenSSL/3.0.7 configured -- resuming normal operations
[Tue Jun 18 03:52:50.686352 2024] [core:notice] [pid 204954:tid 140476856629120] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Tue Jun 18 03:52:52.802360 2024] [mpm_event:notice] [pid 204954:tid 140476856629120] AH00492: caught SIGWINCH, shutting down gracefully
[Tue Jun 18 03:52:52.886718 2024] [ssl:warn] [pid 205297:tid 140323075520384] AH01909: cpanel.xxxxxx.mydomain.xxxxxxxx:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 18 03:52:52.888683 2024] [ssl:warn] [pid 205297:tid 140323075520384] AH01909: mail.xxxxxx.mydomain.xxxxxxxx:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 18 03:52:52.890373 2024] [ssl:warn] [pid 205297:tid 140323075520384] AH01909: webmail.xxxxxx.mydomain.xxxxxxxx:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 18 03:52:52.903058 2024] [ssl:warn] [pid 205298:tid 140323075520384] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Jun 18 03:52:52.905939 2024] [ssl:warn] [pid 205298:tid 140323075520384] AH01909: cpanel.xxxxxx.mydomain.xxxxxxxx:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 18 03:52:52.908845 2024] [ssl:warn] [pid 205298:tid 140323075520384] AH01909: mail.xxxxxx.mydomain.xxxxxxxx:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 18 03:52:52.911348 2024] [ssl:warn] [pid 205298:tid 140323075520384] AH01909: webmail.xxxxxx.mydomain.xxxxxxxx:443:0 server certificate does NOT include an ID which matches the server name
[Tue Jun 18 03:52:52.920344 2024] [mpm_event:notice] [pid 205298:tid 140323075520384] AH00489: Apache/2.4.56 (Unix) OpenSSL/3.0.7 configured -- resuming normal operations
[Tue Jun 18 03:52:52.920387 2024] [core:notice] [pid 205298:tid 140323075520384] AH00094: Command line: '/usr/local/apache/bin/httpd'

It seems to reself recover, but it is about 1 hour afterwards......

Server specs and it is happening on TWO servers with the same specs:
Quote
CPU Model: AMD EPYC 7601 32-Core Processor
CPU Details: 8 Core (2200 MHz)
Distro Name: AlmaLinux release 9.4 (Seafoam Ocelot)
Kernel Version: 5.14.0-427.20.1.el9_4.x86_64
Platform: x86_64

I would also like to add that both servers are on Linode and have a Linode Firewall in place.

This was happening on a 3rd server (different specs) but I appear to have resolved that. I applied both of the fixes to this server, but no change.

Any input would be great.
« Last Edit: June 17, 2024, 08:26:17 PM by geekcohen »

Offline
*****
Re: Apache Crashing Possibly due to alertandautorenewssl.php
« Reply #1 on: June 17, 2024, 09:38:58 PM »
Bug in CWP for EL9

Offline
*
Re: Apache Crashing Possibly due to alertandautorenewssl.php
« Reply #2 on: June 17, 2024, 09:52:53 PM »
Bug in CWP for EL9

Okay, so I am not the only one then. Is there a temporary fix? Known ETA?

I wonder whether I should be doing a reconfig for to Centos 7 then.

Offline
*****
Re: Apache Crashing Possibly due to alertandautorenewssl.php
« Reply #3 on: June 18, 2024, 04:40:47 AM »
The place to be today is CWP with AlmaLinux 8. Soon EL9 support will be out of beta and these bugs will be squashed and you can run AlmaLinux 9.

Offline
*
Re: Apache Crashing Possibly due to alertandautorenewssl.php
« Reply #4 on: June 20, 2024, 03:25:29 AM »
Even running AlmaLinux 8, it has crashed:
Code: [Select]
[Thu Jun 20 03:20:09.095249 2024] [mpm_event:notice] [pid 220690:tid 140048611344960] AH00492: caught SIGWINCH, shutting down gracefully
[Thu Jun 20 03:20:12.455444 2024] [core:warn] [pid 220690:tid 140048611344960] AH00045: child process 220694 still did not exit, sending a SIGTERM
[Thu Jun 20 03:20:12.455493 2024] [core:warn] [pid 220690:tid 140048611344960] AH00045: child process 220696 still did not exit, sending a SIGTERM
[Thu Jun 20 03:20:12.455515 2024] [core:warn] [pid 220690:tid 140048611344960] AH00045: child process 220948 still did not exit, sending a SIGTERM
[Thu Jun 20 03:20:14.457720 2024] [core:warn] [pid 220690:tid 140048611344960] AH00045: child process 220694 still did not exit, sending a SIGTERM
[Thu Jun 20 03:20:14.457769 2024] [core:warn] [pid 220690:tid 140048611344960] AH00045: child process 220696 still did not exit, sending a SIGTERM
[Thu Jun 20 03:20:14.457791 2024] [core:warn] [pid 220690:tid 140048611344960] AH00045: child process 220948 still did not exit, sending a SIGTERM
[Thu Jun 20 03:20:16.459966 2024] [core:warn] [pid 220690:tid 140048611344960] AH00045: child process 220694 still did not exit, sending a SIGTERM
[Thu Jun 20 03:20:16.460013 2024] [core:warn] [pid 220690:tid 140048611344960] AH00045: child process 220696 still did not exit, sending a SIGTERM
[Thu Jun 20 03:20:16.460033 2024] [core:warn] [pid 220690:tid 140048611344960] AH00045: child process 220948 still did not exit, sending a SIGTERM
[Thu Jun 20 03:20:18.462245 2024] [core:error] [pid 220690:tid 140048611344960] AH00046: child process 220694 still did not exit, sending a SIGKILL
[Thu Jun 20 03:20:18.462311 2024] [core:error] [pid 220690:tid 140048611344960] AH00046: child process 220696 still did not exit, sending a SIGKILL
[Thu Jun 20 03:20:18.462341 2024] [core:error] [pid 220690:tid 140048611344960] AH00046: child process 220948 still did not exit, sending a SIGKILL
[Thu Jun 20 03:21:49.798212 2024] [ssl:warn] [pid 221912:tid 140000533508672] AH01909: cpanel.staging.ff.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jun 20 03:21:49.799440 2024] [ssl:warn] [pid 221912:tid 140000533508672] AH01909: mail.staging.ff.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jun 20 03:21:49.800248 2024] [ssl:warn] [pid 221912:tid 140000533508672] AH01909: webmail.staging.ff.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jun 20 03:21:49.810207 2024] [ssl:warn] [pid 221914:tid 140000533508672] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Jun 20 03:21:49.811126 2024] [ssl:warn] [pid 221914:tid 140000533508672] AH01909: cpanel.staging.ff.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jun 20 03:21:49.812105 2024] [ssl:warn] [pid 221914:tid 140000533508672] AH01909: mail.staging.ff.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jun 20 03:21:49.812804 2024] [ssl:warn] [pid 221914:tid 140000533508672] AH01909: webmail.staging.ff.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jun 20 03:21:49.817004 2024] [mpm_event:notice] [pid 221914:tid 140000533508672] AH00489: Apache/2.4.57 (Unix) OpenSSL/1.1.1k configured -- resuming normal operations
[Thu Jun 20 03:21:49.817059 2024] [core:notice] [pid 221914:tid 140000533508672] AH00094: Command line: '/usr/local/apache/bin/httpd'
« Last Edit: June 30, 2024, 09:19:50 AM by Administrator »

Offline
*
Re: Apache Crashing Possibly due to alertandautorenewssl.php
« Reply #5 on: June 20, 2024, 04:36:41 AM »
Code: [Select]
Distro Name: AlmaLinux release 8.10 (Cerulean Leopard)