rpm & yum getting db4 errors on FC7

rtanner no-reply-gw at fcp.surfsite.org
Mon Aug 13 15:30:53 UTC 2007


Hi,

When trying to use yum, I get the following error:

rpmdb: Lock table is out of available locker entries
rpmdb: Unknown locker ID: 705
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

I googled the lock table issue and what was suggested is several was several entries in DB_CONFIG. They are:

set_lk_max_locks 2000
set_lk_max_lockers 2000
set_lk_max_objects 2000

The databases themselves are in /var/lib/rpm and doing an strace, that does appear to be where yum and rpm look for that file. So I created it (there was no default DB_CONFIG) and added just those three lines. The problem is that it doesn't fix the problem.

This appears to be a problem only with my two FC7 systems -- FC6s are working fine. Has anybody seen this same problem and what was required to fix it.

Thanks,
Rob


-- 
This is an email sent via The Fedora Community Portal https://fcp.surfsite.org
https://fcp.surfsite.org/modules/newbb/viewtopic.php?post_id=193949&topic_id=42556&forum=33#forumpost193949
If you think, this is spam, please report this to webmaster at fcp.surfsite.org and/or blame rtanner at linfield.edu.




More information about the users mailing list