Linux用户正在运用历程外,有时会逢到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
[root@localhost byrd]# yum clean all
那便是处理Linux体系呈现Fatal error, run database recovery 谬误的要领了,虽然要领很简略,然而却很真用哦。
相关文章