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 version change is blocked

Discussion in 'General Discussion' started by hilario, Dec 23, 2013.

  1. hilario

    hilario Well-Known Member

    Joined:
    Jan 5, 2008
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Sao Paulo, Brazil
    I am getting this failure message from cPanel:
    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).

    In WHM »Home »System Health »Process Manager I have the following processes listed:

    /usr/bin/python /usr/bin/yum update (listed two times)
    /usr/bin/python -tt /usr/sbin/yum-updatesd
    /usr/local/cpanel/scripts/checkyum
    /usr/bin/python -tt /usr/libexec/yum-updatesd-helper --check --dbus


    Question:
    Should I manually kill some of these processes?
    Is it safe to kill all those processes?

    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Check for any hanging YUM and RPM processes via:

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

    Code:
    mkdir /root/old_rpm_dbs/
    mv /var/lib/rpm/__db* /root/old_rpm_dbs/
    rpm --rebuilddb
    Then, run "yum update" to see if it completes successfully.

    Thank you.
     
  3. hilario

    hilario Well-Known Member

    Joined:
    Jan 5, 2008
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Sao Paulo, Brazil
    It worked.
    Thanks
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I am happy to hear the issue is now resolved. Thank you for updating us with the outcome.
     
Loading...

Share This Page