CAPC console process won't start

book

Article ID: 192215

calendar_today

Updated On:

Products

CA Infrastructure Management CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

The CAPC console process won;t start. The following error is seen when we do start it:

]# /etc/init.d/caperfcenter_console start

rpmdb: Thread/process 20590/140009841268480 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
rpmdb: Thread/process 20590/140009841268480 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 database in /var/lib/rpm
wget is not installed and is required, exit starting Console...

Cause

Corrupt rpm database

Environment

CAPM 3.7

Resolution

The following commands can be run on CAPC to correct:

  • mkdir /root/backups.rpm.mm_dd_yyyy/
  • cp -avr /var/lib/rpm/ /root/backups.rpm.mm_dd_yyyy/
  • rm -f /var/lib/rpm/__*
  • rpm --rebuilddb

Then you should be able to start the console successfully