cPanel/WHM Connection Refused
Hi,
For some reason cPanel/WHM has randomly stopped working, yesterday I noticed the service of cpsrvd went restarted a few times but this morning it's gone down and won't come back up. I've done a full server restart, tried to start the service via command but nada.
The emails I received show:
If I login to SSH it throws the following:
https://i.imgur.com/VSE59f2.png
I'm a little lost as to what could be wrong, nothing has changed our end...
Service Name: cpsrvd
Service Status: failed ?
Notification: The service "cpsrvd" appears to be down.
Service Check Method: The system failed to connect to this service"s TCP/IP port.
Reason: Service check failed to complete
Unable to connect to port 2086 on 127.0.0.1: Connection refused: DiedIf I login to SSH it throws the following:
I'm a little lost as to what could be wrong, nothing has changed our end...
-
I'd try: /scripts/upcp --force 0 -
I'd try: /scripts/upcp --force
That fixed the issue perfectly. I went through some logs and the following appeared to trigger the issues.[2022-02-05 04:13:11 +0000] E [/usr/local/cpanel/scripts/resetmailmanurls] Can't locate Cpanel/XSLib.pm in @INC (you may need to install the Cpanel::XSLib module) (@INC contains: /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/532/lib/perl5/532/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/532/lib/perl5/532 /opt/cpanel/perl5/532/site_lib/x86_64-linux-64int /opt/cpanel/perl5/532/site_lib) at /usr/local/cpanel/Cpanel/ApacheConf.pm line 12. [2022-02-05 04:13:11 +0000] E [/usr/local/cpanel/scripts/resetmailmanurls] BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/ApacheConf.pm line 12. [2022-02-05 04:13:11 +0000] E [/usr/local/cpanel/scripts/resetmailmanurls] Compilation failed in require at /usr/local/cpanel/scripts/resetmailmanurls line 13. [2022-02-05 04:13:11 +0000] E [/usr/local/cpanel/scripts/resetmailmanurls] BEGIN failed--compilation aborted at /usr/local/cpanel/scripts/resetmailmanurls line 13. ... [2022-02-05 04:13:23 +0000] Processing: Updating plugins data cache [2022-02-05 04:13:23 +0000] - Processing command `/usr/local/cpanel/bin/refresh_plugin_cache` [2022-02-05 04:13:23 +0000] - Finished command `/usr/local/cpanel/bin/refresh_plugin_cache` in 0.042 seconds [2022-02-05 04:13:23 +0000] Processing: Ensuring SSL certificate information for CCS is up to date. [2022-02-05 04:13:23 +0000] - Processing command `/usr/local/cpanel/scripts/ccs-check --run --ssl` [2022-02-05 04:13:23 +0000] - Finished command `/usr/local/cpanel/scripts/ccs-check --run --ssl` in 0.008 seconds [2022-02-05 04:13:23 +0000] Processing: Ensure cpanel-plugins yum repo exists [2022-02-05 04:13:24 +0000] - Finished in 0.880 seconds [2022-02-05 04:13:24 +0000] Processing: Checking Addon Licenses [2022-02-05 04:13:24 +0000] - Finished in 0.008 seconds [2022-02-05 04:13:24 +0000] Processing: Updating Public Suffix List [2022-02-05 04:13:24 +0000] Processing: Checking End Of Life for current version. [2022-02-05 04:13:24 +0000] - Finished in 0.143 seconds [2022-02-05 04:13:24 +0000] Processing: [2022-02-05 04:13:24 +0000] Maintenance complete. => Log closed Sat Feb 5 04:13:24 2022 ---------------------------------------------------------------------------------------------------- => Log opened from cPanel Update (upcp) - Slave (968747) at Sat Feb 5 04:13:24 20220 -
I'm glad forcing an update resolved the issue! It seems there were problems with some internal cPanel files that the update was able to resolve. 0
Please sign in to leave a comment.
Comments
3 comments