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.
Rebuild your RPM database.
Check Your RPM to make sure everything has been updated.
rpm -qa | sort