root@support [/home/tin/public_html]# yum update
 rpmdb: Thread/process 15537/139860640372640 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.main:
Error: rpmdb open failed
mv /var/lib/rpm/__db* /tmp
 root@support [/home/tin/public_html]# yum clean all
 Loaded plugins: fastestmirror, universal-hooks
 Cleaning repos: EA4 cpanel-addons-production-feed cpanel-plugins base epel extras nginx remi-php56 remi-safe updates
 Cleaning up Everything
 Cleaning up list of fastest mirrors
 root@support [/home/tin/public_html]# yum update
 Loaded plugins: fastestmirror, universal-hooks
 Setting up Update Process
 
 



