Linux > Plesk

Fix rpmdb: Thread died in Berkeley DB library

(1/1)

vichithrakumart:
This error occurs while upgrading the server packages and Plesk. This error shows because of the RPM database is opening failed.


--- Code: ---yum update
rpmdb: Thread/process 16955/139826084484864 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 -  (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed


--- End code ---

Please try this to fix the issue


--- Code: ---# mkdir /var/lib/rpm/backup
# cp -a /var/lib/rpm/__db* /var/lib/rpm/backup/
# rm -f /var/lib/rpm/__db.[0-9][0-9]*
# rpm --quiet -qa
# rpm --rebuilddb
# yum clean all
--- End code ---

Navigation

[0] Message Index

Go to full version