I am trying to apply the latest CPU to my servers and am getting the above error. Details:
Oracle 11.2.0.3 on Windows Server 2008
Patch ID 17906982 located at E:\Oracle\product\11.2.0\dbhome_2\inventory
Opatch version 11.2.0.3.5 located at E:\Oracle\product\11.2.0\dbhome_2\OPatch
ORACLE_HOME set in environmental variables at E:\Oracle\product\11.2.0\dbhome_2
PATH set in env. variables at %ORACLE_HOME%\Opatch;%PATH%
Even though I have the ORACLE_HOME and PATH set correctly in my environmental variables, I also set them at the command prompt. Before I proceed I shut down Oracle, all associated services, and MS Distributed Transaction Coordinator. My code:
C:\>set ORACLE_HOME=E:\Oracle\product\11.2.0\dbhome_2
C:\> set PATH=%ORACLE_HOME%\Opatch;%PATH%
C:\> cd/
C:\ > E:
E:\> cd Oracle\product\11.2.0\dbhome_2\inventory\17906982
E:\ >E:\Oracle\product\11.2.0\dbhome_2\OPatch\opatch apply
which returns..
The Oracle Home E:\Oracle\product\11.2.0\dbhome_2 could not be located. Please give proper Oracle Home.
OPatch returns with error code = 1
OPatch failed with error code = 1
I've Googled this, no luck. Searched to forums, seems everyone who has encountered error code 1 did not correctly set their ORACLE_HOME. But unless I'm blinded by tiredness (which is possible) I'm not seeing any errors in my home or path variables. Any suggestions as to why this might be occurring, or what possible work around there may be would be appreciated.
Namaste