4 Replies Latest reply: Oct 4, 2012 10:03 PM by Rerry RSS

    Autoconfig erroring out on Database Tier

    Rerry
      Hi,

      When I am running autoconfig on Database tier it is shows error as follows:

      [AutoConfig Error Report]
      The following report lists errors AutoConfig encountered during each
      phase of its execution. Errors are grouped by directory and phase.
      The report format is:
      <filename> <phase> <return code where appropriate>

      [APPLY PHASE]
      AutoConfig could not successfully execute the following scripts:
      Directory: /d01/oracle/proddb/9.2.0/appsutil/install/PROD_shubh
      adcrobj.sh INSTE8_APPLY 1

      AutoConfig is exiting with status 1

      When I execute adcrobj.sh directly it's shows error as below:

      SQL*Plus: Release 9.2.0.8.0 - Production on Mon Sep 7 12:59:29 2009

      Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

      Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
      With the Partitioning, OLAP and Oracle Data Mining options
      JServer Release 9.2.0.8.0 - Production
      adcrobj.sh exiting with status 1
      ERRORCODE = 1 ERRORCODE_END

      So according to Doc ID: 415335.1 I applied Patch 5495695 by opatch version 1.0.0.0.62, but it's gives below error's:


      Error Log:_

      Creating log file "/d01/oracle/proddb/9.2.0/.patch_storage/5495695/Apply_5495695_09-08-2009_23-31-34.log"

      Starting OPatch Apply session at 09-08-2009_23-31-34.

      Command arguments are: apply

      OPatch version is: 1.0.0.0.55

      The contents of the file: /etc/oraInst.loc

      inventory_loc=/etc/oraInventory

      Performing RAC pre-req. check...


      Accessing inventory ... (retry 10 times, delay 30 seconds each time)

      System Command: /d01/oracle/proddb/9.2.0/jre/1.4.2/bin/java -Doracle.installer.invPtrLoc=/etc/oraInst.loc -Dopatch.retry=10 -Dopatch.delay=30 -classpath "/d01/oracle/proddb/9.2.0/oui/jlib/OraInstaller.jar:/d01/oracle/proddb/9.2.0/oui/jlib/srvm.jar:/d01/oracle/proddb/9.2.0/bin/OPatch/jlib/opatch.jar:/d01/oracle/proddb/9.2.0/oui/jlib/xmlparserv2.jar:/d01/oracle/proddb/9.2.0/oui/jlib/share.jar:/d01/oracle/proddb/9.2.0/jlib/srvm.jar" opatch/O2O "/d01/oracle/proddb/9.2.0" "/d01/oracle/proddb/9.2.0/oui" opatch.pl 1.0.0.0.55

      Result:

      output to OPatch:


      NODE_LIST=NULL

      NODE_COUNT=0

      LOCAL_NODE=NULL

      IS_CFS=0

      RAC_CODE=0

      HOME_INDEX=1

      This is not a RAC system

      Backing up the rollback script as "/d01/oracle/proddb/9.2.0/.patch_storage/5495695/rollback_5495695.sh_09-08-2009_23-31-35"

      Interim Patch ID: 5495695
      Checking the patch inventory.

      Component Name: oracle.rsf.sqlplus_rsf
      Component Version: 9.2.0.8.0

      This is a rolling patch.

      Bugs fixed by this patch 5495695:
      5495695 : APPSST9208 SQL*PLUS EXITS WITH O/S MESSAGE NO SUCH FILE OR DIRECTORY

      Reading patch XML files and doing sanity checks.

      Read the command to action file map.

      Performing initial safety check.

      Invoking fuser to check for active processes.

      Invoking fuser on "/d01/oracle/proddb/9.2.0/bin/oracle"
      Checking active processes:

      Accessing inventory ... (retry 10 times, delay 30 seconds each time)

      System Command: /d01/oracle/proddb/9.2.0/jre/1.4.2/bin/java -Doracle.installer.invPtrLoc=/etc/oraInst.loc -Dopatch.retry=10 -Dopatch.delay=30 -classpath "/d01/oracle/proddb/9.2.0/oui/jlib/OraInstaller.jar:/d01/oracle/proddb/9.2.0/oui/jlib/srvm.jar:/d01/oracle/proddb/9.2.0/bin/OPatch/jlib/opatch.jar:/d01/oracle/proddb/9.2.0/oui/jlib/xmlparserv2.jar:/d01/oracle/proddb/9.2.0/oui/jlib/share.jar" opatch/CheckConflict "/d01/oracle/proddb/9.2.0/oui" "/d01/oracle/proddb/9.2.0" opatch.pl 1.0.0.0.55 5495695 "5495695 " /HNP/Temp/5495695/etc/config/actions
      Result :

      oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: The target area /etc/oraInventory cannot be used because it is in an invalid state.

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:310)

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:183)

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:170)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:364)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:269)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:218)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:167)

           at opatch.O2O.setupSession(O2O.java:538)

           at opatch.O2O.setupInventory(O2O.java:597)

           at opatch.O2O.setupInventoryThenRAC(O2O.java:1109)

           at opatch.CheckConflict.checkConflict(CheckConflict.java:227)

           at opatch.CheckConflict.main(CheckConflict.java:173)

      oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: The target area /etc/oraInventory cannot be used because it is in an invalid state.

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:310)

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:183)

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:170)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:364)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:269)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:218)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:167)

           at opatch.O2O.setupSession(O2O.java:538)

           at opatch.O2O.setupInventory(O2O.java:597)

           at opatch.O2O.setupInventoryThenRAC(O2O.java:1109)

           at opatch.CheckConflict.checkConflict(CheckConflict.java:227)

           at opatch.CheckConflict.main(CheckConflict.java:173)

      oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: The target area /etc/oraInventory cannot be used because it is in an invalid state.

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:310)

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:183)

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:170)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:364)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:269)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:218)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:167)

           at opatch.O2O.setupSession(O2O.java:538)

           at opatch.O2O.setupInventory(O2O.java:597)

           at opatch.O2O.setupInventoryThenRAC(O2O.java:1109)

           at opatch.CheckConflict.checkConflict(CheckConflict.java:227)

           at opatch.CheckConflict.main(CheckConflict.java:173)

      oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: The target area /etc/oraInventory cannot be used because it is in an invalid state.

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:310)

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:183)

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:170)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:364)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:269)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:218)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:167)

           at opatch.O2O.setupSession(O2O.java:538)

           at opatch.O2O.setupInventory(O2O.java:597)

           at opatch.O2O.setupInventoryThenRAC(O2O.java:1109)

           at opatch.CheckConflict.checkConflict(CheckConflict.java:227)

           at opatch.CheckConflict.main(CheckConflict.java:173)

      oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: The target area /etc/oraInventory cannot be used because it is in an invalid state.

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:310)

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:183)

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:170)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:364)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:269)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:218)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:167)

           at opatch.O2O.setupSession(O2O.java:538)

           at opatch.O2O.setupInventory(O2O.java:597)

           at opatch.O2O.setupInventoryThenRAC(O2O.java:1109)

           at opatch.CheckConflict.checkConflict(CheckConflict.java:227)

           at opatch.CheckConflict.main(CheckConflict.java:173)

      oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: The target area /etc/oraInventory cannot be used because it is in an invalid state.

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:310)

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:183)

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:170)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:364)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:269)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:218)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:167)

           at opatch.O2O.setupSession(O2O.java:538)

           at opatch.O2O.setupInventory(O2O.java:597)

           at opatch.O2O.setupInventoryThenRAC(O2O.java:1109)

           at opatch.CheckConflict.checkConflict(CheckConflict.java:227)

           at opatch.CheckConflict.main(CheckConflict.java:173)

      oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: The target area /etc/oraInventory cannot be used because it is in an invalid state.

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:310)

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:183)

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:170)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:364)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:269)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:218)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:167)

           at opatch.O2O.setupSession(O2O.java:538)

           at opatch.O2O.setupInventory(O2O.java:597)

           at opatch.O2O.setupInventoryThenRAC(O2O.java:1109)

           at opatch.CheckConflict.checkConflict(CheckConflict.java:227)

           at opatch.CheckConflict.main(CheckConflict.java:173)

      oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: The target area /etc/oraInventory cannot be used because it is in an invalid state.

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:310)

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:183)

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:170)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:364)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:269)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:218)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:167)

           at opatch.O2O.setupSession(O2O.java:538)

           at opatch.O2O.setupInventory(O2O.java:597)

           at opatch.O2O.setupInventoryThenRAC(O2O.java:1109)

           at opatch.CheckConflict.checkConflict(CheckConflict.java:227)

           at opatch.CheckConflict.main(CheckConflict.java:173)

      oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: The target area /etc/oraInventory cannot be used because it is in an invalid state.

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:310)

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:183)

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:170)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:364)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:269)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:218)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:167)

           at opatch.O2O.setupSession(O2O.java:538)

           at opatch.O2O.setupInventory(O2O.java:597)

           at opatch.O2O.setupInventoryThenRAC(O2O.java:1109)

           at opatch.CheckConflict.checkConflict(CheckConflict.java:227)

           at opatch.CheckConflict.main(CheckConflict.java:173)

      oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: The target area /etc/oraInventory cannot be used because it is in an invalid state.

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:310)

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:183)

           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:170)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:364)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:269)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:218)

           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:167)

           at opatch.O2O.setupSession(O2O.java:538)

           at opatch.O2O.setupInventory(O2O.java:597)

           at opatch.O2O.setupInventoryThenRAC(O2O.java:1109)

           at opatch.CheckConflict.checkConflict(CheckConflict.java:227)

           at opatch.CheckConflict.main(CheckConflict.java:173)

      OPATCH_JAVA_ERROR=CheckConflict: OPatch Exception while accessing O2O

      OPATCH_JAVA_ERROR=CheckConflict: OPatch Exception while accessing O2O
      oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: The target area /etc/oraInventory cannot be used because it is in an invalid state.
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:310)
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:183)
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:170)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:364)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:269)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:218)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:167)
           at opatch.O2O.setupSession(O2O.java:538)
           at opatch.O2O.setupInventory(O2O.java:597)
           at opatch.O2O.setupInventoryThenRAC(O2O.java:1109)
           at opatch.CheckConflict.checkConflict(CheckConflict.java:227)
           at opatch.CheckConflict.main(CheckConflict.java:173)
      oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: The target area /etc/oraInventory cannot be used because it is in an invalid state.
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:310)
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:183)
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:170)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:364)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:269)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:218)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:167)
           at opatch.O2O.setupSession(O2O.java:538)
           at opatch.O2O.setupInventory(O2O.java:597)
           at opatch.O2O.setupInventoryThenRAC(O2O.java:1109)
           at opatch.CheckConflict.checkConflict(CheckConflict.java:227)
           at opatch.CheckConflict.main(CheckConflict.java:173)
      oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: The target area /etc/oraInventory cannot be used because it is in an invalid state.
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:310)
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:183)
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:170)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:364)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:269)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:218)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:167)
           at opatch.O2O.setupSession(O2O.java:538)
           at opatch.O2O.setupInventory(O2O.java:597)
           at opatch.O2O.setupInventoryThenRAC(O2O.java:1109)
           at opatch.CheckConflict.checkConflict(CheckConflict.java:227)
           at opatch.CheckConflict.main(CheckConflict.java:173)
      oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: The target area /etc/oraInventory cannot be used because it is in an invalid state.
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:310)
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:183)
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:170)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:364)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:269)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:218)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:167)
           at opatch.O2O.setupSession(O2O.java:538)
           at opatch.O2O.setupInventory(O2O.java:597)
           at opatch.O2O.setupInventoryThenRAC(O2O.java:1109)
           at opatch.CheckConflict.checkConflict(CheckConflict.java:227)
           at opatch.CheckConflict.main(CheckConflict.java:173)
      oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: The target area /etc/oraInventory cannot be used because it is in an invalid state.
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:310)
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:183)
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:170)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:364)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:269)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:218)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:167)
           at opatch.O2O.setupSession(O2O.java:538)
           at opatch.O2O.setupInventory(O2O.java:597)
           at opatch.O2O.setupInventoryThenRAC(O2O.java:1109)
           at opatch.CheckConflict.checkConflict(CheckConflict.java:227)
           at opatch.CheckConflict.main(CheckConflict.java:173)
      oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: The target area /etc/oraInventory cannot be used because it is in an invalid state.
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:310)
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:183)
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:170)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:364)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:269)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:218)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:167)
           at opatch.O2O.setupSession(O2O.java:538)
           at opatch.O2O.setupInventory(O2O.java:597)
           at opatch.O2O.setupInventoryThenRAC(O2O.java:1109)
           at opatch.CheckConflict.checkConflict(CheckConflict.java:227)
           at opatch.CheckConflict.main(CheckConflict.java:173)
      oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: The target area /etc/oraInventory cannot be used because it is in an invalid state.
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:310)
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:183)
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:170)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:364)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:269)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:218)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:167)
           at opatch.O2O.setupSession(O2O.java:538)
           at opatch.O2O.setupInventory(O2O.java:597)
           at opatch.O2O.setupInventoryThenRAC(O2O.java:1109)
           at opatch.CheckConflict.checkConflict(CheckConflict.java:227)
           at opatch.CheckConflict.main(CheckConflict.java:173)
      oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: The target area /etc/oraInventory cannot be used because it is in an invalid state.
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:310)
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:183)
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:170)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:364)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:269)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:218)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:167)
           at opatch.O2O.setupSession(O2O.java:538)
           at opatch.O2O.setupInventory(O2O.java:597)
           at opatch.O2O.setupInventoryThenRAC(O2O.java:1109)
           at opatch.CheckConflict.checkConflict(CheckConflict.java:227)
           at opatch.CheckConflict.main(CheckConflict.java:173)
      oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: The target area /etc/oraInventory cannot be used because it is in an invalid state.
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:310)
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:183)
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:170)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:364)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:269)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:218)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:167)
           at opatch.O2O.setupSession(O2O.java:538)
           at opatch.O2O.setupInventory(O2O.java:597)
           at opatch.O2O.setupInventoryThenRAC(O2O.java:1109)
           at opatch.CheckConflict.checkConflict(CheckConflict.java:227)
           at opatch.CheckConflict.main(CheckConflict.java:173)
      oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: The target area /etc/oraInventory cannot be used because it is in an invalid state.
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:310)
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:183)
           at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:170)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:364)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:269)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:218)
           at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:167)
           at opatch.O2O.setupSession(O2O.java:538)
           at opatch.O2O.setupInventory(O2O.java:597)
           at opatch.O2O.setupInventoryThenRAC(O2O.java:1109)
           at opatch.CheckConflict.checkConflict(CheckConflict.java:227)
           at opatch.CheckConflict.main(CheckConflict.java:173)
      OPATCH_JAVA_ERROR=CheckConflict: OPatch Exception while accessing O2O
      Cannot check bug/file conflict and component pre-req.

      ERROR: OPatch failed during pre-reqs check.


      Please give the solution for the same.

      Regards,

      Rerry