search cancel

UUJMA R11.2 SP2 Install failed - unable to allocate memory

book

Article ID: 113562

calendar_today

Updated On:

Products

Unicenter Job Management Option

Issue/Introduction

The installation of UUJMA 11.2 SP2 on a RedHat 6.2 server fails with below errors
error: db3 error(12) from dbenv->open: Cannot allocate memory
error: db3 error(12) from dbenv->close: Cannot allocate memory
error: cannot open Packages index using db3 - Cannot allocate memory (12)
error: cannot open Packages database in /var/lib/rpm
error: db3 error(12) from dbenv->open: Cannot allocate memory
error: db3 error(12) from dbenv->close: Cannot allocate memory
error: cannot open Packages database in /var/lib/rpm

Environment



UUJMA 11.2 SP2 on RedHat 6.2

Cause


On this RedHat server, there was no memory issue and all the ulimit settings were set to unlimited

There was not file system full condition and there was plenty space in the /tmp directory

swap space was also large enough

The cause of this problem was due to the RPM database which was corrupt

Resolution



Problem fixed by rebuilding the Linux RPM database with:

rpm --rebuilddb

Additional Information



See also:

https://www.linuxquestions.org/questions/linux-server-73/how-to-rebuild-the-corrupted-rebuild-rpm-database-4175534385/