ERROR FIX:- rpmdb: unable to join the environment

lwitpub發表於2009-09-18

When trying to query of upgrade any package on my redhat linux4.4 server today , the error message  as follows:

rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db3 - Resource temporarily unavailable

………………………………………………………

To repair the problem, try this

These two commands made quick work of the fix.

 First remove any old lock files:

[root@www root]#rm -f /var/lib/rpm/__db*

Then rebuild the RPM database:

[root@www root]#rpm –rebuilddb

PLEASE NOTE: This Fix Is Only For RedHat OS

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/628922/viewspace-615007/,如需轉載,請註明出處,否則將追究法律責任。

相關文章