Linux system error Fatal error, run database recovery how to solve

  

Linux users in the process of using, sometimes encountered Fatal error, run database recovery and other errors, then how can we solve these errors? Today Xiaobian teaches you how to solve these mistakes.

upgrade the system when yum upgrade kill off (wonderful little reason, is actually due to the instability caused by network !!!), resulting in service can not be yum, the following error message:

[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:

Solution:

[root@localhosty byrd]# rm -f /var/lib/rpm/__db*
< [root@localhost byrd]# rpm --rebuilddb

[root@localhost byrd]# yum clean all

This is the solution to Fatal error, run database recovery error in Linux system. However, although the method is simple, it is very practical. .

Copyright © Windows knowledge All Rights Reserved