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 with error code 73

1063598Mar 24 2014 — edited Mar 24 2014

Hi Experts,

   While checking the inventory details in my database, I got the error below:

$ cd $ORACLE_HOME/OPatch

$ ./opatch lsinventory

Invoking OPatch 11.2.0.1.7

Oracle Interim Patch Installer version 11.2.0.1.7

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

Oracle Home       : /mnt/TSTapps/oracle/trctstdb/11.2.0/dbhome_1

Central Inventory : /etc/oracle/oraInventory

   from           : /etc/oraInst.loc

OPatch version    : 11.2.0.1.7

OUI version       : 11.2.0.3.0

Log file location : /mnt/TSTapps/oracle/trctstdb/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2014-03-24_14-53-27PM.log

OPatch failed to locate Central Inventory.

Possible causes are:

    The Central Inventory is corrupted

    The oraInst.loc file specified is not valid.

LsInventorySession failed: OPatch failed to locate Central Inventory.

Possible causes are:

    The Central Inventory is corrupted

    The oraInst.loc file specified is not valid.

OPatch failed with error code 73

I checked oraInst.loc to see the location of global inventory,

# cat /etc/oraInst.loc

inventory_loc=/etc/oracle/oraInventory

inst_group=dba

I rename the corrupted global oraInventory with a different name

cd /etc/oracle

mv oraInventory oraInventory.ori

With the help of Doc ID 295185.1, i tried to recreate the global inventory.

I DL patch p5035661_11i_LINUX.zip, while trying to apply the patch it gives me this error:

$ cd appsoui/setup/

gdtstdb1.tireco.com:/mnt/TSTapps/patches/appsoui/setup>ls -lrt

total 28

-rw-r--r-- 1 oraTST dba  6361 Nov 30  2004 OUIsetup.pl

-rw-r--r-- 1 oraTST dba 13464 May 12  2005 OUISetup.jar

-rw-r--r-- 1 oraTST dba   459 Mar 24 14:46 OUIsetup.log

gdtstdb1.tireco.com:/mnt/TSTapps/patches/appsoui/setup>perl OUIsetup.pl

Derived ORACLE_HOME(CWD) = /mnt/TSTapps/patches

ENV RDBMS ORACLE_HOME    = /mnt/TSTapps/oracle/trctstdb/11.2.0/dbhome_1

Using ORACLE_HOME from ENV settings

ERROR: Could not find XML Parser java at:

        /mnt/TSTapps/oracle/trctstdb/11.2.0/dbhome_1/appsoui/oui/lib/xmlparserv2.zip

Download the OUI patch again and unzip if the file is missing.

Note: I have downloaded this patch thrice and tried the same thing, but same error occur always. Can you please show some light on this issue. Please let me know if you need some information from my end.

DB Version: 11.2.0.3

OS Version: RHEL 5.8 (64-bit)

Thanks

-Ankur

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 21 2014
Added on Mar 24 2014
3 comments
2,389 views