The cPanel & WHM update process failed
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
-
[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
Hello, Please let us know the output from the following command: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.0 -
Hello, Please let us know the output from the following command:
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.
[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!0 -
Hello, Try running the following command manually to see if it fails: /usr/local/cpanel/scripts/modsec_vendor update --auto
Thank you.0
Please sign in to leave a comment.
Comments
3 comments