al_bozorgi

Member
Nov 6, 2013
13
0
1
cPanel Access Level
Root Administrator
i don't know why my cpanel/whm down maybe for bad update

when i run "service cpanel restart" OS say :

Code:
Redirecting to /bin/systemctl restart  cpanel.service
Job for cpanel.service failed because the control process exited with error code. See "systemctl status cpanel.service" and "journalctl -xe" for details.
when i run "systemctl status cpanel.service" result is :

Code:
   Loaded: loaded (/etc/systemd/system/cpanel.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2017-02-03 02:24:23 IRST; 58s ago
  Process: 3588 ExecStart=/usr/local/cpanel/scripts/restartsrv_cpsrvd --no-verbose --notconfigured-ok (code=exited, status=127)

Feb 03 02:24:23 server.example.com systemd[1]: Starting cPanel services...
Feb 03 02:24:23 server.example.com restartsrv_cpsrvd[3588]: /usr/local/cpanel/scripts/restartsrv_cpsrvd: error while loading shared libraries: /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/x86_64-linux-...le or directory
Feb 03 02:24:23 server.example.com systemd[1]: cpanel.service: control process exited, code=exited status=127
Feb 03 02:24:23 server.example.com systemd[1]: Failed to start cPanel services.
Feb 03 02:24:23 server.example.com systemd[1]: Unit cpanel.service entered failed state.
Feb 03 02:24:23 server.example.com systemd[1]: cpanel.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
then i think RPM package corrupt i rum "/usr/local/cpanel/scripts/check_cpanel_rpms --fix"

but result is :

Code:
[2017-02-03 02:20:26 +0330] W Can't open file: Structure needs cleaning at /usr/local/cpanel/Cpanel/HttpRequest.pm line 412.
[2017-02-03 02:20:26 +0330]   Downloading [URL]http://httpupdate.cpanel.net/RPM/11.62/centos/7/x86_64/rpm.sha512[/URL]
[2017-02-03 02:20:26 +0330] W Can't open file: Structure needs cleaning at /usr/local/cpanel/Cpanel/HttpRequest.pm line 412.
[2017-02-03 02:20:26 +0330]   Downloading [URL]http://httpupdate.cpanel.net/RPM/11.62/centos/7/x86_64/rpm.sha512[/URL]
[2017-02-03 02:20:26 +0330] W Can't open file: Structure needs cleaning at /usr/local/cpanel/Cpanel/HttpRequest.pm line 412.
[2017-02-03 02:20:26 +0330] ***** FATAL: No digest data for cpanel-perl-524-Moo-2.002004-1.cp1162.x86_64.rpm
[2017-02-03 02:20:26 +0330]   The Administrator will be notified to review this output when this script completes
No digest data for cpanel-perl-524-Moo-2.002004-1.cp1162.x86_64.rpm at /usr/local/cpanel/Cpanel/RPM/Versions/File.pm line 777.
any one can help me to fix this ?
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello,

Does the issue persist after forcing a cPanel update via the "/scripts/upcp --force" command? If so, please open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

Thank you.