1 Reply Latest reply on Jul 16, 2014 10:01 PM by Nicholas Mans-Oracle

    ERROR: OPatch failed as verification of the patch failed. OPatch returns with error code = 240

    Raj_insight

      Dear friends,

      I'm trying to install OracleDeveloperSuite10gRel2 10.1.2.3.0 in WINDOWS 7 Utlimate plotform.

      As per pre-requisites used in other projects i've to install the same by executing 3 steps below.

       

      Step 1) Apply patch  10396165 (follow some steps)  --> successful

      Step 2) Apply patch 5983622 (follow some steps)  --> successful

      Step 3) Apply patch 7047034 (follow below steps)  --> Un successful

       

      1. Download and extract patch 7047034 from above location.
      2. Make sure that OC4J is not running
      3. Open up cmd as an administrator
      4. In cmd(command prompt), set ORACLE_HOME to the path to your Oracle Home for Forms 10g : C:\Forms10g_1

          5. Run the following: set PATH=%ORACLE_HOME%\OPatch;%PATH%

          6. Run the following:opatch apply


      i got the error after this step. it should be ideally return the code as 0 but for me its giving the error code as 240. Here is the logs. Pls help me to resolve this issue.

      
      
      
      Microsoft Windows [Version 6.1.7600]
      Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
      
      
      C:\Users\Admin>cd..
      
      
      C:\Users>cd..
      
      
      C:\>cd C:\7047034
      
      
      C:\7047034>echo %ORACLE_HOME%
      %ORACLE_HOME%
      
      
      C:\7047034>set ORACLE_HOME=C:\Forms10g_1
      
      
      C:\7047034>echo %ORACLE_HOME%
      C:\Forms10g_1
      
      
      C:\7047034>path
      PATH=C:\Forms10g_1\OPatch;C:\Forms10g_1\jdk\jre\bin\classic;C:\Forms10g_1\jdk\jr
      e\bin;C:\Forms10g_1\jdk\jre\bin\client;C:\Forms10g_1\jlib;C:\Forms10g_1\bin;C:\F
      orms10g_1\jre\1.4.2\bin\client;C:\Forms10g_1\jre\1.4.2\bin;C:\Windows\system32;C
      :\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
      
      
      C:\7047034>opatch apply
      
      
      Oracle Interim Patch Installer version 1.0.0.0.57
      Copyright (c) 2007 Oracle Corporation. All Rights Reserved..
      
      
      We recommend you refer to the OPatch documentation under
      OPatch/docs for usage reference. We also recommend using
      the latest OPatch version. For the latest OPatch version
      and other support related issues, please refer to document
      293369.1 which is viewable from metalink.oracle.com
      
      
      Oracle Home           : C:\Forms10g_1
      Oracle Home Inventory : C:\Forms10g_1\inventory
      Central Inventory     : C:\Program Files\oracle\inventory
         from               : N/A
      OUI location          : C:\Forms10g_1\oui
      OUI shared library    : C:\Forms10g_1\oui\lib\win32\oraInstaller.dll
      Java location         : "C:\Forms10g_1\jre\1.4.2\bin\java.exe"
      Log file location     : C:\Forms10g_1/.patch_storage/<patch ID>/*.log
      
      
      Creating log file "C:\forms10g_1\.patch_storage\7047034\Apply_7047034_07-06-2014
      _20-19-39.log"
      
      
      Backing up comps.xml ...
      
      
      OPatch detected non-cluster Oracle Home from the inventory and will patch the lo
      cal system only.
      
      
      
      
      Please shut down Oracle instances running out of this ORACLE_HOME
      (Oracle Home = c:\forms10g_1)
      Is this system ready for updating?
      Please respond Y|N >
      Y
      Executing the Apply pre-patch script (C:\7047034\custom\scripts\pre.bat)...
              1 file(s) copied.
      
      
       inflated: webapp.war
      
      
      Applying patch 7047034...
      
      
      Patching jar files...
      
      
      Patching copy files...
      
      
      Creating new directory "c:\forms10g_1\crs\admin"
      Creating new directory "c:\forms10g_1\srvm\admin"
      Creating file to hold list of directories that were mkdir'ed: "C:\forms10g_1\.pa
      tch_storage\7047034\opatch_dirs_created.lst"
      
      
      
      
      Inventory is good and does not have any dangling patches.
      
      
      
      
      Updating inventory...
      OPATCH_JAVA_ERROR  : UpdateInventory got errors calling update inventory, java.i
      o.FileNotFoundException: C:\Program Files\Oracle\Inventory\Contents\OracleHomesL
      ist.ser (Access is denied)
      Files on system are patched but Inventory Update has failed.  Please run 'opatch
       lsinventory' to check if the patch has been recorded in Inventory.
      (1)
      
      
      
      
      Verifying patch...
        Verifying that patch ID is in Oracle Home inventory.
      INVENTORY PROBLEM: Patch 7047034 is not present in Oracle Home inventory.
        Verifying copy files.
      
      
      Comparing "C:\7047034\files\rdbms\mesg\oraus.msb" and "c:\forms10g_1\rdbms\mesg\
      oraus.msb"
      
      
      Comparing "C:\7047034\files\rdbms\admin\orageneric10.sym" and "c:\forms10g_1\rdb
      ms\admin\orageneric10.sym"
      
      
      Comparing "C:\7047034\files\rdbms\admin\oraclient10.sym" and "c:\forms10g_1\rdbm
      s\admin\oraclient10.sym"
      
      
      Comparing "C:\7047034\files\rdbms\admin\oracommon10.sym" and "c:\forms10g_1\rdbm
      s\admin\oracommon10.sym"
      
      
      Comparing "C:\7047034\files\bin\oracommon10.dll" and "c:\forms10g_1\bin\oracommo
      n10.dll"
      
      
      Comparing "C:\7047034\files\bin\orageneric10.dll" and "c:\forms10g_1\bin\oragene
      ric10.dll"
      
      
      Comparing "C:\7047034\files\bin\oraclient10.dll" and "c:\forms10g_1\bin\oraclien
      t10.dll"
      
      
      Comparing "C:\7047034\files\bin\oraocrb10.dll" and "c:\forms10g_1\bin\oraocrb10.
      dll"
      
      
      Comparing "C:\7047034\files\bin\orapls10.dll" and "c:\forms10g_1\bin\orapls10.dl
      l"
      
      
      Comparing "C:\7047034\files\rdbms\admin\orapls10.sym" and "c:\forms10g_1\rdbms\a
      dmin\orapls10.sym"
      
      
      Comparing "C:\7047034\files\lib\orapls10.lib" and "c:\forms10g_1\lib\orapls10.li
      b"
      
      
      Comparing "C:\7047034\files\rdbms\admin\oraocrb10.sym" and "c:\forms10g_1\rdbms\
      admin\oraocrb10.sym"
      
      
      Comparing "C:\7047034\files\srvm\admin\oraocrb10.sym" and "c:\forms10g_1\srvm\ad
      min\oraocrb10.sym"
      
      
      Comparing "C:\7047034\files\bin\orahasgen10.dll" and "c:\forms10g_1\bin\orahasge
      n10.dll"
      
      
      Comparing "C:\7047034\files\crs\admin\orahasgen10.sym" and "c:\forms10g_1\crs\ad
      min\orahasgen10.sym"
      
      
      Comparing "C:\7047034\files\rdbms\admin\orahasgen10.sym" and "c:\forms10g_1\rdbm
      s\admin\orahasgen10.sym"
      
      
      Comparing "C:\7047034\files\bin\wrap.exe" and "c:\forms10g_1\bin\wrap.exe"
      
      
      Comparing "C:\7047034\files\bin\rman.exe" and "c:\forms10g_1\bin\rman.exe"
      
      
      Comparing "C:\7047034\files\bin\extproc.exe" and "c:\forms10g_1\bin\extproc.exe"
      
      
      
      
      Comparing "C:\7047034\files\bin\sqlldr.exe" and "c:\forms10g_1\bin\sqlldr.exe"
      
      
      Comparing "C:\7047034\files\bin\imp.exe" and "c:\forms10g_1\bin\imp.exe"
      
      
      Comparing "C:\7047034\files\rdbms\admin\recover.bsq" and "c:\forms10g_1\rdbms\ad
      min\recover.bsq"
      
      
      Comparing "C:\7047034\files\bin\owm2.dll" and "c:\forms10g_1\bin\owm2.dll"
      
      
      Comparing "C:\7047034\files\bin\orantcp10.dll" and "c:\forms10g_1\bin\orantcp10.
      dll"
      
      
      Comparing "C:\7047034\files\bin\oran10.dll" and "c:\forms10g_1\bin\oran10.dll"
      
      
      Comparing "C:\7047034\files\bin\orannmp10.dll" and "c:\forms10g_1\bin\orannmp10.
      dll"
      
      
      Comparing "C:\7047034\files\bin\orannzsbb10.dll" and "c:\forms10g_1\bin\orannzsb
      b10.dll"
      
      
      Comparing "C:\7047034\files\bin\oranro10.dll" and "c:\forms10g_1\bin\oranro10.dl
      l"
      
      
      Comparing "C:\7047034\files\bin\tnslsnr.exe" and "c:\forms10g_1\bin\tnslsnr.exe"
      
      
      
      
      Comparing "C:\7047034\files\rdbms\admin\oran10.sym" and "c:\forms10g_1\rdbms\adm
      in\oran10.sym"
      
      
      Comparing "C:\7047034\files\bin\lsnrctl.exe" and "c:\forms10g_1\bin\lsnrctl.exe"
      
      
      
      
      Comparing "C:\7047034\files\lib\xmlparserv2.jar" and "c:\forms10g_1\lib\xmlparse
      rv2.jar"
      
      
      Comparing "C:\7047034\files\lib\xml.jar" and "c:\forms10g_1\lib\xml.jar"
      
      
      Comparing "C:\7047034\files\bin\oraxml10.dll" and "c:\forms10g_1\bin\oraxml10.dl
      l"
      
      
      Comparing "C:\7047034\files\lib\oraxml10.lib" and "c:\forms10g_1\lib\oraxml10.li
      b"
      
      
      Comparing "C:\7047034\files\bin\oranls10.dll" and "c:\forms10g_1\bin\oranls10.dl
      l"
      
      
      Comparing "C:\7047034\files\bin\lmsgen.exe" and "c:\forms10g_1\bin\lmsgen.exe"
      
      
      Comparing "C:\7047034\files\rdbms\admin\oranls10.sym" and "c:\forms10g_1\rdbms\a
      dmin\oranls10.sym"
      
      
      Comparing "C:\7047034\files\bin\oracore10.dll" and "c:\forms10g_1\bin\oracore10.
      dll"
      
      
      Comparing "C:\7047034\files\rdbms\admin\oracore10.sym" and "c:\forms10g_1\rdbms\
      admin\oracore10.sym"
      
      
      Comparing "C:\7047034\files\oracore\zoneinfo\timezlrg.dat" and "c:\forms10g_1\or
      acore\zoneinfo\timezlrg.dat"
      
      
      Comparing "C:\7047034\files\oracore\zoneinfo\timezone.dat" and "c:\forms10g_1\or
      acore\zoneinfo\timezone.dat"
      
      
      Comparing "C:\7047034\files\oracore\zoneinfo\readme.txt" and "c:\forms10g_1\orac
      ore\zoneinfo\readme.txt"
      
      
      Comparing "C:\7047034\files\bin\orajox10.dll" and "c:\forms10g_1\bin\orajox10.dl
      l"
      
      
      Comparing "C:\7047034\files\lib\orajox10.lib" and "c:\forms10g_1\lib\orajox10.li
      b"
      
      
      Comparing "C:\7047034\files\bin\proc.exe" and "c:\forms10g_1\bin\proc.exe"
      
      
      Comparing "C:\7047034\files\precomp\mesg\pcpus.msb" and "c:\forms10g_1\precomp\m
      esg\pcpus.msb"
      
      
      Comparing "C:\7047034\files\jdbc\lib\classes12.jar" and "c:\forms10g_1\jdbc\lib\
      classes12.jar"
      
      
      Comparing "C:\7047034\files\jdbc\lib\classes12.zip" and "c:\forms10g_1\jdbc\lib\
      classes12.zip"
      
      
      Comparing "C:\7047034\files\jdbc\lib\classes12dms.jar" and "c:\forms10g_1\jdbc\l
      ib\classes12dms.jar"
      
      
      Comparing "C:\7047034\files\jdbc\lib\ojdbc14.jar" and "c:\forms10g_1\jdbc\lib\oj
      dbc14.jar"
      
      
      Comparing "C:\7047034\files\jdbc\lib\ojdbc14dms.jar" and "c:\forms10g_1\jdbc\lib
      \ojdbc14dms.jar"
      OPATCH_JAVA_ERROR: Patch was not successfully applied.
      Verification of the patch failed.
      
      
      ERROR: OPatch failed as verification of the patch failed.
      OPatch returns with error code = 240
      
      
      C:\7047034>