levanphu

Registered
Jul 6, 2017
2
0
1
Viet Nam
cPanel Access Level
Root Administrator
Dear Admin & All user,
I'm using cpanel in my centOS, that's run good before shutdown server and restart it notification is:
in root:
PHP:
service cpanel start
and error is:
Code:
Starting cpanel:
Cpanel/Locale/Utils/User.pm did not return a true value at /usr/local/cpanel/Cpanel.pm line 24.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel.pm line 24.
Compilation failed in require at /usr/local/cpanel/Cpanel/Mailman/Filesys.pm line 10.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Mailman/Filesys.pm line 10.
Compilation failed in require at /usr/local/cpanel/Cpanel/Mailman.pm line 11.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Mailman.pm line 11.
Compilation failed in require at /usr/local/cpanel/etc/init/startup line 14.
BEGIN failed--compilation aborted at /usr/local/cpanel/etc/init/startup line 14.
Can't start cpanel service. How can help me fix this error. Thankserror.png
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,215
363
Hello,

Please run the following commands and let us know if you notice any error messages:

Code:
/scripts/check_cpanel_rpms --fix
/scripts/upcp --force
Thank you.
 

levanphu

Registered
Jul 6, 2017
2
0
1
Viet Nam
cPanel Access Level
Root Administrator
Hello,
Im using command
Code:
/scripts/check_cpanel_rpms --fix
and error code is
Code:
Cpanel/Wrap/Config.pm did not return a true value at /usr/local/cpanel/Cpanel/AdminBin.pm line 17.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/AdminBin.pm line 17.
Compilation failed in require at /usr/local/cpanel/Cpanel/Hooks.pm line 14.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Hooks.pm line 14.
Compilation failed in require at /usr/local/cpanel/Cpanel/RPM/Versions/File.pm line 20.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/RPM/Versions/File.pm line 20.
Compilation failed in require at /scripts/check_cpanel_rpms line 25.
BEGIN failed--compilation aborted at /scripts/check_cpanel_rpms line 25.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,215
363
Hello,

Feel free to open a support ticket using the link in my signature so we can take a closer look at the affected system.

Thank you.