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 Update Stuck / Failed - Help

Discussion in 'General Discussion' started by eglwolf, Dec 5, 2013.

  1. eglwolf

    eglwolf Well-Known Member

    Joined:
    Jan 1, 2004
    Messages:
    168
    Likes Received:
    0
    Trophy Points:
    16
    Here is the log from the recent update attempt by cPanel. Can anyone help on what needs to be one to fix this?

    Code:
    Stale PID file '/var/run/upcp.pid' (pid=13777)
    ----------------------------------------------------------------------------------------------------
    => Log opened from cPanel Update (upcp) - Slave (5386) at Thu Dec  5 07:12:58 2013
    [20131205.071258]   Detected cron=0 (SSH connection detected)
    [20131205.071258]   1% complete
    [20131205.071258]   Running Standardized hooks
    [20131205.071259]   2% complete
    [20131205.071259]   mtime on upcp is 1386160812 (Wed Dec  4 04:40:12 2013)
    ----------------------------------------------------------------------------------------------------
    => Log opened from /usr/local/cpanel/scripts/updatenow (5388) at Thu Dec  5 07:13:00 2013
    [20131205.071300]   Detected version '11.40.0.26' from version file.
    [20131205.071300]   --force passed on command line. Upgrade will disregard update config settings.
    [20131205.071300]   Using mirror '208.43.129.162' for host 'httpupdate.cpanel.net'.
    [20131205.071300]   Target version set to '11.40.0.26'
    [20131205.071300]   Checking license
    [20131205.071301]   License file check complete
    [20131205.071301]   Checking that the RPM DB is OK...
    [20131205.072301]   TIMEOUT: RPM DB is not responding after 10 minutes.
    [20131205.072301] E Blocker found: Your RPM database appears unstable. It is not possible at the moment to install a simple RPM.
    [20131205.072301] W An attempt to up/downgrade to 11.40.0.26 was blocked. Please review blockers.
    => Log closed Thu Dec  5 07:23:01 2013
    [20131205.072301]   17% complete
    => Log closed Thu Dec  5 07:23:02 2013
    ----------------------------------------------------------------------------------------------------
    => Log opened from /usr/local/cpanel/scripts/maintenance (6703) at Thu Dec  5 07:23:02 2013
    [20131205.072302]   21% complete
    [20131205.072302]   Purging cpupdate.conf of invalid entries
    [20131205.072303]   Processing: Assuring needed symlinks in 3rdparty/bin are in place.
    [20131205.072303]    - Processing command `/usr/local/cpanel/scripts/link_3rdparty_binaries`
    [20131205.072303]   Processing: Setting clock
    [20131205.072303]    - Processing command `/usr/local/cpanel/scripts/rdate`
    [20131205.072303]   22% complete
    [20131205.072303]   Processing: Checking for immutable files
    [20131205.072303]    - Processing command `/usr/local/cpanel/scripts/check_immutable_files`
    [20131205.072303]      [6710] Not testing for immutable files, because the test was last run approximately 8 days ago (less than 10 days)
    [20131205.072303]   23% complete
    [20131205.072303]   Processing: Checking CloudLinux installation
    [20131205.072303]    - Processing command `/usr/local/cpanel/bin/cloudlinux_update`
    [20131205.072303]   Processing: Checking for corrupt my.cnf and fixing if needed
    [20131205.072303]    - Processing command `/usr/local/cpanel/scripts/autorepair mysqlconfopenfileslimit`
    [20131205.072303]      [6725] Requesting script ... Done
    [20131205.072303]      [6725] Auto Repair is running......Auto Repair is done.
    [20131205.072303]   Processing: Updating system packages
    [20131205.072303]    - Processing command `/usr/local/cpanel/scripts/rpmup`
    [20131205.072404]      [6727] checkyum version 21.1
    
    
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    It looks like your RPM database is not responding:

    Look for any stale RPM and YUM processes with commands such as:

    Code:
    ps aux|grep rpm
    ps aux|grep yum
    Use the "kill" command to terminate any processes that you are not actively running. Then, rebuild the RPM database via:

    Code:
    mkdir /root/old_rpm_dbs/
    mv /var/lib/rpm/__db* /root/old_rpm_dbs/
    rpm --rebuilddb
    Proceed to attempt another cPanel update if this completes successfully:

    Code:
    /scripts/upcp --force
    Thank you.
     
Loading...

Share This Page