rpmdb: BDB0113 Threadprocess 18616139854252218432 failed: BDB1507 Thread died in Berkeley DB libra

rpmdb: BDB0113 Threadprocess 18616139854252218432 failed: BDB1507 Thread died in Berkeley DB libra,第1张

报错 :error: rpmdb: BDB0113 Thread/process 18616/139854252218432 failed: BDB1507 Thread died in Berkeley DB library

1.起因

由于要升级openssl,在查看版本时发现以下报错:

error: rpmdb: BDB0113 Thread/process 18616/139854252218432 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
error: rpmdb: BDB0113 Thread/process 18616/139854252218432 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 database in /var/lib/rpm

2. 故障解决

这里暂时将文件移动到了/opt/yumbak下,其实直接删除也可以

mkdir /opt/yumbak && mv /var/lib/rpm/__db.00* /opt/yumbak &&yum clean all

3. 再次尝试
yum makecache


升级openssl

完成openssl升级

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/942287.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-18
下一篇 2022-05-18

发表评论

登录后才能评论

评论列表(0条)

保存