今天在进行 yum 安装软件包的时候,非常慢,然后进行了 kill -9 操作,准备重新 make cache,出现了Thread died in Berkeley DB library错误,搜索一番进行如下解决。
os :CentOS Linux release 7.6.1810 (Core)
1 2 3 4 5 6 7
[root@bjproxy log]# yum make cache error: rpmdb: BDB0113 Thread/process 12349/140335812044608 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 CRITICAL:yum.main: Error: rpmdb open failed
1 2 3 4 5 6 7
[root@bjproxy log]# yum make cache error: rpmdb: BDB0113 Thread/process 12349/140335812044608 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 CRITICAL:yum.main: Error: rpmdb open failed