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 –rebuilddbPLEASE NOTE: This Fix Is Only For RedHat OS
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/628922/viewspace-615007/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/628922/viewspace-615007/