rpmdb: unable to join the environment

Hello,

If you get following or error while Rebuilding RPM database:

Quote:
[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 

Try This

Quote:
[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 RedHat OS

你可能感兴趣的:(redhat,OS,F#)