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

java.security.spec.InvalidKeySpecException: Only RSAPrivate(Crt)KeySpec and PKCS8EncodedKeySpec supported for RSA private keys