Posted in ADRCI, Database, Oracle

DIA-48322: Relation [INCIDENT] of ADR V[2] incompatible with V[2] tool

I got this issue while using ADRCI tool to maintain the logs. This is how I fixed it:

[oracle@dbserver ~]$ adrci

ADRCI: Release - Production on Wed May 31 09:43:29 2017

Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

ADR base = "/u01/app/oracle"
adrci> show homes
ADR Homes: 
adrci> set home diag/diagtool/user_oracle/host_3933716914_11
adrci> purge
DIA-48322: Relation [INCIDENT] of ADR V[2] incompatible with V[2] tool
DIA-48210: Relation Not Found
DIA-48166: error with opening ADR block file because file does not exist [/u01/app/oracle/diag/diagtool/user_oracle/host_3933716914_11/metadata/INCIDENT.ams] [0]

adrci> migrate schema
Schema migrated.
adrci> purge
adrci> quit