PRCD-1229 : An attempt to access configuration while trying to delete resource in 12.1 GI
Upgrade from 12.1 to 12.2 Grid infrastructure fails with the bunch of error - stating that DB resources failed to move...
while trying to delete the existing resources from OCR -- got error:
/app/oracle/product/11.2.0.4/bin/srvctl remove database -d oi2q0
PRCD-1027 : Failed to retrieve database oi2q0
PRCD-1229 : An attempt to access configuration of database oi2q0 was rejected because its version 11.2.0.1.0 difers from the program version 11.2.0.4.0. Instead run the program from /app/oracle/product/11.2.0.4
oi2q0 is 11.2.0.4 database....
crsctl stat res ora.oi2q0.db -p shows ORACLE_HOME is indeed 11.2.0.4
ORACLE_HOME=/app/oracle/product/11.2.0.4
Workaround:
srvctl upgrade database -d oi2q0 -o /app/oracle/roduct/11.2.0.4