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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cPanel & WHM update failure in upcp script

Discussion in 'General Discussion' started by fullfatdesigns, Oct 28, 2016.

Tags:
  1. fullfatdesigns

    fullfatdesigns Active Member

    Joined:
    Aug 1, 2014
    Messages:
    34
    Likes Received:
    4
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Hi

    I've had a cPanel & WHM update failure in upcp script email this morning along with another saying it terminated after 6hours of trying. I've looked through other threads, but some of the log details were a bit different, so didn't want to just try what was suggested in case that wasn't right. Can someone suggest what I should try please?

    Thanks

    Code:
    Update log preview:
    [2016-10-27 23:17:08 +0100] Using mirror '91.197.228.252' for host 'httpupdate.cpanel.net'.
    [2016-10-27 23:17:09 +0100] Successfully verified signature for cpanel (key types: release).
    [2016-10-27 23:17:09 +0100] Target version set to '11.58.0.32'
    [2016-10-27 23:17:09 +0100] Up to date (11.58.0.32)
    => Log closed Thu Oct 27 23:17:09 2016
    [2016-10-27 23:17:09 +0100] 17% complete
    => Log closed Thu Oct 27 23:17:09 2016
    ----------------------------------------------------------------------------------------------------
    => Log opened from /usr/local/cpanel/scripts/maintenance (13202) at Thu Oct 27 23:17:09 2016
    [2016-10-27 23:17:09 +0100] 21% complete
    [2016-10-27 23:17:09 +0100] Purging cpupdate.conf of invalid entries
    [2016-10-27 23:17:09 +0100] Purging upcp logs older than 45 days.
    [2016-10-27 23:17:09 +0100] Processing: Assuring needed symlinks in 3rdparty/bin are in place.
    [2016-10-27 23:17:09 +0100] - Processing command `/usr/local/cpanel/scripts/link_3rdparty_binaries`
    [2016-10-27 23:17:09 +0100] Processing: Setting clock
    [2016-10-27 23:17:09 +0100] - Processing command `/usr/local/cpanel/scripts/rdate`
    [2016-10-27 23:17:09 +0100] [13204] The 'ntpd' daemon is running on PID '9513'. Exiting.
    [2016-10-27 23:17:09 +0100] 22% complete
    [2016-10-27 23:17:09 +0100] Processing: Updating cPanel signing keys.
    [2016-10-27 23:17:09 +0100] - Processing command `/usr/local/cpanel/scripts/updatesigningkey`
    [2016-10-27 23:17:09 +0100] 23% complete
    => Log closed Thu Oct 27 23:17:10 2016
    ----------------------------------------------------------------------------------------------------
    => Log opened from cPanel Update (upcp) - Slave (13178) at Thu Oct 27 23:17:10 2016
    [2016-10-27 23:17:10 +0100] E Maintenance ended, however it did not exit cleanly (256). Please check the logs for an indication of what happened
     
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    568
    Likes Received:
    40
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Please try update cPnale forcefully using following command :
     
  3. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    404
    Likes Received:
    3
    Trophy Points:
    143
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Twitter:
    Is there any thing else in the logs ? If so please paste it as well. Else please check and confirm your update preferences and make sure you have selected the stable release and then try a force cpanel update using /scripts/upcp --force option
     
  4. fullfatdesigns

    fullfatdesigns Active Member

    Joined:
    Aug 1, 2014
    Messages:
    34
    Likes Received:
    4
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    I've tried a force update and its getting stuck at this line

    Code:
    E Blocker found: Your RPM database appears unstable. It is not possible at the moment to install a simple RPM.
    Edit : This is the message I get when logged into whm;

    Code:
    Reasons for blocked updates.
    Please correct these issues and rerun updates.
    fatal: Your RPM database appears unstable. It is not possible at the moment to install a simple RPM.
    fatal: Cannot upgrade because yum is locked (/var/run/yum.pid has existed for 10+ minutes).
     
    #4 fullfatdesigns, Oct 28, 2016
    Last edited: Oct 28, 2016
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @fullfatdesigns,

    Check for any hanging YUM and RPM processes via:

    Code:
    ps aux|grep rpm
    ps aux|grep yum
    Kill any of those processes that are no longer active, and then rebuild the RPM database via:

    "WHM Home » Software » Rebuild RPM Database"

    Then, run "yum update" to see if it completes successfully.

    Thank you.
     
  6. fullfatdesigns

    fullfatdesigns Active Member

    Joined:
    Aug 1, 2014
    Messages:
    34
    Likes Received:
    4
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Thanks.

    Its running now, but stuck at 35%;

    Code:
    - Processing command `/usr/local/cpanel/scripts/check_cpanel_rpms --list-only --long-list --notify`
    Its been like that for about 50mins... should it take that long?
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Try waiting a few more minutes. If it's still hanging, open a support ticket using the link in my signature and we will take a closer look to determine what's happening. You can post the ticket number here and we will update this thread with the outcome.

    Thanks!
     
  8. fullfatdesigns

    fullfatdesigns Active Member

    Joined:
    Aug 1, 2014
    Messages:
    34
    Likes Received:
    4
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Thanks. Ticket opened. ID 7841309
     
Loading...

Share This Page