Webmin on CentOS 7.9 fails to update with DB_RUNRECOVERY

On an older system with CentOS 7.9, Webmin might fail to update:

Failed to upgrade from www.webmin.com : RPM signature verification failed :

error: rpmdb: BDB0113 Thread/process 22337/140370335274816 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
/tmp/.webmin/718395_24926_2_upgrade.cgi.rpm: (SHA1) DSA sha1 md5 (GPG) NOT OK (MISSING KEYS: GPG#11f63c51)


# mkdir /var/lib/rpm/backup
# mv /var/lib/rpm/__db* /var/lib/rpm/backup/
# rpmdb --rebuilddb


Share this article

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top