升级系统的时候yum upgrade被kill掉(原因有点奇葩,居然是由于网络不稳定导致的!!!),导致服务无法进行yum,错误信息如下:
0 1 2 3 4 5 |
[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
[root@localhost byrd]# yum clean all SourceByrd's Weblog-https://note.t4x.org/error/died-in-berkeley-db-library/
THE ENDSourceByrd's Weblog-https://note.t4x.org/error/died-in-berkeley-db-library/ SourceByrd's Weblog-https://note.t4x.org/error/died-in-berkeley-db-library/
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!