1 2 Previous Next 29 Replies Latest reply on Jul 14, 2015 6:36 PM by yoonas Go to original post
      • 15. Re: Error in Opatch: After java upgrade cannot lock OUI inventory
        Kumar Vellaisamy

        Hi,

         

        We have already tried this metalink,

         

        As per the doc, We have applied this OUI Patch 6640838, But no luck, still the "opatch lsinventory" command is not working.

         

        Thanks

        Karthick G

        • 16. Re: Error in Opatch: After java upgrade cannot lock OUI inventory
          Kumar Vellaisamy

          Dear Team,

           

          This patch only i have downloaded and applied on our environment.

           

          Patch: p6640838_10106_WINNT.zip

          Platform : Windows 32 bit

           

          Regards'

          Karthick G

          • 17. Re: Error in Opatch: After java upgrade cannot lock OUI inventory
            yoonas

            With JDK six can you post output of


            F:\oracle\devapps\apps\tech_st\10.1.2\jdk\jre\bin>java -version


            What was JDK used while applying 6640838?

            • 18. Re: Error in Opatch: After java upgrade cannot lock OUI inventory
              Kumar Vellaisamy

              Hi

               

              F:\oracle\devapps\apps\tech_st\10.1.2\jdk\jre\bin>java -version

              java version "1.6.0_38"

              Java(TM) SE Runtime Environment (build 1.6.0_38-b33)

              Java HotSpot(TM) Client VM (build 20.13-b02, mixed mode)

               

              What was JDK used while applying 6640838?

              Ans: While applying OUI Patch, i have de-selected the jdk, then it will ask jdk location, so i have given this location ''F:\oracle\devapps\apps\tech_st\10.1.2\jdk''


              Regards

              Karthick G

              • 20. Re: Error in Opatch: After java upgrade cannot lock OUI inventory
                Kumar Vellaisamy

                Hi,

                 

                Yes i have selected 1.6U38 jdk location while applying OUI.

                 

                Regards

                Karthick G

                • 21. Re: Error in Opatch: After java upgrade cannot lock OUI inventory
                  yoonas

                  What happens if you run opatch with explicitly jre path

                   

                  opatch lsinventory -jre $IAS_ORACLE_HOME/jdk

                   

                  as per the note applying the patch 6640838 should fix the issue.

                  Can you try with latest opatch

                  • 22. Re: Error in Opatch: After java upgrade cannot lock OUI inventory
                    Kumar Vellaisamy

                    Hi,

                     

                    There is no jdk folder under IAS_ORACLE_HOME,

                     

                    Kindly guide me which jdk location i need to use for this below query.

                    opatch lsinventory -jre $IAS_ORACLE_HOME/jdk

                     

                    We have tried latest opatch (1.0.0.64) also, even we are getting same problem.

                     

                    Thanks

                    Karthick G

                    • 23. Re: Error in Opatch: After java upgrade cannot lock OUI inventory
                      yoonas

                      after sourcing enviroment file you can access the location with $IAS_ORACLE_HOME

                      this is you ias home 10.1.3

                      • 24. Re: Error in Opatch: After java upgrade cannot lock OUI inventory
                        Kumar Vellaisamy

                        Hi,

                         

                        Yes, After sourcing the the environment file, We can able to see the IAS_ORACLE_HOME location, but there is no JDK folder,

                         

                        We can able to see IAS_ORACLE_HOME\appsutill\jdk only available.

                         

                        Can i use the above jre location in this command,

                         

                        opatch lsinventory -jre $IAS_ORACLE_HOME/appsutill/jdk

                         

                        Regards

                        Karthick G

                        • 25. Re: Error in Opatch: After java upgrade cannot lock OUI inventory
                          yoonas

                          My mistake

                          I did not even realize i missed appsutil from the path

                          exactly i was meaning same location you have given

                          • 26. Re: Error in Opatch: After java upgrade cannot lock OUI inventory
                            Kumar Vellaisamy

                            Hi,

                             

                            Kindly find the below details for your reference.

                             

                            opatch lsinventory -jre F:\oracle\devapps\apps\tech_st\10.1.3\appsutil\jdk

                             

                            Oracle Interim Patch Installer version 1.0.0.0.62

                            Copyright (c) 2009 Oracle Corporation. All Rights Reserved..

                             

                            Oracle recommends you to use the latest OPatch version

                            and read the OPatch documentation available in the OPatch/docs

                            directory for usage. For information about the latest OPatch and

                            other support-related issues, refer to document ID 293369.1

                            available on My Oracle Support (https://myoraclesupport.oracle.com)

                             

                            Oracle Home                 : F:\oracle\devapps\apps\tech_st\10.1.2

                            Oracle Home Inventory  : F:\oracle\devapps\apps\tech_st\10.1.2\inventory

                            Central Inventory           : C:\Program Files (x86)\oracle\inventory

                               from                           : N/A

                            OUI location                  : F:\oracle\devapps\apps\tech_st\10.1.2\oui

                            OUI shared library          : F:\oracle\devapps\apps\tech_st\10.1.2\oui\lib\win32\oraI

                            nstaller.dll

                            Java location                 : "F:\oracle\devapps\apps\tech_st\10.1.3\appsutil\jdk\bin\

                            java.exe"

                            Log file location              : F:\oracle\devapps\apps\tech_st\10.1.2/.patch_storage/<pa

                            tch ID>/*.log

                             

                             

                            Creating log file "F:\oracle\devapps\apps\tech_st\10.1.2\.patch_storage\LsInventory__07-14-2015_08-24-54.log"

                             

                            Result:

                             

                            java.lang.NullPointerException

                                    at oracle.sysman.oii.oiix.OiixPathOps.concatPath(OiixPathOps.java:551)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(

                            OiicStandardInventorySession.java:401)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:243)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:218)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:167)

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

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

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

                                    at opatch.LsInventory.main(LsInventory.java:195)

                            java.lang.NullPointerException

                                    at oracle.sysman.oii.oiix.OiixPathOps.concatPath(OiixPathOps.java:551)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(

                            OiicStandardInventorySession.java:401)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:243)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:218)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:167)

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

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

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

                                    at opatch.LsInventory.main(LsInventory.java:195)

                            java.lang.NullPointerException

                                    at oracle.sysman.oii.oiix.OiixPathOps.concatPath(OiixPathOps.java:551)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(

                            OiicStandardInventorySession.java:401)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:243)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:218)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:167)

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

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

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

                                    at opatch.LsInventory.main(LsInventory.java:195)

                            java.lang.NullPointerException

                                    at oracle.sysman.oii.oiix.OiixPathOps.concatPath(OiixPathOps.java:551)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(

                            OiicStandardInventorySession.java:401)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:243)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:218)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:167)

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

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

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

                                    at opatch.LsInventory.main(LsInventory.java:195)

                            java.lang.NullPointerException

                                    at oracle.sysman.oii.oiix.OiixPathOps.concatPath(OiixPathOps.java:551)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(

                            OiicStandardInventorySession.java:401)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:243)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:218)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:167)

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

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

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

                                    at opatch.LsInventory.main(LsInventory.java:195)

                            java.lang.NullPointerException

                                    at oracle.sysman.oii.oiix.OiixPathOps.concatPath(OiixPathOps.java:551)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(

                            OiicStandardInventorySession.java:401)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:243)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:218)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:167)

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

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

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

                                    at opatch.LsInventory.main(LsInventory.java:195)

                            java.lang.NullPointerException

                                    at oracle.sysman.oii.oiix.OiixPathOps.concatPath(OiixPathOps.java:551)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(

                            OiicStandardInventorySession.java:401)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:243)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:218)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:167)

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

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

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

                                    at opatch.LsInventory.main(LsInventory.java:195)

                            java.lang.NullPointerException

                                    at oracle.sysman.oii.oiix.OiixPathOps.concatPath(OiixPathOps.java:551)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(

                            OiicStandardInventorySession.java:401)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:243)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:218)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:167)

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

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

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

                                    at opatch.LsInventory.main(LsInventory.java:195)

                            java.lang.NullPointerException

                                    at oracle.sysman.oii.oiix.OiixPathOps.concatPath(OiixPathOps.java:551)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(

                            OiicStandardInventorySession.java:401)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:243)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:218)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:167)

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

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

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

                                    at opatch.LsInventory.main(LsInventory.java:195)

                            java.lang.NullPointerException

                                    at oracle.sysman.oii.oiix.OiixPathOps.concatPath(OiixPathOps.java:551)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(

                            OiicStandardInventorySession.java:401)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:243)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:218)

                                    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicS

                            tandardInventorySession.java:167)

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

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

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

                                    at opatch.LsInventory.main(LsInventory.java:195)

                            LsInventory: OPatch Exception while accessing O2O

                             

                            OPATCH_JAVA_ERROR  : An exception of type "OPatchException" has occurred:

                            OPatch Exception:  Can not lock OUI inventory (READ/WRITE Level)

                              An exception occurs

                              null

                              Can not lock OUI inventory (READ/WRITE Level)

                              An exception occurs

                              null

                              Can not lock OUI inventory (READ/WRITE Level)

                              An exception occurs

                              null

                              Can not lock OUI inventory (READ/WRITE Level)

                              An exception occurs

                              null

                              Can not lock OUI inventory (READ/WRITE Level)

                              An exception occurs

                              null

                              Can not lock OUI inventory (READ/WRITE Level)

                              An exception occurs

                              null

                              Can not lock OUI inventory (READ/WRITE Level)

                              An exception occurs

                              null

                              Can not lock OUI inventory (READ/WRITE Level)

                              An exception occurs

                              null

                              Can not lock OUI inventory (READ/WRITE Level)

                              An exception occurs

                              null

                              Can not lock OUI inventory (READ/WRITE Level)

                              An exception occurs

                              null

                             

                            There is no Interim Patch

                             

                            OPATCH_JAVA_ERROR  : An exception of type "OPatchException" has occurred:

                            Can not get a list of inventory on this home.

                             

                             

                            ERROR: OPatch failed because of Inventory problem.

                            OPatch returns with error code = 100

                             

                            Regards

                            Karthick G

                            • 27. Re: Error in Opatch: After java upgrade cannot lock OUI inventory
                              yoonas

                              I hope you have already completed all the steps as per note 1264274.1.

                              The error you are getting is same as in this note so if the solution does not work i think its time to log an SR. may be support could guide us to solve the issue

                              • 28. Re: Error in Opatch: After java upgrade cannot lock OUI inventory
                                Kumar Vellaisamy

                                Hi,

                                 

                                Already we have raised the SR, Still i didn't get any solution from support, so parallely we need your help to resolve this issue.

                                 

                                Thanks

                                Karthick G

                                • 29. Re: Error in Opatch: After java upgrade cannot lock OUI inventory
                                  yoonas

                                  Have you tried a reboot of the server then using opatch with jdk 1.6 (sometimes reboot does majics)

                                   

                                  Can you also try with different versions of jdk from same stream  1.6update 34/35 or any other update

                                  1 2 Previous Next