How to resolve Error: rpmdb open failed In CentOS
In this tutorial, How to resolve Error: rpmdb open failed Error In CentOS. I was testing on nginx web server in Centos 7 VM Linode. Unfortunaely, I have install new package with yum command , I got this error message:
It seemes like YUM broke down. I have not run any yum command.
Run the following command:
Clean backup
I hope this helps you.
error: rpmdb: BDB0113 Thread/process 3050/139803232012096 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 - (-30973)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:
Error: rpmdb open failed
It seemes like YUM broke down. I have not run any yum command.
Solve problem, just do the following steps.
First backup the rpm database using command as root user:
# mv /var/lib/rpm/__db* /tmp
Run the following command:
# yum clean all
# yum update
Clean backup
# rm -i /tmp/__db*
I hope this helps you.
Comments
Post a Comment