ITPub博客

首页 > Linux操作系统 > Linux操作系统 > ERROR FIX:- rpmdb: unable to join the environment

ERROR FIX:- rpmdb: unable to join the environment

原创 Linux操作系统 作者:lwitpub 时间:2009-09-18 15:15:28 0 删除 编辑

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/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-05-08

  • 博文量
    107
  • 访问量
    381148