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 RedHat OS








#echo “%__dbi_cdb create private cdb mpool mp_mmapsize=16Mb mp_size=1Mb”> /etc/rpm/macros
#rpm –rebuilddb
———— Was able to fix the problem. rpm is working OK now.
Thank you.
-Kitara
# yum list available
Gathering header information file(s) from server(s)
Server: Fedora Project Stable RPMS for RHL 9
retrygrab() failed for:
http://download.fedora.us/fedora/redhat/9/i386/yum/stable/headers/header.info
Executing failover method
failover: out of servers to try
Error getting file http://download.fedora.us/fedora/redhat/9/i386/yum/stable/headers/header.info
[Errno 4] IOError:
Hello,
Make sure that the URL : http://download.fedora.us/fedora/redhat/9/i386/yum/stable/headers/header.info is working….