The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cPanel Fails to Restart

Discussion in 'General Discussion' started by levanphu, Jul 6, 2017.

  1. levanphu

    levanphu Registered

    Joined:
    Jul 6, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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. Thanks error.png
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,979
    Likes Received:
    1,275
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  3. levanphu

    levanphu Registered

    Joined:
    Jul 6, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
    
     
  4. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    542
    Likes Received:
    39
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi,

    Try to run following command and after that restart cpanel service.

    /scripts/upcp --force
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,979
    Likes Received:
    1,275
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page