6 Replies Latest reply on Oct 28, 2010 6:06 PM by 809102

    OPatch error

    482728
      Hi,

      I've done a fresh install of BPEL Process Manager 10.1.2 with Developer's option. There's a mandatory patch that won't install properly. Here's the output:

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

      C:\Documents and Settings\Administrator\Desktop\shared\bpelpatches\p4369818_101200_GENERIC\4369818>c:\OraBPEL\OPatch\opatch.bat apply


      Oracle Interim Patch Installer version 1.0.0.0.52
      Copyright (c) 2005 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:\OraBPEL\integration\orabpel\..\..
      Location of Oracle Universal Installer components = C:\OraBPEL\integration\orabpel\..\..\oui
      Location of OraInstaller.jar = "C:\OraBPEL\integration\orabpel\..\..\oui\jlib"
      Oracle Universal Installer shared library = C:\OraBPEL\integration\orabpel\..\..\oui\lib\win32\oraInstaller.dll
      Location of Oracle Inventory Pointer = N/A
      Location of Oracle Inventory = C:\OraBPEL\integration\orabpel\..\..\inventory
      Path to Java = "C:\OraBPEL\integration\orabpel\..\..\jdk\jre\bin\java.exe"
      Log file = C:\OraBPEL\integration\orabpel\..\../.patch_storage/<patch ID>/*.log

      Backing up comps.xml ...

      OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.


      Please shut down Oracle instances running out of this ORACLE_HOME
      (Oracle Home = c:\orabpel\integration\orabpel\..\..)
      Is this system ready for updating?
      Please respond Y|N >
      Patching...

      Updating inventory...
      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)

      Backing up comps.xml ...

      ERROR: OPatch failed because of Inventory problem.
      OPatch returns with error code = 100

      C:\Documents and Settings\Administrator\Desktop\shared\bpelpatches\p4369818_101200_GENERIC\4369818>c:\OraBPEL\OPatch\opatch.bat lsinventory


      Oracle Interim Patch Installer version 1.0.0.0.52
      Copyright (c) 2005 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:\OraBPEL\integration\orabpel\..\..
      Location of Oracle Universal Installer components = C:\OraBPEL\integration\orabpel\..\..\oui
      Location of OraInstaller.jar = "C:\OraBPEL\integration\orabpel\..\..\oui\jlib"
      Oracle Universal Installer shared library = C:\OraBPEL\integration\orabpel\..\..\oui\lib\win32\oraInstaller.dll
      Location of Oracle Inventory Pointer = N/A
      Location of Oracle Inventory = C:\OraBPEL\integration\orabpel\..\..\inventory
      Path to Java = "C:\OraBPEL\integration\orabpel\..\..\jdk\jre\bin\java.exe"
      Log file = C:\OraBPEL\integration\orabpel\..\../.patch_storage/<patch ID>/*.log

      Result:


      There is no Interim Patch

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

      Does anyone have an idea what's going wrong here?

      Thanks in advance,

      Koen
        • 1. Re: OPatch error
          Mathias-Oracle
          Hi Koen,

          You can get error like that when an unexpected path is set. Try setting the first part of the path som something like "%ORACLE_HOME%\opatch;c:\windows\system32;c:\windows" and try again.

          Regards,
          Mathias
          • 2. Re: OPatch error
            482728
            Hello Mathias,

            Unfortunately your advice didn't solve the problem.

            I did check the opatch-logs and they say that the patch has been applied successfully but the inventory update has failed:


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

            ....

            Patch 4369818 has been applied successfully.

            Starting to update inventory for Apply at 01-17-2006_18-32-38.


            Updating inventory...

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


            System Command: ""C:\orabpel\jdk\jre\bin\java.exe" -Dopatch.local_node_only -classpath "C:\orabpel\oui\jlib\OraInstaller.jar;C:\orabpel\oui\jlib\srvm.jar;c:\OraBPEL\OPatch\jlib\opatch.jar;C:\orabpel\oui\jlib\xmlparserv2.jar;C:\orabpel\oui\jlib\share.jar" opatch/UpdateInventory "C:\orabpel\oui" "c:\orabpel" opatch.pl 1.0.0.0.52 4369818 C:\Documents and Settings\Administrator\Desktop\shared\bpelpatches\p4369818_101200_GENERIC\4369818\etc\config\actions "3562466 4212066 4043715 4113514 4021903 4135569 4327193 4338987 4298949 4167846 4343748 ""

            Result:
            OPATCH_JAVA_ERROR : Wrong number of arguments
            There are 9 arguments
            OPATCH_JAVA_ERROR : Wrong number of arguments
            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)

            Backing up comps.xml ...

            Back up "C:\orabpel\inventory\ContentsXML\comps.xml" to "C:\orabpel\.patch_storage\4369818\comps.xml.afterapply"

            Update Inventory error
            ERROR: OPatch failed because of Inventory problem.

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


            Can I just ignore the error and apply the next patches?


            I'm sorry I hadn't looked in these log files before.

            Greetings,
            Koen
            • 3. Re: OPatch error
              VSRIRAM
              No you cannot just ignore that error, unless a patch is applied completely(file system + inventory) it is not advisible to proceed further, coz if you try to apply other patches then conflict between the patches will not be identified.

              Also, I noticied that you are using 1.0.0.0.52 version of OPatch which is pretty old. Try downloading the new OPatch from metalink under bug 2617419. Latest OPatch version is 1.0.0.0.54.
              • 4. Re: OPatch error
                VSRIRAM
                Also I noticed that the patches are kept under the directory
                "C:\Documents and Settings\Administrator\Desktop\shared\bpelpatches\p4369818_101200_GENERIC\4369818"

                It not advisible to keep the patches under directory which has space (" ") in its names, in this case "Documents and Settings". Try moving the patches to other directory and try applying from there with new OPatch.
                • 5. Re: OPatch error
                  482728
                  Hi VJ,

                  Your space advice solved the problem, thanks a lot !

                  Greetings,
                  Koen

                  PS: I'm not sure how to give points, actually :s
                  • 6. Re: OPatch error
                    809102
                    Hi,
                    please refer below blog. http://muthuappsdba.blogspot.com

                    Regards,
                    Hem