You might encounter this issue when you try to update cPanel via frontend or execute /scripts/upcp –force via SSH.
The process can stuck in between.
The root cause of this is when RPM database is not responding.
You can fix this via backend(SSH).
Search for any non responsive RPM or YUM processes.
# ps aux|grep rpm
# ps aux|grep yum
Use kill command to remove all the processes that you are not running now.
After then rebuild the RPM database:
# mkdir /root/old_rpm_database/
# mv /var/lib/rpm/__db* /root/old_rpm_database/
# rpm –rebuilddb
After the Rebuild completes. Initiate the cPanel update again.
# /scripts/upcp –force
This will fix the issue.
You can discuss your views and queries in the comments below.
Powered by Facebook Comments