dr_validate fails on one node with a Berkeley DB library error
search cancel

dr_validate fails on one node with a Berkeley DB library error

book

Article ID: 228330

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

I have already verified that the dialog and chrony packages are installed:

dr_validate.sh returns these errors:

 

error: rpmdb: BDB0113 Thread/process 488707/140527055185984 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 -  (-30973)
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: BDB0113 Thread/process 488707/140527055185984 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm
Checking to see if required 'dialog' package is available.: Missing 'dialog' package required by Vertica server. [FAIL]
Please run 'yum install dialog' or equivalent to install the missing package.

 

error: rpmdb: BDB0113 Thread/process 488707/140527055185984 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 -  (-30973)
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: BDB0113 Thread/process 488707/140527055185984 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm
Checking to see if required 'chrony' package is available.: Missing 'chrony' package required by Vertica server. [FAIL]
Please run 'yum install chrony' or equivalent to install the missing package.

 

error: rpmdb: BDB0113 Thread/process 488707/140527055185984 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 -  (-30973)
error: cannot open Packages database in /var/lib/rpm
error: rpmdb: BDB0113 Thread/process 488707/140527055185984 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm

 

Environment

Release : 21.2

Component : PERFORMANCE MANAGEMENT INSTALLATIONS/UPGRADES

Cause

Corruption in the rpmdb, this is an OS level problem that prevents the validate script from reading the rpm’s installed.

Resolution

The Unix admin needs to repair the rpmdb.

Additional Information

Possible fix, but please check with your Unix admin:

https://cloudlinux.zendesk.com/hc/en-us/articles/115004075294-Fix-rpmdb-Thread-died-in-Berkeley-DB-library