db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery

The Error Happens on Cent OS when you try to update or install any new Software

Below are the steps to fix it

$ mv /var/lib/rpm/__db* /tmp/
$ rpm --rebuilddb
$ yum clean all
Go on install the software or update it. The Above commands are safe,usually doesnt damage anyhting :)

Comments

Popular posts from this blog

'jasypt.encryptor.password' or one of ['jasypt.encryptor.privateKeyString', 'jasypt.encryptor.privateKeyLocation'] must be provided for Password-based or Asymmetric encryption

Field or property 'jobParameters' cannot be found on object of type 'org.springframework.beans.factory.config.BeanExpressionContext' - Spring Batch

Couldn't store job: Unable to serialize JobDataMap for insertion into database because the value of property 'jobLauncher' is not serializable