rpmdb problems

General support questions
Post Reply
User avatar
warron.french
Posts: 524
Joined: 2014/03/27 20:21:58

rpmdb problems

Post by warron.french » 2020/10/14 23:05:24

We have a Red Hat system that when I execute rpm -qa it generates some errant output.

Here is what I execute and get as a result:

Code: Select all

rpm -qa
error: rpmdb: BDB0113 Thread/process 21848/140484815730752 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
error: rpmdb: BDB0113 Thread/process 21848/140484815730752 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 database in /var/lib/rpm
Any ideas on how to fix a problem like this?
Thanks,
War

User avatar
warron.french
Posts: 524
Joined: 2014/03/27 20:21:58

Re: rpmdb problems

Post by warron.french » 2020/10/14 23:07:58

I just found these steps:

https://cloudlinux.zendesk.com/hc/en-us ... DB-library

Does anyone know or think it is advisable to follow this procedure to fix the RPMDB on my system?
Thanks,
War

Post Reply

Return to “CentOS 7 - General Support”