RPM Fatal error, run database recovery

  • Posted on: 8 March 2014
  • By: oon

when you received error while update yum:

rpmdb: Thread/process 4313/140191119701760 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:

here's how to fix:

# ls /var/lib/rpm/__db.00*
# rm -f /var/lib/rpm/__db.00*
# rpm --rebuilddb
# yum clean all

[1]http://www.redhat.com/archives/rhl-list/2006-October/msg03072.html
[2]http://www.cyberciti.biz/faq/centos-rpmdb-panic-fatal-region-error-detec...

Tags: 

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.