Knowledgebase
Knowledgebase
RPM database corrupted
Posted by Will Kruss on 27 April 2021 05:34 PM

If when any updates are running they receive errors containing: DB_RUNRECOVERY: Fatal error, run database recovery error

Then most likely the RPM database has become corrupted.

To fix this run the following commands in WHM -> terminal or SSH on the server:

mkdir /root/rpmdbbackup
mv /var/lib/rpm/__db* /root/rpmdbbackup/ 
rpm -vv --rebuilddb

(0 vote(s))
Helpful
Not helpful