Oracle 12c on linux
I needed to upgrade OPatch (12.2.0.1.8) for applying the latest GI patch, so I set my environment variable to +ASM and unzipped the latest OPatch zip file to $ORACLE_HOME, replacing all existing files. The command
$ORACLE_HOME/OPatch/opatch version
ran correctly. But when I ran the command:
$ORACLE_HOME/OPatch/opatch lsinventory -detail -oh (as instructed in patch documentation)
I get the following error:
OPatch cannot find ORACLE_HOME ("-invPtrLoc")
I verified that the GI is at version 12.1.0.2.0 and the ORACLE_HOME environment variable was set correctly.
I suspect I'm missing something obvious.
I couldn't find anything searching the knowledge library.
Any ideas?