rpmdb: Lock table is out of available locker entries

If yum command throws some errors and rpm says “rpmdb: Lock table is out of available locker entries”,you can apply this action plan.
Why does this happen?
While rpm acces the database files,it makes a temporary locker entiries with tables while it searches data.If you send break command this problem can be occured becasue locker never cleared.
Error:
rpmdb: Lock table is out of available locker entries
rpmdb: Unknown locker ID: 16a99
error: db4 error(22) from db->close: Invalid argument
error: cannot open Packages index using db3 – Cannot allocate memory (12)
error: cannot open Packages database in /var/lib/rpm
Unable to connect to Subscription Management Service
rpmdb: Lock table is out of available locker entries

Solution:
Step 1:Take backup of /var/lib/rpm .

Step 2 :Remove db file under this directory and  rebuild  RPM database

Follow me

Abdurrahim

I'm a System Engineer with extensive experience and administration skills and works for Interbank Card Center Of Turkey.I provide hardware and software support for the following Unix/Linux and Windows platforms.(Oracle Solaris,HP-UX, Linux, IBM-AIX, Windows Servers)
Follow me
facebooktwittergoogle_pluslinkedinby feather

0