error: db3 error(-) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery

error: db3 error(-) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery can occur if there is corruption in your rpm database.

Situations also include :

rpmdb: Thread/process /failed: Thread died in Berkeley DB library

error: db3 error(-) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery

error: cannot open Packages index using db3 - (-)

error: cannot open Packages database in /var/lib/rpm

An error has occurred:

<class '_rpm.error'>

# db3 error(-xxxx) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery

For such cases performing the following in should correct the issue:

rpm -qa 
rm -f /var/lib/rpm/__*
rpm --rebuilddb




  • 48 Users Found This Useful

Was this answer helpful?

Related Articles

Failed to start tailwatchd - Unit tailwatchd service entered failed state

Failed to start tailwatchd. Unit tailwatchd.service entered failed state.  tailwatchd.service...

FTP Failed: Service check failed to complete Unable to connect to port 21

The service “ftpd” appears to be down. The system failed to connect to this service’s TCP/IP...

Clear cPanel Eximstats DB and Repairing the Eximstats DB

Over the time or due to spammers the eximstats database file may grow to a large size. To clear...

Error: rpmdb open failed with cPanel

This can occur with older packages sitting on your drive. Try running the following: rm -f...

cPanel Max Defers Occurring for an Account

While viewing exim_mainlog and seeing the following:   enforce_mail_permissions: Domain...