Cpanel version change is blocked
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
-
Hello :) Check for any hanging YUM and RPM processes via: 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: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.0 -
It worked. Thanks 0 -
[quote="hilario, post: 1537772">It worked. Thanks
I am happy to hear the issue is now resolved. Thank you for updating us with the outcome.0
Please sign in to leave a comment.
Comments
3 comments