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!

Oracle 12c - OPatch failed with error code = 104

DavidFaizMar 7 2016 — edited Mar 7 2016

Hello,

We've recently upgraded our DB from Oracle 11.2.0.4g to Oracle 12c.

Upon attempting to apply the January 2016 CPU, we get the error in the description.

Running on Windows Server 2012 R2, the database was installed by us and same for the upgrade to Oracle 12c.


Full message:

Oracle Interim Patch Installer version 11.2.0.3.6

Copyright (c) 2013, Oracle Corporation. All rights reserved.

Oracle Home : c:\oracle\ora12

Central Inventory : n/a

from : n/a

OPatch version : 11.2.0.3.6

OUI version : 12.1.0.2.0

Log file location : c:\oracle\ora12\cfgtoollogs\opatch\opatch2016-03-07_10-12-34

AM_1.log

OPatch cannot find a valid oraInst.loc file to locate Central Inventory.

OPatch failed with error code = 104

I investigated this error and found a workaround involving copying the 'oraInst.loc', but I cannot the find the file anywhere in the Oracle directory.

Please note that prior to upgrading., the Oracle 11g version had all Opatchs applied.

How can we resolve this?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 4 2016
Added on Mar 7 2016
7 comments
2,546 views