Cpanel whm non-responsive internal service error 500

tywapato

Registered
Dec 19, 2020
1
0
1
Santa Monica CA
cPanel Access Level
Root Administrator
I am getting massive numbers of notifications:
FAILED: cpanel_php_fpm, HANG: chkservd, FAILED: spamd, High 5 minue load average alert, FAILED: clamd, etc.

Previously I got an update failure notice: cPanel & WHM update failure in upcp script

The cPanel & WHM update process failed for the following reason:
Maintenance ended; however, it did not exit cleanly (256). The following events were logged: “scripts/restartsrv_eximstats” and “scripts/setup_modsec_db”. Review the update logs to determine why the update failed. I don't know if this is related to the notifications and non-responsive cpanel.

How do I get up and running again?

Update log preview:​
...
...
[2021-04-02 21:38:22 -0400] E [/usr/local/cpanel/scripts/setup_modsec_db] The “/usr/local/cpanel/scripts/setup_modsec_db” command (process 4646) reported error number 1 when it ended.
...
[2021-04-02 21:52:43 -0400] E [/usr/local/cpanel/scripts/restartsrv_eximstats] The “/usr/local/cpanel/scripts/restartsrv_eximstats” command (process 5355) reported error number 255 when it ended.
...
[2021-04-02 22:05:15 -0400] - Processing command `/usr/local/cpanel/bin/cloudlinux_update`
[2021-04-02 22:05:21 -0400] - Finished command `/usr/local/cpanel/bin/cloudlinux_update` in 5.914 seconds
[2021-04-02 22:05:21 -0400] Processing: Updating plugins data cache
[2021-04-02 22:05:21 -0400] - Processing command `/usr/local/cpanel/bin/refresh_plugin_cache`
[2021-04-02 22:05:32 -0400] - Finished command `/usr/local/cpanel/bin/refresh_plugin_cache` in 10.425 seconds
[2021-04-02 22:05:32 -0400] Processing: Ensuring SSL certificate information for CCS is up to date.
[2021-04-02 22:05:32 -0400] - Processing command `/usr/local/cpanel/scripts/ccs-check --run --ssl`
[2021-04-02 22:05:33 -0400] - Finished command `/usr/local/cpanel/scripts/ccs-check --run --ssl` in 0.946 seconds
[2021-04-02 22:05:33 -0400] Processing: Ensure cpanel-plugins yum repo exists
[2021-04-02 22:05:33 -0400] - Finished in 0.380 seconds
[2021-04-02 22:05:33 -0400] Processing: Checking Addon Licenses
[2021-04-02 22:05:33 -0400] - Finished in 0.097 seconds
[2021-04-02 22:05:33 -0400] Processing: Checking End Of Life for current version.
[2021-04-02 22:05:38 -0400] - Finished in 5.062 seconds
[2021-04-02 22:05:38 -0400] Processing:
[2021-04-02 22:05:38 -0400] Maintenance complete. [state=post]
=> Log closed Fri Apr 2 22:05:38 2021
----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave (5742) at Fri Apr 2 22:05:38 2021
The system generated this notice on Saturday, April 3, 2021 at 2:05:52 AM UTC.
“cPanel Update Failures” notifications are currently configured to have an importance of “High”. You can change the importance or disable this type of notification in WHM’s Contact Manager at: https://host.domain.com:2087/scripts2/editcontact?event=upcp
Do not reply to this automated message.
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
5,364
692
313
cPanel Access Level
Root Administrator
Hey there! It might be a good idea to open two shell sessions and monitor the server's resource usage in one window while you run "/scripts/upcp --force" in the other, to see if the server is running into issues during the update itself. If you already have few available resources, this could indicate another, deeper issue with the machine.