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 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:
    50
    Likes Received:
    0
    Trophy Points:
    56
    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
     
    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,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. hilario

    hilario Well-Known Member

    Joined:
    Jan 5, 2008
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    56
    Location:
    Sao Paulo, Brazil
    It worked.
    Thanks
     
    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,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I am happy to hear the issue is now resolved. Thank you for updating us with the outcome.
     
    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