Symptoms:
You may experience one or more of the below symptoms.
13/03/2025 13:39:55 [INFO] Running /opt/vmware/var/lib/vami/update/data/job/2/test_commanderror: rpmdb: BDB0113 Thread/process 4907/139852798203712 failed: BDB1507 Thread died in Berkeley DB libraryerror: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recoveryerror: cannot open Packages index using db5 - (-30973)error: cannot open Packages database in /var/lib/rpmwarning: /opt/vmware/var/lib/vami/update/data/package-pool/package-pool/Linux-PAM-1.3.0-1.ph3.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 66fd4949: NOKEYerror: rpmdb: BDB0113 Thread/process 4907/139852798203712 failed: BDB1507 Thread died in Berkeley DB libraryerror: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recoveryerror: cannot open Packages index using db5 - (-30973)error: cannot open Packages database in /var/lib/rpm13/03/2025 13:39:55 [ERROR] Failed with exit code 256Aria Operations for Logs 8.x
vRealize Log Insight 8.x
vRealize Suite Lifecyce Manager 8.x
This issue is cause by corruption in the rpm database.
To resolve the issue, rebuild the rpm database.
ls -ltha /var/lib/rpm
mkdir /var/lib/rpm/backup
cp -a /var/lib/rpm/__db* /var/lib/rpm/backup/
rm -f /var/lib/rpm/__db.[0-9][0-9]*
rpm --quiet -qa
Note: If this command hangs, cancel out of it with CTRL+C and continue on to the next step.
rpm --rebuilddb
Note: If this command returns Error: could not delete old database, this is benign and you may proceed to the next step
yum clean all
Now that the rpm database has been rebuilt, attempt the Aria Operations for Logs (Formerly vRealize Log Insight) upgrade again.