Issues accessing whm/cpanel web interface

zkoradia

Registered
Nov 16, 2019
1
0
1
United Kingdom
cPanel Access Level
Root Administrator
I seem to have lost access to the web interface to whm/cpanel. I get a network connection error in the browser. I am able to ssh to the machine. One of the forum threads suggested trying to restart cpanel but I got the following error.


Code:
# service cpanel restart
Redirecting to /bin/systemctl restart cpanel.service

Job for cpanel.service failed because a timeout was exceeded. See "systemctl status cpanel.service" and "journalctl -xe" for details.
And systemctl status returned the following
Code:
# systemctl status cpanel.service
● cpanel.service - cPanel services
   Loaded: loaded (/etc/systemd/system/cpanel.service; enabled; vendor preset: disabled)
   Active: failed (Result: timeout) since Sat 2019-11-16 08:34:55 GMT; 15s ago
  Process: 8326 ExecStop=/usr/local/cpanel/scripts/restartsrv_cpsrvd --no-verbose --stop --notconfigured-ok --systemd-service=cpanel (code=exited, status=0/SUCCESS)
  Process: 4664 ExecStart=/usr/local/cpanel/scripts/restartsrv_cpsrvd --no-verbose --notconfigured-ok --systemd-service=cpanel (code=killed, signal=TERM)
 Main PID: 2751 (code=exited, status=255)
   CGroup: /system.slice/cpanel.service
           ├─11795 tail -f uplearn.co.uk-ssl_log
           ├─18565 tail -f uplearn_co_uk.php.error.log
           └─25515 tail -f uplearn.co.uk-ssl_log

Nov 16 08:34:49 v1-up-learn restartsrv_cpsrvd[4664]: /usr/local/cpanel/libexec/cpsrvd-dormant: Waiting to bind to.......
Nov 16 08:34:50 v1-up-learn restartsrv_cpsrvd[4664]: /usr/local/cpanel/libexec/cpsrvd-dormant: Waiting to bind to.......
Nov 16 08:34:51 v1-up-learn restartsrv_cpsrvd[4664]: /usr/local/cpanel/libexec/cpsrvd-dormant: Waiting to bind to.......
Nov 16 08:34:52 v1-up-learn restartsrv_cpsrvd[4664]: /usr/local/cpanel/libexec/cpsrvd-dormant: Waiting to bind to.......
Nov 16 08:34:53 v1-up-learn restartsrv_cpsrvd[4664]: /usr/local/cpanel/libexec/cpsrvd-dormant: Waiting to bind to.......
Nov 16 08:34:54 v1-up-learn restartsrv_cpsrvd[4664]: /usr/local/cpanel/libexec/cpsrvd-dormant: Waiting to bind to.......
Nov 16 08:34:55 v1-up-learn systemd[1]: cpanel.service start operation timed out. Terminating.
Nov 16 08:34:55 v1-up-learn systemd[1]: Failed to start cPanel services.
Nov 16 08:34:55 v1-up-learn systemd[1]: Unit cpanel.service entered failed state.
Nov 16 08:34:55 v1-up-learn systemd[1]: cpanel.service failed.
Netstat showed that the ports 2087 and 2083 are not open and being listened on, which aligns well with the network connection error I saw from the browser.

I was hesitant trying much else as the websites from user accounts are all running okay right now. Any suggestions on what else I could try so as to understand what has happened and recover?

Version info below:
Code:
# grep '' /etc/redhat-release /usr/local/cpanel/version /var/cpanel/envtype ; grep CPANEL= /etc/cpupdate.conf
/etc/redhat-release:CentOS Linux release 7.7.1908 (Core)
/usr/local/cpanel/version:11.84.0.9
/var/cpanel/envtype:kvm
CPANEL=release