cPanel & WHM update failure in upcp script
I am getting lot of email from cPanel & WHM update failure in upcp script.
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.
Post-sync cleanup ended; however, it did not exit cleanly. Review the update logs to determine why the update failed.
Maintenance ended; however, it did not exit cleanly (512). Review the update logs to determine why the update failed.
Update log preview:
[2017-11-21 02:27:13 +0600] [/usr/local/cpanel/scripts/rpmup] glibc-2.17-196.el7.x86_64
[2017-11-21 02:27:13 +0600] [/usr/local/cpanel/scripts/rpmup] glibc-2.17-196.el7.i686
[2017-11-21 02:27:13 +0600] [/usr/local/cpanel/scripts/rpmup] OK: RPM DB is responding to queries
[2017-11-21 02:27:13 +0600] [/usr/local/cpanel/scripts/rpmup] Testing if rpm_is_working RPM is installed
[2017-11-21 02:27:13 +0600] [/usr/local/cpanel/scripts/rpmup] package rpm_is_working is not installed
[2017-11-21 02:27:13 +0600] [/usr/local/cpanel/scripts/rpmup] Testing if it's possible to install a simple RPM
[2017-11-21 02:27:13 +0600] [/usr/local/cpanel/scripts/rpmup] Preparing... ########################################
[2017-11-21 02:27:13 +0600] [/usr/local/cpanel/scripts/rpmup] Updating / installing...
[2017-11-21 02:27:13 +0600] [/usr/local/cpanel/scripts/rpmup] rpm_is_working-1.0-0 ########################################
[2017-11-21 02:27:13 +0600] [/usr/local/cpanel/scripts/rpmup] checkyum version 22.3
[2017-11-21 02:27:13 +0600] [/usr/local/cpanel/scripts/rpmup] Loaded plugins: fastestmirror, universal-hooks
[2017-11-21 02:27:13 +0600] [/usr/local/cpanel/scripts/rpmup] Loading mirror speeds from cached hostfile
[2017-11-21 02:27:13 +0600] [/usr/local/cpanel/scripts/rpmup] * EA4: 85.13.201.2
[2017-11-21 02:27:13 +0600] [/usr/local/cpanel/scripts/rpmup] * cpanel-addons-production-feed: 85.13.201.2
[2017-11-21 02:27:13 +0600] [/usr/local/cpanel/scripts/rpmup] No packages marked for update
[2017-11-21 02:27:13 +0600] E [/usr/local/cpanel/scripts/rpmup] The "/usr/local/cpanel/scripts/rpmup" command (process 28605) reported error number 2 when it ended.
[2017-11-21 02:27:13 +0600] The Administrator will be notified to review this output when this script completes
[2017-11-21 02:27:13 +0600] - Finished command `/usr/local/cpanel/scripts/rpmup` in 11.019 seconds
[2017-11-21 02:27:13 +0600] 29% complete
[2017-11-21 02:27:13 +0600] - Finished in 11.019 seconds
[2017-11-21 02:27:13 +0600] 30% complete
=> Log closed Tue Nov 21 02:27:13 2017
----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave (28326) at Tue Nov 21 02:27:13 2017
[2017-11-21 02:27:13 +0600] E Pre Maintenance ended, however it did not exit cleanly (256). Please check the logs for an indication of what happenedPost-sync cleanup ended; however, it did not exit cleanly. Review the update logs to determine why the update failed.
Update log preview:
[2017-11-21 02:27:17 +0600] W ipaliases relies on locale, but it hasn't run
[2017-11-21 02:27:17 +0600] W localperl relies on locale, but it hasn't run
[2017-11-21 02:27:17 +0600] W mailaliasinuserdata relies on locale, but it hasn't run
[2017-11-21 02:27:17 +0600] W mailman relies on locale, but it hasn't run
[2017-11-21 02:27:17 +0600] 48% complete
[2017-11-21 02:27:17 +0600] W conf relies on default_feature_files, but it hasn't run
[2017-11-21 02:27:17 +0600] W cpanelconf relies on conf, but it hasn't run
[2017-11-21 02:27:17 +0600] W legacybackups relies on conf, but it hasn't run
[2017-11-21 02:27:17 +0600] W warn_if_pop_before_smtp_enabled relies on conf, but it hasn't run
[2017-11-21 02:27:17 +0600] 49% complete
[2017-11-21 02:27:17 +0600] W post relies on CPIpv6, but it hasn't run
[2017-11-21 02:27:17 +0600] W cpanelpost relies on CPIpv6, but it hasn't run
[2017-11-21 02:27:17 +0600] W ssl_migration relies on CPIpv6, but it hasn't run
[2017-11-21 02:27:17 +0600] W upgrade_to_paper_lantern relies on CPIpv6, but it hasn't run
[2017-11-21 02:27:17 +0600] 50% complete
[2017-11-21 02:27:17 +0600] W check_copyright_files relies on CPIpv6, but it hasn't run
=> Log closed Tue Nov 21 02:27:17 2017
----------------------------------------------------------------------------------------------------
=> Log opened from /usr/local/cpanel/scripts/post_sync_cleanup (28650) at Tue Nov 21 02:27:17 2017
[2017-11-21 02:27:17 +0600] The Administrator will be notified to review this output when this script completes
[2017-11-21 02:27:17 +0600] 51% complete
=> Log closed Tue Nov 21 02:27:17 2017
----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave (28326) at Tue Nov 21 02:27:17 2017
[2017-11-21 02:27:17 +0600] E Post-sync cleanup has ended, however it did not exit cleanly. Please check the logs for an indication of what happenedMaintenance ended; however, it did not exit cleanly (512). Review the update logs to determine why the update failed.
Update log preview:
[2017-11-21 02:27:28 +0600] [/usr/local/cpanel/scripts/sysup] * base: mirror.23media.de
[2017-11-21 02:27:28 +0600] [/usr/local/cpanel/scripts/sysup] * extras: mirror.rackspeed.de
[2017-11-21 02:27:28 +0600] [/usr/local/cpanel/scripts/sysup] * updates: mirror.eu.oneandone.net
[2017-11-21 02:27:28 +0600] [/usr/local/cpanel/scripts/sysup] No packages marked for update
[2017-11-21 02:27:28 +0600] [/usr/local/cpanel/scripts/sysup] checkyum version 22.3
[2017-11-21 02:27:28 +0600] - Finished command `/usr/local/cpanel/scripts/sysup` in 11.058 seconds
[2017-11-21 02:27:28 +0600] - Finished in 11.059 seconds
[2017-11-21 02:27:28 +0600] Processing: Restarting any outdated services
[2017-11-21 02:27:28 +0600] - Processing command `/usr/local/cpanel/scripts/find_outdated_services --always-restart`
[2017-11-21 02:27:33 +0600] [/usr/local/cpanel/scripts/find_outdated_services] Looking for outdated services "
[2017-11-21 02:27:33 +0600] [/usr/local/cpanel/scripts/find_outdated_services] The system did not find any outdated services.
[2017-11-21 02:27:33 +0600] - Finished command `/usr/local/cpanel/scripts/find_outdated_services --always-restart` in 4.967 seconds
[2017-11-21 02:27:33 +0600] 57% complete
[2017-11-21 02:27:33 +0600] Processing: Running platform specific optimizations
[2017-11-21 02:27:33 +0600] - Processing command `/usr/local/cpanel/scripts/vps_optimizer`
[2017-11-21 02:27:33 +0600] - Finished command `/usr/local/cpanel/scripts/vps_optimizer` in 0.029 seconds
[2017-11-21 02:27:33 +0600] Processing: Checking for a valid C Compiler.
[2017-11-21 02:27:33 +0600] - Processing command `/usr/local/cpanel/scripts/checkccompiler`
[2017-11-21 02:27:33 +0600] [/usr/local/cpanel/scripts/checkccompiler] C compiler (/usr/bin/gcc) OK (cached Mon Nov 20 21:45:45 2017)
[2017-11-21 02:27:33 +0600] [/usr/local/cpanel/scripts/checkccompiler] Tuned C compiler not available because it is not enabled
[2017-11-21 02:27:33 +0600] - Finished command `/usr/local/cpanel/scripts/checkccompiler` in 0.057 seconds
=> Log closed Tue Nov 21 02:27:33 2017
----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave (28326) at Tue Nov 21 02:27:33 2017
[2017-11-21 02:27:33 +0600] E Post Maintenance ended, however it did not exit cleanly (512). Please check the logs for an indication of what happened-
Hello, Could you manually run the "/usr/local/cpanel/scripts/rpmup" command and let us know the output? Thank you. 0 -
Hello, Could you manually run the "/usr/local/cpanel/scripts/rpmup" command and let us know the output? Thank you.
This log from the "/usr/local/cpanel/scripts/rpmup" command.[root@ad ~]# /usr/local/cpanel/scripts/rpmup Checking that the RPM DB is OK... glibc-2.17-196.el7.x86_64 glibc-2.17-196.el7.i686 OK: RPM DB is responding to queries Testing if rpm_is_working RPM is installed package rpm_is_working is not installed Testing if it's possible to install a simple RPM Preparing... ######################################## Updating / installing... rpm_is_working-1.0-0 ######################################## checkyum version 22.3 Loaded plugins: fastestmirror, universal-hooks Loading mirror speeds from cached hostfile * EA4: 85.13.201.2 * cpanel-addons-production-feed: 85.13.201.2 Excluding mirror: centos.copahost.com * base: mirror.23media.de * extras: mirror.rackspeed.de * updates: ftp.hosteurope.de No packages marked for update checkyum version 22.3 [root@ad ~]#0 -
Hello, Can you verify if the cPanel update continues to fail? If so, try rebuilding the RPM database to see if that helps: "WHM Home " Software " Rebuild RPM Database" Thank you. 0 -
Hello, Can you verify if the cPanel update continues to fail? If so, try rebuilding the RPM database to see if that helps: "WHM Home " Software " Rebuild RPM Database" Thank you.
OK I do run Rebuild RPM Database and Wait for cPanel update fail email.0 -
Hello, You can manually run the following command if you don't want to wait for the next automatic update to see if the issue persists: /scripts/upcp
Thank you.0
Please sign in to leave a comment.
Comments
5 comments