When attempting to Patch VMware Identity Manager you encounter the following errors:
error: rpmdb: BDB2034 unable to allocate memory for mutex; resize mutex regionerror: cannot open Packages index using db5 - Cannot allocate memory (12)error: cannot open Packages database in /var/lib/rpm
VMware Identity Manager 3.3.7
This error indicates a corruption within the RPM DB environment. This is usually due to the databases internal locks being stuck or misconfigured.
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.