°Ô½Ã¹° 260°Ç
   
[redhat 6] RPM DB ¼Õ»óµÇ¾úÀ» 떄 º¹±¸ ¹æ¹ý
±Û¾´ÀÌ : ÃÖÀå¼· ³¯Â¥ : 2015-02-12 (¸ñ) 20:44 Á¶È¸ : 5250

1. YUM ¹× RPM ¸í·É¾î »ç¿ë½Ã ¾Æ·¡ ó·³ rpmdb °¡ ¼Õ»óµÇ¾úÀ» 떄 º¹±¸ ¹æ¹ý

[root@20-VM ~]# yum list    
rpmdb: unable to join the environment
error: db3 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed

[root@20-VM ~]# rpm -qa
rpmdb: unable to join the environment
error: db3 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
error: cannot open Packages database in /var/lib/rpm
rpmdb: unable to join the environment
error: db3 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages database in /var/lib/rpm


2. ¾Æ·¡ÀÇ 3°¡Áö ÆÄÀÏÀ» »èÁ¦ ÇÏ°í rpmdb ¸¦ ´Ù½Ã rebuild Çؼ­ º¹±¸ÇØÁØ´Ù.

/var/lib/rpm/__db.001
/var/lib/rpm/__db.002
/var/lib/rpm/__db.003

[root@20-VM ~]# rm -f /var/lib/rpm/__db.00*
[root@20-VM ~]# rpm --rebuilddb
[root@20-VM ~]# yum list | more
Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id,
              : refresh-packagekit, security, subscription-manager, tmprepo,
              : verify, versionlock
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Loading support for Red Hat kernel ABI
Installed Packages
389-ds-base.x86_64                     1.2.11.15-29.el6                 @anaconda-RedHatEnterpriseLinux-201311111358.x86_64/6.5
.....

zlib-devel.i686                        1.2.3-29.el6                        rhel-DVD

[root@20-VM ~]# rpm -qa | more
rpm-4.8.0-37.el6.x86_64
systemtap-2.3-3.el6.x86_64
.....
dbus-libs-1.2.24-7.el6_3.x86_64


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com