Fatal error, run database recovery 错误修复方法其实简单只要使用三条命令就可以解决 了,如果各位碰到此问题可以进来看看.
升级系统的时候yum upgrade被kill掉,原因有点奇葩,居然是由于网络不稳定导致的,导致服务无法进行yum,错误信息如下:
- [root@localhost byrd]# yum clean all
- rpmdb: Thread/process 17911/140557035468544 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:
解决方法:
- [root@localhosty byrd]# rm -f /var/lib/rpm/__db*
- [root@localhost byrd]# rpm --rebuilddb
- //Vevb.com
- [root@localhost byrd]# yum clean all
新闻热点
疑难解答