1 2 Previous Next 26 Replies Latest reply on Mar 2, 2017 7:39 PM by Alexis Manuel Perez Esculpi Go to original post
      • 15. Re: opatchauto apply "failed" (Oracle Grid Infrastructure Patch Set Update 12.1.0.2.170117)
        Alexis Manuel Perez Esculpi

        I did not understand your question

         

        The patch must be applied with root user

        • 16. Re: opatchauto apply "failed" (Oracle Grid Infrastructure Patch Set Update 12.1.0.2.170117)
          Alexis Manuel Perez Esculpi

          [grid@nodo1 usr]$ ls -lrth /usr/lib/jvm/

          total 8.0K

          drwxr-xr-x. 3 root root 4.0K Feb 11 21:22 java-1.7.0-openjdk-1.7.0.99.x86_64

          lrwxrwxrwx. 1 root root   38 Feb 11 21:22 jre-1.7.0-openjdk.x86_64 -> java-1.7.0-openjdk-1.7.0.99.x86_64/jre

          lrwxrwxrwx. 1 root root   27 Feb 11 21:22 jre-1.7.0 -> /etc/alternatives/jre_1.7.0

          drwxr-xr-x. 3 root root 4.0K Feb 11 21:24 java-1.6.0-openjdk-1.6.0.38.x86_64

          lrwxrwxrwx. 1 root root   38 Feb 11 21:24 jre-1.6.0-openjdk.x86_64 -> java-1.6.0-openjdk-1.6.0.38.x86_64/jre

          lrwxrwxrwx. 1 root root   21 Feb 11 21:24 jre -> /etc/alternatives/jre

          lrwxrwxrwx. 1 root root   29 Feb 11 21:24 jre-openjdk -> /etc/alternatives/jre_openjdk

          lrwxrwxrwx. 1 root root   27 Feb 11 21:24 jre-1.6.0 -> /etc/alternatives/jre_1.6.0

          [grid@nodo1 ~]$ su -

          Password:

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

          [root@nodo1 ~]# /u01/app/12.1.0/grid/OPatch/opatchauto apply -jdk /usr/lib/jvm /instaladores/GI/parches/24917825 -analyze -oh /u01/app/12.1.0/grid

           

          OPatchauto session is initiated at Fri Feb 24 08:35:24 2017

          OPATCHAUTO-68029: Invalid argument.

          OPATCHAUTO-68029: The argument specified is invalid: -jdk

          OPATCHAUTO-68029: Verify the arguments provided on the command line.

           

          Oracle OPatchAuto Version 13.9.1.1.0

          Copyright (c) 2016, Oracle Corporation.  All rights reserved.

           

          DESCRIPTION

              This operation applies patch.

           

              Purpose:

                  Apply a System Patch to Oracle Home. If patch location is not

                  specified,  current directory will be taken as the patch location.

           

          SYNTAX

              opatchauto apply [ <patch-location> ]

                               [ -phBaseDir <patch.base.directory> ]

                               [ -oh <home> ] [ -log <log> ]

                               [ -logLevel <log_priority> ] [ -binary ]

                               [ -analyze ]

                               [ -invPtrLoc <inventory.pointer.location> ]

                               [ -host <host> ] [ -wallet <wallet> ]

                               [ -force_conflict ] [ -rolling ]

                               [ -database <database> ] [ -generatesteps ]

                               [ -norestart ] [ -ocmrf <ocmrf> ] [ -sdb ]

                               [ -remote ] [ -nonrolling ]

           

          OPTIONS

              -phBaseDir <patch.base.directory>

                  The location of base patch directory.

           

              -oh <home>

                  The location of the oracle home.

           

              -log <log>

                  The log location.

           

              -logLevel <log_priority>

                  The log level (defaults to "INFO").

                    Supported values:

                      [SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL, OFF]

           

              -binary

                  Forces execution of "-phases offline:binary-patching".

           

              -analyze

                  If this option is selected, the environment will be analysed for suitability of the patch on each home, without affecting the home.

                  The patch will not be applied or rolled back, and targets will not be shut down.

           

              -invPtrLoc <inventory.pointer.location>

                  The central inventory pointer file location.

           

              -host <host>

                  The remote host or host:port.

           

              -wallet <wallet>

                  The location of the wallet file. It is a mandatory option from DB 12.2 onwards if Grid Home patching is requested.

           

              -force_conflict

                  If a conflict exist which prevents the patch from being applied, this flag can be used to force application of the patch.

                  All the conflicting patches will be removed before applying the current patch.

           

              -rolling

                  Enables sdb rolling mode where database(s) are patched one after

                  the other.

           

              -database <database>

                  List of databases to be patched.

           

              -generatesteps

                  Enables generation of steps.

           

              -norestart

                  The no restart option during execution.

           

              -ocmrf <ocmrf>

                  Location of ocmrf file.

           

              -sdb

                  To signify patching sharded database. Run 'opatchauto <apply|rollback>

                   -sdb -help' to get more help on patching a sharded database.

           

              -remote

                  Enables remote node patching. This is supported only for Grid setup and it should be up and running.

           

              -nonrolling

                  Enables non-rolling mode.

           

          PARAMETERS

              patch-location

                  The patch location.

           

          EXAMPLES

              To patch GI home and all RAC homes:

              '<GI_HOME>/OPatch/opatchauto apply <Patch_Location>'

           

              To patch multiple homes:

              '<GI_HOME>/OPatch/opatchauto apply <Patch_Location> -oh <GI_HOME>,<RAC_HOME1>,<RAC_HOME2>'

           

              To patch databases running only from RAC homes:

              '<RAC_HOME>/OPatch/opatchauto apply <Patch_Location>-database db1,db2...dbn'

           

              To patch software-only installation:

              '<RAC_HOME>/OPatch/opatchauto apply <Patch_Location> -oh <RAC_HOME>' OR

              '<GI_HOME>/OPatch/opatchauto apply <Patch_Location>-oh <GI_HOME>'

           

          OPatchauto session completed at Fri Feb 24 08:35:39 2017

          Time taken to complete the session 0 minute, 20 seconds

           

          opatchauto failed with error code 41

          [root@nodo1 ~]#

          • 17. Re: opatchauto apply "failed" (Oracle Grid Infrastructure Patch Set Update 12.1.0.2.170117)
            Alexis Manuel Perez Esculpi

            AKPT I corrected the syntax error, and again failed:

             

            [root@nodo1 ~]# export JVM=/usr/lib/jvm

            [root@nodo1 ~]# echo $JVM

            /usr/lib/jvm

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

             

            OPatchauto session is initiated at Fri Feb 24 08:41:08 2017

            OPATCHAUTO-72083: System info generation failed.

            OPATCHAUTO-72083: System info generation failed because oracle.ops.mgmt.cluster.ClusterInfoException: Failure 3 in clsvactversion .

            OPATCHAUTO-72083: Fix the reported problem and re-run opatchauto.

             

            OPatchauto session completed at Fri Feb 24 08:44:17 2017

            Time taken to complete the session 3 minutes, 9 seconds

             

             

            opatchauto bootstrapping failed with error code 255.

            • 18. Re: opatchauto apply "failed" (Oracle Grid Infrastructure Patch Set Update 12.1.0.2.170117)
              Alexis Manuel Perez Esculpi

              I rebooted the cluster, the services are OK. Now if I do not understand anything:

               

              [root@nodo1 ~]# export CRS_HOME=/u01/app/12.1.0/grid

              [root@nodo1 ~]# $CRS_HOME/bin/crsctl status resource -t

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

              Name           Target  State        Server                   State details

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

              Local Resources

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

              ora.DATA.dg

                             ONLINE  ONLINE       nodo1                    STABLE

                             ONLINE  ONLINE       nodo2                    STABLE

              ora.FRA.dg

                             ONLINE  ONLINE       nodo1                    STABLE

                             ONLINE  ONLINE       nodo2                    STABLE

              ora.LISTENER.lsnr

                             ONLINE  ONLINE       nodo1                    STABLE

                             ONLINE  ONLINE       nodo2                    STABLE

              ora.OCR.dg

                             ONLINE  ONLINE       nodo1                    STABLE

                             ONLINE  ONLINE       nodo2                    STABLE

              ora.asm

                             ONLINE  ONLINE       nodo1                    Started,STABLE

                             ONLINE  ONLINE       nodo2                    Started,STABLE

              ora.net1.network

                             ONLINE  ONLINE       nodo1                    STABLE

                             ONLINE  ONLINE       nodo2                    STABLE

              ora.ons

                             ONLINE  ONLINE       nodo1                    STABLE

                             ONLINE  ONLINE       nodo2                    STABLE

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

              Cluster Resources

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

              ora.LISTENER_SCAN1.lsnr

                    1        ONLINE  ONLINE       nodo2                    STABLE

              ora.LISTENER_SCAN2.lsnr

                    1        ONLINE  ONLINE       nodo1                    STABLE

              ora.LISTENER_SCAN3.lsnr

                    1        ONLINE  ONLINE       nodo1                    STABLE

              ora.MGMTLSNR

                    1        ONLINE  ONLINE       nodo1                    169.254.22.45,STABLE

              ora.cvu

                    1        ONLINE  ONLINE       nodo2                    STABLE

              ora.db12c.db

                    1        ONLINE  ONLINE       nodo1                    Open,STABLE

                    2        ONLINE  ONLINE       nodo2                    Open,STABLE

              ora.mgmtdb

                    1        ONLINE  ONLINE       nodo1                    Open,STABLE

              ora.nodo1.vip

                    1        ONLINE  ONLINE       nodo1                    STABLE

              ora.nodo2.vip

                    1        ONLINE  ONLINE       nodo2                    STABLE

              ora.oc4j

                    1        ONLINE  ONLINE       nodo1                    STABLE

              ora.scan1.vip

                    1        ONLINE  ONLINE       nodo2                    STABLE

              ora.scan2.vip

                    1        ONLINE  ONLINE       nodo1                    STABLE

              ora.scan3.vip

                    1        ONLINE  ONLINE       nodo1                    STABLE

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

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

              [root@nodo1 ~]# export JVM=/usr/lib/jvm

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

               

              OPatchauto session is initiated at Fri Feb 24 09:05:01 2017

              OPATCHAUTO-72049: Script execution failed.

              OPATCHAUTO-72049: Script execution failed due to

              Patch version not found

              .

              OPATCHAUTO-72049: Please correct the environment and rerun opatchauto.

               

              OPatchauto session completed at Fri Feb 24 09:06:50 2017

              Time taken to complete the session 3 minutes, 14 seconds

               

              opatchauto bootstrapping failed with error code 1.

              • 19. Re: opatchauto apply "failed" (Oracle Grid Infrastructure Patch Set Update 12.1.0.2.170117)
                Alexis Manuel Perez Esculpi

                I run it from node2 and it gives the same results:

                 

                [root@nodo2 ~]# export GRID_HOME=/u01/app/12.1.0/grid

                [root@nodo2 ~]# export JVM=/usr/lib/jvm

                [root@nodo2 ~]# export PATH=$PATH:$GRID_HOME/OPatch

                [root@nodo2 ~]# opatchauto apply /instaladores/GI/parches/24917825 -analyze -oh /u01/app/12.1.0/grid

                 

                OPatchauto session is initiated at Fri Feb 24 09:12:23 2017

                OPATCHAUTO-72049: Script execution failed.

                OPATCHAUTO-72049: Script execution failed due to

                Patch version not found

                .

                OPATCHAUTO-72049: Please correct the environment and rerun opatchauto.

                 

                OPatchauto session completed at Fri Feb 24 09:12:24 2017

                Time taken to complete the session 0 minute, 2 seconds

                 

                opatchauto bootstrapping failed with error code 1.

                • 20. Re: opatchauto apply "failed" (Oracle Grid Infrastructure Patch Set Update 12.1.0.2.170117)
                  Alexis Manuel Perez Esculpi

                  Some will have the versions of OPatch for Linux 64 bits 12.1.0.1.4 / 5/6/7/8/9 or 12.1.0.1.10?.

                   

                  That way I will check that it is not a bug.

                   

                  Thanks!!

                  • 22. Re: opatchauto apply "failed" (Oracle Grid Infrastructure Patch Set Update 12.1.0.2.170117)
                    Alexis Manuel Perez Esculpi

                    [root@nodo1 ~]# oraenv

                    ORACLE_SID = [root] ? +ASM1

                    The Oracle base has been set to /u01/app/grid

                    [root@nodo1 ~]# export GRID_HOME=/u01/app/12.1.0/grid

                    [root@nodo1 ~]# export PATH=$PATH:$GRID_HOME/OPatch

                    [root@nodo1 ~]# /usr/sbin/alternatives --config java

                     

                    There are 2 programs which provide 'java'.

                     

                      Selection    Command

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

                    *+ 1           /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java

                       2           /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java

                     

                    Enter to keep the current selection[+], or type selection number: 1

                    [root@nodo1 ~]# /usr/sbin/alternatives --config javac

                    [root@nodo1 ~]# env

                    HOSTNAME=nodo1.localdomain

                    SELINUX_ROLE_REQUESTED=

                    TERM=xterm

                    SHELL=/bin/bash

                    HISTSIZE=1000

                    SSH_CLIENT=192.168.46.1 49862 22

                    SELINUX_USE_CURRENT_RANGE=

                    QTDIR=/usr/lib64/qt-3.3

                    QTINC=/usr/lib64/qt-3.3/include

                    SSH_TTY=/dev/pts/4

                    USER=root

                    LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:

                    MAIL=/var/spool/mail/root

                    PATH=/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/u01/app/12.1.0/grid/OPatch

                    PWD=/root

                    LANG=en_US.UTF-8

                    SELINUX_LEVEL_REQUESTED=

                    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass

                    HISTCONTROL=ignoredups

                    SHLVL=1

                    HOME=/root

                    GRID_HOME=/u01/app/12.1.0/grid

                    LOGNAME=root

                    QTLIB=/usr/lib64/qt-3.3/lib

                    CVS_RSH=ssh

                    SSH_CONNECTION=192.168.46.1 49862 192.168.46.20 22

                    LESSOPEN=||/usr/bin/lesspipe.sh %s

                    DISPLAY=localhost:13.0

                    G_BROKEN_FILENAMES=1

                    _=/bin/env

                    [root@nodo1 ~]# opatchauto apply /instaladores/GI/parches/24917825 -analyze -oh $GRID_HOME

                     

                    OPatchauto session is initiated at Mon Feb 27 10:35:15 2017

                    OPATCHAUTO-72049: Script execution failed.

                    OPATCHAUTO-72049: Script execution failed due to

                    Patch version not found

                    .

                    OPATCHAUTO-72049: Please correct the environment and rerun opatchauto.

                     

                    OPatchauto session completed at Mon Feb 27 10:35:17 2017

                    Time taken to complete the session 0 minute, 2 seconds

                     

                    opatchauto bootstrapping failed with error code 1.

                    • 24. Re: opatchauto apply "failed" (Oracle Grid Infrastructure Patch Set Update 12.1.0.2.170117)
                      Alexis Manuel Perez Esculpi

                      [root@nodo1 ~]# oraenv

                      ORACLE_SID = [root] ? +ASM1

                      The Oracle base has been set to /u01/app/grid

                      [root@nodo1 ~]# export GRID_HOME=/u01/app/12.1.0/grid

                      [root@nodo1 ~]# export PATH=$PATH:$GRID_HOME/OPatch

                      [root@nodo1 ~]# opatchauto apply /instaladores/GI/parches/24917825 -analyze -oh $GRID_HOME

                       

                      OPatchauto session is initiated at Thu Mar  2 13:56:46 2017

                      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 Thu Mar  2 13:56:47 2017

                      Time taken to complete the session 0 minute, 1 second

                       

                      opatchauto bootstrapping failed with error code 1.

                      • 25. Re: opatchauto apply "failed" (Oracle Grid Infrastructure Patch Set Update 12.1.0.2.170117)
                        Alexis Manuel Perez Esculpi

                        [root@nodo1 parches]# pwd

                        /instaladores/GI/parches

                         

                        [root@nodo1 parches]# $GRID_HOME/OPatch/opatchauto apply -jre /usr/lib/jvm/ -analyze -oh /u01/app/12.1.0/grid

                        warning: /usr/lib/jvm will not be used but the jre from /u01/app/12.1.0/grid/OPatch/jre will be used.

                         

                        OPatchauto session is initiated at Thu Mar  2 14:36:15 2017

                        OPATCHAUTO-72049: Script execution failed.

                        OPATCHAUTO-72049: Script execution failed due to

                        Patch version not found

                        .

                        OPATCHAUTO-72049: Please correct the environment and rerun opatchauto.

                         

                        OPatchauto session completed at Thu Mar  2 14:36:42 2017

                        Time taken to complete the session 0 minute, 28 seconds

                         

                        opatchauto bootstrapping failed with error code 1.

                        • 26. Re: opatchauto apply "failed" (Oracle Grid Infrastructure Patch Set Update 12.1.0.2.170117)
                          Alexis Manuel Perez Esculpi

                          [root@nodo1 parches]# opatchauto apply /instaladores/GI/parches/24917825 -analyze -oh $GRID_HOME

                           

                          OPatchauto session is initiated at Thu Mar  2 14:38:26 2017

                          OPATCHAUTO-72049: Script execution failed.

                          OPATCHAUTO-72049: Script execution failed due to

                          Patch version not found

                          .

                          OPATCHAUTO-72049: Please correct the environment and rerun opatchauto.

                           

                          OPatchauto session completed at Thu Mar  2 14:38:28 2017

                          Time taken to complete the session 0 minute, 3 seconds

                           

                          opatchauto bootstrapping failed with error code 1.

                          [root@nodo1 parches]# opatchauto apply /instaladores/GI/parches/24917825 -analyze

                           

                          OPatchauto session is initiated at Thu Mar  2 14:38:37 2017

                          OPATCHAUTO-72049: Script execution failed.

                          OPATCHAUTO-72049: Script execution failed due to

                          Patch version not found

                          .

                          OPATCHAUTO-72049: Please correct the environment and rerun opatchauto.

                           

                          OPatchauto session completed at Thu Mar  2 14:38:38 2017

                          Time taken to complete the session 0 minute, 2 seconds

                           

                          opatchauto bootstrapping failed with error code 1.

                          [root@nodo1 parches]#

                          1 2 Previous Next