000033370 - Yum Error in RSA NetWitness Platform: "Thread died in Berkeley DB library"

Document created by RSA Customer Support Employee on Jul 7, 2016Last modified by RSA Customer Support on Aug 13, 2020
Version 4Show Document
  • View in full screen mode

Article Content

Article Number000033370
Applies ToRSA Product Set: NetWitness Platform
RSA Product/Service Type: NetWitness Platform Core Appliances
RSA Version/Condition: 11.x, 10.6.x
Platform: CentOS 6/7

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 error is caused by a corrupt RPM DB file under the /var/lib/rpm directory.
ResolutionTo resolve the issue, move the RPM DB files from under /var/lib/rpm and rebuild the RPM db files.

mkdir -p /tmp/rpm-backup
cp -vf /var/lib/rpm/__db.* /tmp/rpm-backup
rm -vf /var/lib/rpm/__db.*

rpm --quiet -qa
rpm --rebuilddb
yum clean all