Showing posts with label join. Show all posts
Showing posts with label join. Show all posts

Saturday, August 23, 2008


ERROR:- rpmdb: unable to join the environment

PROBLEM:

 You get following or error while Rebuilding RPM database:
=======
[root@www root]# rpm –rebuilddb
rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index
=======

SOLUTION:
Try This:
=======
[root@www root]# rm -f /var/lib/rpm/__db*
[root@www root]# echo “%__dbi_cdb   create private cdb mpool mp_mmapsize=16Mb mp_size=1Mb” > /etc/rpm/macros
[root@www root]# rpm –rebuilddb
=======

 
PLEASE NOTE: This Fix Is Only For RedFat OS