最近在做RHCE的题目,yum命令装vdo时,使用yum install命令的时候,提示error: rpmdb: BDB0113 Thread/process,具体错误如下:
[root@node2 ~]# yum install vdo -y error: rpmdb: BDB0113 Thread/process 1482/139746731894592 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: Error: rpmdb open failed
解决方法:
[root@node2 ~]# mv /var/lib/rpm/__db.00* /tmp/&&yum clean all
-- 执行后会有如下提示:
12 files removed
然后就可以正常使用了,
问题又来了,当我把 /tmp/_db.00* 删除后 还是正常使用呢 真的是个玄学的问题???
借鉴学习:(3条消息) yum命令提示error: rpmdb: BDB0113 Thread/process,解决方法_A吴广智的博客-CSDN博客_rpmdb:bdb0113 thread
标签:Thread,process,rpmdb,BDB0113,yum,error From: https://www.cnblogs.com/yuwen01/p/16971359.html