Questions? Feedback? powered by Olark live chat software
Author Avatar

RPM database corrupted

Written by: on 27 April 2021 05:34 PM 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))
Not helpful