Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

The cPanel & WHM update process failed

Discussion in 'General Discussion' started by carolainn, Mar 6, 2018.

Tags:
  1. carolainn

    carolainn Member

    Joined:
    Feb 22, 2018
    Messages:
    10
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Argentina
    cPanel Access Level:
    Root Administrator
    I got this message today, what's the problem? what do I have to do? I recently migrated to EA4, and I'm getting new errors everyday...


    The cPanel & WHM update process failed for the following reason:
    Maintenance ended; however, it did not exit cleanly (256). Review the update logs to determine why the update failed.

    Update log preview:
    [2018-03-06 00:15:49 -0300] [/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini] No local.ini.
    [2018-03-06 00:15:49 -0300] [/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini] … done!
    [2018-03-06 00:15:49 -0300] [/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini] Processing ea-php56 …
    [2018-03-06 00:15:49 -0300] [/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini] No local.ini.
    [2018-03-06 00:15:49 -0300] [/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini] … done!
    [2018-03-06 00:15:49 -0300] - Finished command `/usr/local/cpanel/scripts/migrate_local_ini_to_php_ini --run --verbose` in 0.134 seconds
    [2018-03-06 00:15:49 -0300] 92% complete
    [2018-03-06 00:15:49 -0300] 93% complete
    [2018-03-06 00:15:49 -0300] - Finished in 0.022 seconds
    [2018-03-06 00:15:49 -0300] Processing: Ensuring an "Active" MySQL profile is set
    [2018-03-06 00:15:49 -0300] - Processing command `/usr/local/cpanel/scripts/check_mysql`
    [2018-03-06 00:15:49 -0300] [/usr/local/cpanel/scripts/check_mysql] “check_mysql” will complete in the background (process ID 29987).
    [2018-03-06 00:15:49 -0300] - Finished command `/usr/local/cpanel/scripts/check_mysql` in 0.136 seconds
    [2018-03-06 00:15:49 -0300] Processing: Checking CloudLinux installation
    [2018-03-06 00:15:49 -0300] - Processing command `/usr/local/cpanel/bin/cloudlinux_update`
    [2018-03-06 00:15:49 -0300] - Finished command `/usr/local/cpanel/bin/cloudlinux_update` in 0.074 seconds
    [2018-03-06 00:15:49 -0300] 94% complete
    [2018-03-06 00:15:49 -0300] Processing: Updating plugins data cache
    [2018-03-06 00:15:49 -0300] - Processing command `/usr/local/cpanel/bin/refresh_plugin_cache`
    [2018-03-06 00:15:49 -0300] - Finished command `/usr/local/cpanel/bin/refresh_plugin_cache` in 0.017 seconds
    [2018-03-06 00:15:49 -0300] 95% complete
    => Log closed Tue Mar 6 00:15:49 2018
    ----------------------------------------------------------------------------------------------------
    => Log opened from cPanel Update (upcp) - Slave (28471) at Tue Mar 6 00:15:49 2018
    [2018-03-06 00:15:49 -0300] E Pre Maintenance ended, however it did not exit cleanly (256). Please check the logs for an indication of what happened
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,884
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Please let us know the output from the following command:

    Code:
    awk '$4=="E"' /var/cpanel/updatelogs/update.XXXXXX.log
    Replace "update.XXXXXX.log" with the name of the most recent log file in the /var/cpanel/updatelogs/ directory.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. carolainn

    carolainn Member

    Joined:
    Feb 22, 2018
    Messages:
    10
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Argentina
    cPanel Access Level:
    Root Administrator
    [2018-03-06 00:15:33 -0300] E [/usr/local/cpanel/scripts/modsec_vendor] The “/usr/local/cpanel/scripts/modsec_vendor” command (process 29818) reported error number 255 when it ended.
    [2018-03-06 00:15:49 -0300] E Pre Maintenance ended, however it did not exit cleanly (256). Please check the logs for an indication of what happened

    Thank you!
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,884
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Try running the following command manually to see if it fails:

    Code:
    /usr/local/cpanel/scripts/modsec_vendor update --auto
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice