000033370 - Yum Error in RSA Security Analytics: "Thread died in Berkeley DB library"

Document created by RSA Customer Support Employee on Jul 7, 2016Last modified by RSA Customer Support Employee on Apr 22, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000033370
Applies ToRSA Product Set: Security Analytics
RSA Product/Service Type: Security Analytics Core Appliances
RSA Version/Condition: 10.3.x, 10.4.x, 10.5.x, 10.6.x.
Platform: CentOS 6

IssueWhile running yum clean all command, an error is thrown that the thread died in Berkeley DB library
[root@DECODER1 /]# yum clean all
rpmdb: Thread/process 11935/140166628886272 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
CauseThis is because of corrupted RPM DB files under /var/lib/rpm.
ResolutionTo resolve the issue, delete the db files under /var/lib/rpm and run the yum command again.
# cd /var/lib/rpm
# mv __db.* /tmp
# yum clean all