09
Aug
08

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


3 Responses to “ERROR:- rpmdb: unable to join the environment”


  1. February 9, 2009 at 1:32 pm

    #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

  2. February 9, 2009 at 1:37 pm

    # 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:


Leave a Reply




 

August 2008
M T W T F S S
« Jul   Sep »
 123
45678910
11121314151617
18192021222324
25262728293031

Flickr Photos

il paese che muore

Looking Beyond

The Race Against Time

Dawn Dreams

Field of Dreams

The Squirrel

surrounded by nature

Weather subject

More Photos

Twitter