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!

OPatch failed

JhilJul 23 2017 — edited Jul 26 2017

Dear Experts,

I am trying to apply latest Optach for 11.2.0.4 database on LINUX env.

But  unfortunately i am getting error.

This is standalone database.

$ unzip p6880880_112000_LINUX.zip

Archive:  p6880880_112000_LINUX.zip

   creating: OPatch/

   creating: OPatch/config/

extracting: OPatch/config/opatch.properties

   creating: OPatch/crs/

...

...

[Trimmed]

inflating: OPatch/jlib/opatch.jar

  inflating: OPatch/jlib/oracle.opatch.classpath.windows.jar

  inflating: OPatch/jlib/oracle.opatchcore.classpath.jar

  inflating: OPatch/jlib/oracle.opatchcore.classpath.windows.jar

  inflating: OPatch/jlib/opatchsdk.jar

  inflating: OPatch/jlib/oracle.opatch.classpath.jar

  inflating: OPatch/jlib/oracle.opatchcore.classpath.unix.jar

>> Checking

$ ./opatch lsinventory

Oracle Interim Patch Installer version 11.2.0.3.16

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

Oracle Home       : /u01/app/oracle/product/11.2.0/dbhome_1

Central Inventory : /u01/app/oraInventory

   from           : /u01/app/oracle/product/11.2.0/dbhome_1/oraInst.loc

OPatch version    : 11.2.0.3.16

OUI version       : 11.2.0.4.0

Log file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2017-07-24_04-13-00AM_1.log

Lsinventory Output file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2017-07-24_04-13-00AM.txt

--------------------------------------------------------------------------------

Local Machine Information::

Hostname: AUSUAT.MY.COM

ARU platform id: 46

ARU platform description:: Linux x86

Installed Top-level Products (1):

Oracle Database 11g                                                  11.2.0.4.0

There are 1 products installed in this Oracle Home.

There are no Interim patches installed in this Oracle Home.

--------------------------------------------------------------------------------

OPatch succeeded.

>> TRYING TO APPLY OPATCH

$ ./opatch apply

Oracle Interim Patch Installer version 11.2.0.3.16

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

ZOP-51: The patch location is not valid for apply, because it doesn't have correct metadata, or it points to a patch directory.

Argument(s) Error... Patch location is not valid for apply

Please check the arguments and try again.

OPatch failed with error code 135

@ Another Methos

$ ./opatch napply -skip_subset -skip_duplicate -local -oh $ORACLE_HOME

Oracle Interim Patch Installer version 11.2.0.3.16

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

Oracle Home       : /u01/app/oracle/product/11.2.0/dbhome_1

Central Inventory : /u01/app/oraInventory

   from           : /u01/app/oracle/product/11.2.0/dbhome_1/oraInst.loc

OPatch version    : 11.2.0.3.16

OUI version       : 11.2.0.4.0

Log file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2017-07-24_04-14-20AM_1.log

Verifying environment and performing prerequisite checks...

You are calling OPatch with -skip_duplicate and/or -skip_subset. These 2 CLI options are deprecated because the features are built-in, so there is no need to call OPatch with those options. Please remove those options.

Failed to load the patch object.  Possible causes are:

  The specified path is not an interim Patch shiphome

  Meta-data files are missing from the patch area

  Patch location = /u01/app/oracle/product/11.2.0/dbhome_1/OPatch/auto

  Details = PatchObject constructor: Input file "/u01/app/oracle/product/11.2.0/dbhome_1/OPatch/auto/etc/config/actions" or "/u01/app/oracle/product/11.2.0/dbhome_1/OPatch/auto/etc/config/inventory" does not exist.

NApply could not load patch from location '/u01/app/oracle/product/11.2.0/dbhome_1/OPatch/auto'

UtilSession failed: PatchObject constructor: Input file "/u01/app/oracle/product/11.2.0/dbhome_1/OPatch/auto/etc/config/actions" or "/u01/app/oracle/product/11.2.0/dbhome_1/OPatch/auto/etc/config/inventory" does not exist.

Log file location: /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2017-07-24_04-14-20AM_1.log

OPatch failed with error code 73

Thanks in advance.

This post has been answered by Mohammad Ikram on Jul 24 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 22 2017
Added on Jul 23 2017
16 comments
10,863 views