My domain is: halapp.com
Hi, I had an unexplained Apache shutdown today, and can't figure out why. Let's Encrypt tried and failed to renew at that time. Can this be related?
If I follow, Let's Encrypt shut down Apache to attempt a renewal, the renewal failed, and then somehow Apache shut down rather than restarting.
I have updated my certbot setup since this incident, and am renewing things fine now, but I want to know if the renewal failure, "libgomp: could not create thread pool destructor." and "AH00169: caught SIGTERM, shutting down" are somehow related. I have found very little online about "libgomp: could not create thread pool destructor." Someone said it related to an ImageMagick bug after 1024 Apache restarts (This Is Why Our 3000 Apache Servers Went Down On The First Day of 2022 | by Ali Josie | Medium), but I have a newer version of ImageMagick so that shouldn't be the issue.
Can you please assist to advise if you know anything about what caused this Apache shutdown and how to prevent a similar issue from recurring? Thanks!!!
My syslog from the relevant moment:
Sep 2 08:35:23 halapp apache2[21520]: * Stopping Apache httpd web server apache2
Sep 2 08:35:23 halapp apache2[21520]: *
Sep 2 08:35:23 halapp certbot.renew[21390]: Failed to renew certificate austinwines.com-0001 with error: Some challenges have failed.
Sep 2 08:35:37 halapp certbot.renew[21390]: Failed to renew certificate austinwines.com with error: Some challenges have failed.
Sep 2 08:35:37 halapp certbot.renew[21390]: All renewals failed. The following certificates could not be renewed:
Sep 2 08:35:37 halapp certbot.renew[21390]: /etc/letsencrypt/live/austinwines.com-0001/fullchain.pem (failure)
Sep 2 08:35:37 halapp certbot.renew[21390]: /etc/letsencrypt/live/austinwines.com/fullchain.pem (failure)
My error.log from the same time:
[Fri Sep 02 08:33:41.299193 2022] [php7:error] [pid 21284] [client 20.118.188.137:55303] script '/var/www/canopywines.com/public_html/xmlrpc.php' not found or unable to stat
[Fri Sep 02 08:35:15.097193 2022] [mpm_prefork:notice] [pid 436] AH00171: Graceful restart requested, doing restart
[Fri Sep 02 08:35:15.169893 2022] [mpm_prefork:notice] [pid 436] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Fri Sep 02 08:35:15.169908 2022] [core:notice] [pid 436] AH00094: Command line: '/usr/sbin/apache2'
[Fri Sep 02 08:35:23.723106 2022] [mpm_prefork:notice] [pid 436] AH00171: Graceful restart requested, doing restart
libgomp: could not create thread pool destructor.
[Fri Sep 02 08:35:29.247220 2022] [core:warn] [pid 21552] AH00098: pid file /var/run/apache2/apache2.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Sep 02 08:35:29.252487 2022] [mpm_prefork:notice] [pid 21552] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Fri Sep 02 08:35:29.252513 2022] [core:notice] [pid 21552] AH00094: Command line: '/usr/sbin/apache2'
[Fri Sep 02 08:35:37.576308 2022] [mpm_prefork:notice] [pid 21552] AH00171: Graceful restart requested, doing restart
[Fri Sep 02 08:35:37.638903 2022] [mpm_prefork:notice] [pid 21552] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Fri Sep 02 08:35:37.638919 2022] [core:notice] [pid 21552] AH00094: Command line: '/usr/sbin/apache2'
[Fri Sep 02 08:35:37.927077 2022] [mpm_prefork:notice] [pid 21552] AH00169: caught SIGTERM, shutting down
My web server is (include version): Apache/2.4.18 (Ubuntu)
The operating system my web server runs on is (include version): Ubuntu 16.04
I can login to a root shell on my machine (yes or no, or I don't know): Yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): No
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): certbot 1.29.0