Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Opatch failed with error code = 1?

ChrissiKJan 16 2014 — edited Jan 22 2014

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

This post has been answered by ChrissiK on Jan 22 2014
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 19 2014
Added on Jan 16 2014
9 comments
18,498 views