ITPub博客

首页 > Linux操作系统 > Linux操作系统 > yum failed: Thread died in Berkeley DB library

yum failed: Thread died in Berkeley DB library

原创 Linux操作系统 作者:李晨超 时间:2014-01-17 10:48:31 0 删除 编辑


配置yum后,使用yum list命令,由于运行速度比较慢,就强制停止了,下次运行yum命令报错:

                                                                
rpmdb: Thread/process 2407/3079034560 failed: Thread died in Berkeley DB library
error: db4 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
/usr/lib/python2.6/site-packages/yum/config.py:884: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
raise Errors.YumBaseError(“Error: ” + e.message)
CRITICAL:yum.main:
Error: rpmdb open failed

 
[root@lichenchao ~]#rm /var/lib/rpm/__db*
rm: remove regular empty file __db.000'? y
rm: remove regular file __db.001′? y
rm: remove regular file __db.002'? y
rm: remove regular file __db.003′? y
rm: remove regular file __db.004'? y




来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/25756293/viewspace-1072009/,如需转载,请注明出处,否则将追究法律责任。

上一篇: bbed的使用
请登录后发表评论 登录
全部评论

注册时间:2011-05-09

  • 博文量
    5
  • 访问量
    77848