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!

cPanel & WHM update failure in upcp script

Discussion in 'General Discussion' started by Nirjonadda, Nov 20, 2017.

Tags:
  1. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    612
    Likes Received:
    15
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    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.

    Code:
    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 happened
    Post-sync cleanup ended; however, it did not exit cleanly. Review the update logs to determine why the update failed.

    Code:
    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 happened
    Maintenance ended; however, it did not exit cleanly (512). Review the update logs to determine why the update failed.

    Code:
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,937
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Could you manually run the "/usr/local/cpanel/scripts/rpmup" command and let us know the output?

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

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    612
    Likes Received:
    15
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    This log from the "/usr/local/cpanel/scripts/rpmup" command.

    Code:
    [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 ~]#
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,937
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    612
    Likes Received:
    15
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    OK I do run Rebuild RPM Database and Wait for cPanel update fail email.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,937
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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:

    Code:
    /scripts/upcp
    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