1 2 Previous Next 26 Replies Latest reply on Mar 2, 2017 7:39 PM by Alexis Manuel Perez Esculpi

    opatchauto apply "failed" (Oracle Grid Infrastructure Patch Set Update 12.1.0.2.170117)

    Alexis Manuel Perez Esculpi

      Hi,

       

      it is a RAC Server of 2 nodes and GI + RDBMS 12.1.0.2 on Oracle Linux 6.8 64bits

       

      Now I try to install the Jan2017 Patch on the GI which is 12.1.0.2.

       

      First I updated the opatch tool by itself with the actual version OPatch Version: 12.2.0.1.8.

       

      While trying to do the apply de PSU

       

      [grid@nodo1 ~]$ echo $GRID_HOME

      /u01/app/12.1.0/grid

      [root@nodo1 ~]# export PATH=$PATH:/u01/app/12.1.0/grid/OPatch

      [root@nodo1 ~]# $GRID_HOME/OPatch/opatchauto apply /instaladores/parches/24917825 -analyze -oh /u01/app/12.1.0/grid

       

      I get an error message:

       

      "java.lang.UnsatisfiedLinkError: Can't load library: /u01/app/12.1.0/grid/oui/lib/linux/liboraInstaller.so

              at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1798)

              at java.lang.Runtime.load0(Runtime.java:809)

              at java.lang.System.load(System.java:1080)

              at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:364)

              at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:128)

              at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:201)

              at oracle.sysman.oii.oiix.OiixIniPair.instantiateEnvVars(OiixIniPair.java:292)

              at oracle.sysman.oii.oiix.OiixIniPair.updateValue(OiixIniPair.java:223)

              at oracle.sysman.oii.oiix.OiixIniPair.<init>(OiixIniPair.java:141)

              at oracle.sysman.oii.oiix.OiixIniFile.readFile(OiixIniFile.java:809)

              at oracle.sysman.oii.oiix.OiixIniFile.readIniFile(OiixIniFile.java:978)

              at oracle.sysman.oii.oiix.OiixIniFile.getProfileString(OiixIniFile.java:385)

              at oracle.sysman.oii.oiix.OiixOraparam.getOraparamProfileString(OiixOraparam.java:346)

              at oracle.sysman.oii.oiix.OiixOraparam.getOraparamProfileString(OiixOraparam.java:304)

              at oracle.sysman.oii.oiix.OiixOraparam.canIgnoreBuildNumber(OiixOraparam.java:554)

              at oracle.sysman.oii.oiii.OiiiCompInstallID.toString(OiiiCompInstallID.java:1168)

              at oracle.sysman.oii.oiii.OiiiCompIdOhPair.calcHashCode(OiiiCompIdOhPair.java:234)

              at oracle.sysman.oii.oiii.OiiiCompIdOhPair.<init>(OiiiCompIdOhPair.java:107)

              at oracle.sysman.oii.oiii.OiiiCompsXMLHandler.createCompIdOhPair(OiiiCompsXMLHandler.java:494)

              at oracle.sysman.oii.oiii.OiiiCompsXMLHandler.access$500(OiiiCompsXMLHandler.java:98)

              at oracle.sysman.oii.oiii.OiiiCompsXMLHandler$OiiiDepElementHandler.onStart(OiiiCompsXMLHandler.java:1601)

              at oracle.sysman.oix.oixs.OixsElementHandler.startElement(OixsElementHandler.java:140)

              at oracle.sysman.oix.oixs.OixsDefaultHandler.startElement(OixsDefaultHandler.java:109)

              at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:182)

              at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1635)

              at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:458)

              at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:404)

              at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:244)

              at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readComps(OiiiInstallXMLReader.java:324)

              at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readComps(OiiiInstallXMLReader.java:232)

              at oracle.sysman.oii.oiii.OiiiInstallInventory.getCompOHListElement(OiiiInstallInventory.java:2307)

              at oracle.sysman.oii.oiii.OiiiAreaInventory.getAllCompsVect(OiiiAreaInventory.java:1057)

              at oracle.sysman.oii.oiii.OiiiAreaInventory.getTopLevelComps(OiiiAreaInventory.java:1877)

              at oracle.dbsysmodel.driver.sdk.productdriver.OUIDriver.writeHomeInfo(OUIDriver.java:545)

              at oracle.dbsysmodel.driver.sdk.productdriver.OUIDriver.getLocalInfo(OUIDriver.java:116)

              at com.oracle.glcm.patch.auto.db.product.inventory.ClusterInformationLoader.createLocalInfo(ClusterInformationLoader.java:253)

              at com.oracle.glcm.patch.auto.db.product.inventory.ClusterInformationLoader.getCrsVersion(ClusterInformationLoader.java:239)

              at com.oracle.glcm.patch.auto.db.product.inventory.ClusterInformationLoader.getCrsVersion(ClusterInformationLoader.java:209)

              at com.oracle.glcm.patch.auto.db.util.SystemInfoGenerator.getUpdatedArg(SystemInfoGenerator.java:258)

              at com.oracle.glcm.patch.auto.db.util.SystemInfoGenerator.main(SystemInfoGenerator.java:230)

      Exception in thread "main" java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path

              at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1838)

              at java.lang.Runtime.loadLibrary0(Runtime.java:870)

              at java.lang.System.loadLibrary(System.java:1116)

              at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:380)

              at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:128)

              at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:201)

              at oracle.sysman.oii.oiix.OiixIniPair.instantiateEnvVars(OiixIniPair.java:292)

              at oracle.sysman.oii.oiix.OiixIniPair.updateValue(OiixIniPair.java:223)

              at oracle.sysman.oii.oiix.OiixIniPair.<init>(OiixIniPair.java:141)

              at oracle.sysman.oii.oiix.OiixIniFile.readFile(OiixIniFile.java:809)

              at oracle.sysman.oii.oiix.OiixIniFile.readIniFile(OiixIniFile.java:978)

              at oracle.sysman.oii.oiix.OiixIniFile.getProfileString(OiixIniFile.java:385)

              at oracle.sysman.oii.oiix.OiixOraparam.getOraparamProfileString(OiixOraparam.java:346)

              at oracle.sysman.oii.oiix.OiixOraparam.getOraparamProfileString(OiixOraparam.java:304)

              at oracle.sysman.oii.oiix.OiixOraparam.canIgnoreBuildNumber(OiixOraparam.java:554)

              at oracle.sysman.oii.oiii.OiiiCompInstallID.toString(OiiiCompInstallID.java:1168)

              at oracle.sysman.oii.oiii.OiiiCompIdOhPair.calcHashCode(OiiiCompIdOhPair.java:234)

              at oracle.sysman.oii.oiii.OiiiCompIdOhPair.<init>(OiiiCompIdOhPair.java:107)

              at oracle.sysman.oii.oiii.OiiiCompsXMLHandler.createCompIdOhPair(OiiiCompsXMLHandler.java:494)

              at oracle.sysman.oii.oiii.OiiiCompsXMLHandler.access$500(OiiiCompsXMLHandler.java:98)

              at oracle.sysman.oii.oiii.OiiiCompsXMLHandler$OiiiDepElementHandler.onStart(OiiiCompsXMLHandler.java:1601)

              at oracle.sysman.oix.oixs.OixsElementHandler.startElement(OixsElementHandler.java:140)

              at oracle.sysman.oix.oixs.OixsDefaultHandler.startElement(OixsDefaultHandler.java:109)

              at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:182)

              at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1635)

              at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:458)

              at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:404)

              at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:244)

              at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readComps(OiiiInstallXMLReader.java:324)

              at oracle.sysman.oii.oiii.OiiiInstallXMLReader.readComps(OiiiInstallXMLReader.java:232)

              at oracle.sysman.oii.oiii.OiiiInstallInventory.getCompOHListElement(OiiiInstallInventory.java:2307)

              at oracle.sysman.oii.oiii.OiiiAreaInventory.getAllCompsVect(OiiiAreaInventory.java:1057)

              at oracle.sysman.oii.oiii.OiiiAreaInventory.getTopLevelComps(OiiiAreaInventory.java:1877)

              at oracle.dbsysmodel.driver.sdk.productdriver.OUIDriver.writeHomeInfo(OUIDriver.java:545)

              at oracle.dbsysmodel.driver.sdk.productdriver.OUIDriver.getLocalInfo(OUIDriver.java:116)

              at com.oracle.glcm.patch.auto.db.product.inventory.ClusterInformationLoader.createLocalInfo(ClusterInformationLoader.java:253)

              at com.oracle.glcm.patch.auto.db.product.inventory.ClusterInformationLoader.getCrsVersion(ClusterInformationLoader.java:239)

              at com.oracle.glcm.patch.auto.db.product.inventory.ClusterInformationLoader.getCrsVersion(ClusterInformationLoader.java:209)

              at com.oracle.glcm.patch.auto.db.util.SystemInfoGenerator.getUpdatedArg(SystemInfoGenerator.java:258)

              at com.oracle.glcm.patch.auto.db.util.SystemInfoGenerator.main(SystemInfoGenerator.java:230)

       

      OPatchauto session completed at Wed Feb 22 08:07:56 2017

      Time taken to complete the session 0 minute, 1 second

       

      opatchauto bootstrapping failed with error code 1."

       

      I found nothing in the documentation and also on the My Oracle Support site.

       

      Do you have done a setup of PSU 2017 with the latest opatch tool?

       

      Regards

        1 2 Previous Next