CentOS: how to fix error: BDB2053 Freeing read locks for locker


CentOS: how to fix error: BDB2053 Freeing read locks for locker?

Here, two examples for this error. How to fix this error?

[root@tutorialspots ~]# rpm -qa |grep cockpit
BDB2053 Freeing read locks for locker 0x45: 23506/139658912958272
BDB2053 Freeing read locks for locker 0x47: 23506/139658912958272
BDB2053 Freeing read locks for locker 0x48: 23506/139658912958272
BDB2053 Freeing read locks for locker 0x49: 23506/139658912958272
BDB2053 Freeing read locks for locker 0x4a: 23506/139658912958272
[root@tutorialspots ~]# yum list|grep php
BDB2053 Freeing read locks for locker 0x4b: 24124/140318299715648
BDB2053 Freeing read locks for locker 0x4c: 24124/140318299715648
BDB2053 Freeing read locks for locker 0x4d: 24124/140318299715648

Step 1:

[root@tutorialspots ~]# mv /var/lib/rpm/__db* /tmp
cd /var/lib/rpm
rm -rf __db*
db_verify Packages
rm -rf /var/cache/yum
rpm --rebuilddb

Result:

...
[root@tutorialspots rpm]# db_verify Packages
BDB5105 Verification of Packages succeeded.
...

Step 2: reboot your server

Step 3:

yum update
rm -rf /tmp/__db*

Recent search terms:

  • apt-get install apt-scripts Freeing read locks for locker 0x29: 8560/139716002970816
  • BDB2053 Freeing read locks for locker 0x51a2: 25240/140649953490240
  • BDB2053 Freeing read locks for locker 0xbfd: 31407/140231367948096
  • warning: rpmdb: BDB2053 Freeing read locks for locker 0x1335: 47674/140021594027904
  • yum Freeing read locks for locker

Leave a Reply