Halo sobat, untuk kalian yang menemui eror saat akan instal paket di cloudlinux dengan salah satu keterangan eror adalah Thread died in Berkeley DB library seperti contoh berikut
Installing jetapps repo package...error: rpmdb: BDB0113 Thread/process 201417/139789130128256 failed: BDB1507 Thread died in Berkeley DB library error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db5 - (-30973) error: cannot open Packages database in /var/lib/rpm Error: Error: rpmdb open failed error: rpmdb: BDB0113 Thread/process 201417/139789130128256 failed: BDB1507 Thread died in Berkeley DB library error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db5 - (-30973) error: cannot open Packages database in /var/lib/rpm Error: Error: rpmdb open failed
atau
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
maka untuk perbaikannya jalankan perintah berikut
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
Selamat mencoba
Salam Hosterbyte