Tag Archives: yum

rpmdb: Thread/process 450598/140206808098560 failed: Thread died in Berkeley DB library

rpmdb: Thread/process 450598/140206808098560 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
An error has occurred:

See /var/log/up2date for more information

cp -a /var/lib/rpm /var/lib/rpm_backup
rm /var/lib/rpm/__db*
rpm –rebuilddb

Install Directadmin on Centos OS

directadmin pre-install:

yum install wget screen gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio libcom_err-devel libcurl-devel gd zlib-devel libcap-devel  bzip2 db4-devel cyrus-sasl-devel perl-ExtUtils-Embed autoconf automake libtool

run screen and install:

screen

wget http://www.directadmin.com/setup.sh && chmod 755 setup.sh

begin directadmin installation: ./setup.sh