yum 에서 rpmdb 오류 - Thread died in Berkeley DB library
페이지 정보
작성자 관리자 (61.♡.222.236) 작성일 18-12-08 12:39 조회 4,454 댓글 0본문
yum 을 사용하다가 아래와 같은 오류를 만날 때가 있다.
[code]
rpmdb: Thread/process 277623/140429100390144 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.verbose.cli.yumcompletets:Yum Error: Error: rpmdb open failed
[/code]
rpmdb 데이타베이스가 깨진 것으로 보인다.
해결책은 아래와 같다.
Please follow these steps to backup and rebuild rpmdb database:
[code]
# mkdir /var/lib/rpm/backup
# cp -a /var/lib/rpm/__db* /var/lib/rpm/backup/
# rm -f /var/lib/rpm/__db.[0-9][0-9]*
# rpm --quiet -qa
# rpm --rebuilddb
# yum clean all
[/code]
* 출처
https://cloudlinux.zendesk.com/hc/en-us/articles/115004075294-Fix-rpmdb-Thread-died-in-Berkeley-DB-library
[code]
rpmdb: Thread/process 277623/140429100390144 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.verbose.cli.yumcompletets:Yum Error: Error: rpmdb open failed
[/code]
rpmdb 데이타베이스가 깨진 것으로 보인다.
해결책은 아래와 같다.
Please follow these steps to backup and rebuild rpmdb database:
[code]
# mkdir /var/lib/rpm/backup
# cp -a /var/lib/rpm/__db* /var/lib/rpm/backup/
# rm -f /var/lib/rpm/__db.[0-9][0-9]*
# rpm --quiet -qa
# rpm --rebuilddb
# yum clean all
[/code]
* 출처
https://cloudlinux.zendesk.com/hc/en-us/articles/115004075294-Fix-rpmdb-Thread-died-in-Berkeley-DB-library
추천0
댓글목록 0
등록된 댓글이 없습니다.