CSP-102092 patch failure with error: cannot open Packages index using db5 - Cannot allocate memory (12)
search cancel

CSP-102092 patch failure with error: cannot open Packages index using db5 - Cannot allocate memory (12)

book

Article ID: 427691

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

When attempting to Patch VMware Identity Manager you encounter the following errors:

error: rpmdb: BDB2034 unable to allocate memory for mutex; resize mutex region
error: cannot open Packages index using db5 - Cannot allocate memory (12)
error: cannot open Packages database in /var/lib/rpm

Environment

VMware Identity Manager 3.3.7

Cause

This error indicates a corruption within the RPM DB environment.   This is usually due to the databases internal locks being stuck or misconfigured.

Resolution

Before attempting this process please power off the VM and perform a snap shot for safety.

 

1.  Remove the lock files:

rm /var/lib/rpm/__db.*

2.  Rebuild the RPM Database:

rpm --rebuilddb

3.  Clear cache:

yum clean all or dnf clean all

4.  Re-Attempt the Patch process.