Tuesday, October 6, 2020

rpmdb: Thread/process 4330/140521027696384 failed: Thread died in Berkeley DB library

 

YUM FAILED

 

[root@ranesh yum.repos.d]# yum update

rpmdb: Thread/process 4330/140521027696384 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:

Error: rpmdb open failed

SOLUTION:

remove this  db* from this location /var/lib/rpm

[root@ranesh yum.repos.d]# rm /var/lib/rpm/__db*

rm: remove regular file `/var/lib/rpm/__db.001'? y

rm: remove regular file `/var/lib/rpm/__db.002'? y

rm: remove regular file `/var/lib/rpm/__db.003'? y

rm: remove regular file `/var/lib/rpm/__db.004'? y

[root@ranesh yum.repos.d]# yum update

Loaded plugins: aliases, changelog, kabi, presto, refresh-packagekit, security,

              : tmprepo, ulninfo, verify, versionlock

Loading support for kernel ABI

Setting up Update Process

ol6_UEK_latest                                           | 2.5 kB     00:00

No comments:

Table import and export.

Create Data Pump Directory. The first step in Oracle Data Pump is to create an OS level directory which will be used by Oracle for perform...