HOW TO: Fix Lock table is out of available locker entries

If you notice a “Lock table is out of available locker entries” error while updating with your WHM/CPANEL “Upgrade to Latest Version” function, then you have a RPM error.

The easiest way to fix this problem is to backup, delete, and refresh your RPM database.

How To Fix RPM Error?

Fix Lock table

Backup your /var/lib/rpm in the event something goes wrong.

tar cvzf rpmdb-backup.tar.gz /var/lib/rpm

Delete the RPM databases. You may have to hit “Y” and “Enter” for each database.

rm /var/lib/rpm/__db.00*

Rebuild your RPM database.

rpm –rebuilddb

Check Your RPM to make sure everything has been updated.

rpm -qa | sort

That’s all you do to fix a Fix Lock table!