Upgrade cannot continue - please check your database on CAeAC RPM upgrade
search cancel

Upgrade cannot continue - please check your database on CAeAC RPM upgrade

book

Article ID: 251973

calendar_today

Updated On:

Products

CA Privileged Access Manager - Server Control (PAMSC)

Issue/Introduction

While trying to upgrade from CAeAC-1410-0.1494.x86_64 to CAeAC-1410-40.102.x86_64

We receive the following error

[root@xxxx tmp]# rpm -Uvh CAeAC-1410-40.102.x86_64.rpm
Preparing...                          ################################# [100%]
Upgrade cannot continue - please check your database.
error: %pre(CAeAC-1410-40.102.x86_64) scriptlet failed, exit status 1
error: CAeAC-1410-40.102.x86_64: install failed
error: CAeAC-1410-0.1494.x86_64: erase skipped

Environment

Release : 14.1

Cause

One of the seosdb database tables was corrupted:

[root@xxx seosdb]# /opt/CA/PAMSC/bin/dbmgr -u -all seos_pvf.dat

Checking 1 indexes ...

Processing index : 0

Record      700 at offset     8257

  Total recs found: 756

Index check completed succ.

Index 0 contains a record with offset 24386 found also in free index.

Database may be corrupted !

...

Resolution

Running command

/opt/CA/PAMSC/bin/dbmgr -u -build seos_pvf.dat

fixed the DB corruption and afterwards the RPM upgrade completed successfully.

For detailed instructions on how to check on and fix seosdb corruption problems, see KB 37572.