13 Replies Latest reply: Jul 25, 2013 6:59 AM by Michael dbi RSS

    Installation 11GR2 grid in rhel5

    Vikash Jain (DBA )

      Hi,

       

      I have RHEL 5 machine and i want to install oracle 11gR2 grid and database on this .

       

      [root@rhel5@olamdomain ~]# uname -a

      Linux rhel5@xxxdomain.com 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:43 EDT 2010 i686 i686 i386 GNU/Linux

       

      while installing oracle Grid i am getting below error

       

      configure oracle grid infrastructure for standalone server ------> Failed

      Automatic Storage Management Configuration Assistant ------> Failed


      Kindly help me where is the wrong ?

       

      Thanks & Regards,

      Vikash Jain

        • 1. Re: Installation 11GR2 grid in rhel5
          Srini Chavali-Oracle

          Pl post the error codes and messages from the install log files - the names and locations are documented in the Install Guide for your database/OS version

           

          HTH
          Srini

          • 2. Re: Installation 11GR2 grid in rhel5
            Vikash Jain (DBA )

            Hi Srini,

             

                      Find the installation log file contents below...

            Root.sh File Output:

             

             

            [root@rhel5@olamdomain grid]# ./root.sh

            Running Oracle 11g root.sh script...

             

            The following environment variables are set as:

                ORACLE_OWNER= oracle

                ORACLE_HOME=  /u01/app/oracle/product/11.2.0/grid

             

            Enter the full pathname of the local bin directory: [/usr/local/bin]: /usr/local/bin

            The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n)

            [n]: y

               Copying dbhome to /usr/local/bin ...

            The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)

            [n]: y

               Copying oraenv to /usr/local/bin ...

            The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)

            [n]: y

               Copying coraenv to /usr/local/bin ...

             

            Entries will be added to the /etc/oratab file as needed by

            Database Configuration Assistant when a database is created

            Finished running generic part of root.sh script.

            Now product-specific root actions will be performed.

            2013-07-19 04:35:21: Checking for super user privileges

            2013-07-19 04:35:21: User has super user privileges

            2013-07-19 04:35:21: Parsing the host name

            Using configuration parameter file: /u01/app/oracle/product/11.2.0/grid/crs/install/crsconfig_params

            Creating trace directory

            Can't create : No such file or directory at /u01/app/oracle/product/11.2.0/grid/crs/install/crsconfig_lib.pm line 5101.



            oracle.assistants.asm_2013-07-20_04-35-56-AM.txt

             

            INFO: oracle.assistants.asm:About to execute plug-in Automatic Storage Management Configuration Assistant

            INFO: oracle.assistants.asm:The plug-in Automatic Storage Management Configuration Assistant is running

            INFO: oracle.assistants.asm:Internal PlugIn Class: oracle.install.config.crs.ASMCAInternalPlugIn

            INFO: oracle.assistants.asm:Classpath = /u01/app/oracle/product/11.2.0/grid/install/jlib/instcrs.jar:/u01/app/oracle/product/11.2.0/grid/install/jlib/instcommon.jar:/u01/app/oracle/product/11.2.0/grid/install/jlib/installcommons_1.0.0b.jar

            WARNING: oracle.assistants.asm:Class oracle.install.config.crs.ASMCAInternalPlugIn was loaded by a parent class loader, provided classpath (/u01/app/oracle/product/11.2.0/grid/install/jlib/instcrs.jar:/u01/app/oracle/product/11.2.0/grid/install/jlib/instcommon.jar:/u01/app/oracle/product/11.2.0/grid/install/jlib/installcommons_1.0.0b.jar) will not be available from this class

            INFO: Executing ASMCA

            INFO: Command /u01/app/oracle/product/11.2.0/grid/bin/asmca -silent -oui_internal -configureASM -diskGroupName DATA -diskList ORCL:ASM1 -redundancy EXTERNAL

            INFO: ... GenericInternalPlugIn.handleProcess() entered.

            INFO: ... GenericInternalPlugIn: getting configAssistantParmas.

            INFO: ... GenericInternalPlugIn: checking secretArguments.

            INFO: ... GenericInternalPlugIn: starting read loop.

            INFO: Read:

            WARNING: Skipping line:

            INFO: Read: Error while detecting Oracle Grid Infrastructure. ASMCA needs Oracle Grid Infrastructure to configure ASM.

            WARNING: Skipping line: Error while detecting Oracle Grid Infrastructure. ASMCA needs Oracle Grid Infrastructure to configure ASM.

            INFO: Read:

            WARNING: Skipping line:

             

            installActions2013-07-20_03-46-09AM

             

            The Runconfig command constructed is /u01/app/oracle/product/11.2.0/grid/oui/bin/runConfig.sh ORACLE_HOME=/u01/app/oracle/product/11.2.0/grid MODE=perform ACTION=configure RERUN=true $*

            INFO: Since the option is to overwrite the existing /u01/app/oracle/product/11.2.0/grid/cfgtoollogs/configToolAllCommands file, backing it up

            INFO: The backed up file name is /u01/app/oracle/product/11.2.0/grid/cfgtoollogs/configToolAllCommands.bak.5

            INFO: Entering ConfigClient.executeSelectedToolsInAggregate method

            INFO: ConfigClient.executeSelectedToolsInAggregate oAggregate=oracle.crs:oracle.crs:11.2.0.1.0:common

            INFO: Entering ConfigClient.assignAction method

            INFO: ConfigClient.assignAction actionref=[Loracle.sysman.emCfg.common.IActionReference;@bb8ae8

            INFO: ConfigClient.assignAction action is of type :configuration

            INFO: Exiting ConfigClient.assignAction method

            INFO: ConfigClient.executeSelectedToolsInAggregate action assigned

            INFO: Started Plugin named: Automatic Storage Management Configuration Assistant

            INFO: Found associated job

            INFO: Starting 'Automatic Storage Management Configuration Assistant'

            INFO: Starting 'Automatic Storage Management Configuration Assistant'

            INFO: Executing ASMCA

            INFO: Command /u01/app/oracle/product/11.2.0/grid/bin/asmca -silent -oui_internal -configureASM -diskGroupName DATA -diskList ORCL:ASM1 -redundancy EXTERNAL

            INFO: ... GenericInternalPlugIn.handleProcess() entered.

            INFO: ... GenericInternalPlugIn: getting configAssistantParmas.

            INFO: ... GenericInternalPlugIn: checking secretArguments.

            INFO: ... GenericInternalPlugIn: starting read loop.

            INFO: Read:

            WARNING: Skipping line:

            INFO: Read: Error while detecting Oracle Grid Infrastructure. ASMCA needs Oracle Grid Infrastructure to configure ASM.

            WARNING: Skipping line: Error while detecting Oracle Grid Infrastructure. ASMCA needs Oracle Grid Infrastructure to configure ASM.

            INFO: Read:

            WARNING: Skipping line:

            INFO: Completed Plugin named: Automatic Storage Management Configuration Assistant

             

            oraInstall2013-07-20_03-46-09AM.err

             

            java.lang.NullPointerException

                at oracle.sysman.oii.oiin.OiinNetOps.addNICInfo(OiinNetOps.java:144)

                at oracle.sysman.oii.oiin.OiinNetOps.computeNICList(OiinNetOps.java:109)

                at oracle.sysman.oii.oiin.OiinNetOps.<init>(OiinNetOps.java:76)

                at oracle.sysman.oii.oiin.OiinNetOps.getNetOps(OiinNetOps.java:90)

                at oracle.sysman.oii.oiix.OiixNetOps.getFullHostName(OiixNetOps.java:49)

                at oracle.install.library.util.MachineInfo.getFullHostName(MachineInfo.java:109)

                at oracle.install.ivw.crs.action.PrereqAction.getProductVerificationTasks(PrereqAction.java:117)

                at oracle.install.commons.base.interview.common.action.AbstractPrereqAction.execute(AbstractPrereqAction.java:86)

                at oracle.install.commons.flow.AbstractFlowExecutor.startAction(AbstractFlowExecutor.java:351)

                at oracle.install.commons.flow.AbstractFlowExecutor.enterVertex(AbstractFlowExecutor.java:564)

                at oracle.install.commons.flow.AbstractFlowExecutor.transition(AbstractFlowExecutor.java:326)

                at oracle.install.commons.flow.AbstractFlowExecutor.nextState(AbstractFlowExecutor.java:261)

                at oracle.install.commons.flow.AbstractFlowExecutor.nextViewState(AbstractFlowExecutor.java:220)

                at oracle.install.commons.flow.DefaultFlowNavigator.goForward(DefaultFlowNavigator.java:58)

                at oracle.install.commons.flow.jewt.FlowWizard$1.run(FlowWizard.java:72)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

                at java.lang.Thread.run(Thread.java:595)

             

             

            Please check and if want any other log files , please tell me ...

             

            Thanks & Regards,

            Vikash Jain

            • 3. Re: Installation 11GR2 grid in rhel5
              Michael dbi

              Hi,

               

              Have you followed all pre requisites for installing Grid Infrastructure on Linux ?

               

              Michael S

              • 4. Re: Installation 11GR2 grid in rhel5
                Vikash Jain (DBA )

                Hi Michael,

                 

                           I searched lots of documents over internet for pre installation things and followed but i could not find single document for this , Can you please send me the document or send me the link where i can get the proper document for installing oracle 11gR2 Grid on RHEL5 .

                 

                Thanks & Regards,

                Vikash Jain

                • 5. Re: Installation 11GR2 grid in rhel5
                  Javier Francisco Ruiz

                  It is always good to start with Oracle documentation.

                   

                  Below is a page on Oracle site have a look.

                   

                  http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/install/gridinstss/gridinstss.htm

                  • 6. Re: Installation 11GR2 grid in rhel5
                    Michael dbi

                    I would say that as a first step, you have to install the oracle-validated package.

                     

                    - Configure the yum repository (Oracle Public Yum Server)

                    - Run the following command as root:

                     

                    # yum install oracle-validated
                    

                     

                    Then, try to run the cluvfy tool. You can find the script in the binaries zip file. Try for example:

                     

                     

                    <path_where_you've_extracted_binaries>/runcluvfy.sh stage -pre crsinst -n <node1>,<node2>,<node3> -r 11gR2 -osdba dba -orainv oinstall -verbose -fixup -fixupdir /tmp > output_cluvfy.log

                     


                    - <node1>... is the list of your nodes. Replace by your current hostnames.

                    - -osdba and -orainv options correspond to the groups of the owner of Grid Infrastructure. The user oracle is member of dba and oinstall if you followed the best practices. If the groups differ, change values for both -osdba and -orainv options. However, oracle validated creates user oracle with those groups membership. To display oracle groups:


                     

                    # id oracle
                    • 7. Re: Installation 11GR2 grid in rhel5
                      Vikash Jain (DBA )

                      Hi,

                       

                        I followed the same but i am getting same error , I am not sure where i am doing wrong .

                       

                      Below are the installation logs.

                       

                      [oracle@rhel5@olamdomain ~]$ tail -50 /u01/app/oraInventory/logs/installActions2013-07-25_03-10-53AM.log

                      INFO: Since the option is to overwrite the existing /u01/app/oracle/product/11.2.0/grid/cfgtoollogs/configToolAllCommands file, backing it up

                      INFO: The backed up file name is /u01/app/oracle/product/11.2.0/grid/cfgtoollogs/configToolAllCommands.bak.1

                      INFO: Entering ConfigClient.executeSelectedToolsInAggregate method

                      INFO: ConfigClient.executeSelectedToolsInAggregate oAggregate=oracle.crs:oracle.crs:11.2.0.1.0:common

                      INFO: Entering ConfigClient.assignAction method

                      INFO: ConfigClient.assignAction actionref=[Loracle.sysman.emCfg.common.IActionReference;@5009ea

                      INFO: ConfigClient.assignAction action is of type :configuration

                      INFO: Exiting ConfigClient.assignAction method

                      INFO: ConfigClient.executeSelectedToolsInAggregate action assigned

                      INFO: Started Plugin named: Oracle Net Configuration Assistant

                      INFO: Found associated job

                      INFO: Starting 'Oracle Net Configuration Assistant'

                      INFO: Starting 'Oracle Net Configuration Assistant'

                      INFO: Parsing command line arguments:

                      INFO:     Parameter "orahome" = /u01/app/oracle/product/11.2.0/grid

                      INFO:     Parameter "orahnam" = Ora11g_gridinfrahome1

                      INFO:     Parameter "instype" = typical

                      INFO:     Parameter "inscomp" = client,oraclenet,javavm,server

                      INFO:     Parameter "insprtcl" = tcp

                      INFO:     Parameter "cfg" = local

                      INFO:     Parameter "authadp" = NO_VALUE

                      INFO:     Parameter "responsefile" = /u01/app/oracle/product/11.2.0/grid/network/install/netca_typ.rsp

                      INFO:     Parameter "silent" = true

                      INFO: Done parsing command line arguments.

                      INFO: Oracle Net Services Configuration:

                      INFO: Profile configuration complete.

                      INFO: Listener "LISTENER" already exists.

                      INFO: Oracle Net Services configuration successful. The exit code is 0

                      INFO:

                      WARNING:

                      INFO: Completed Plugin named: Oracle Net Configuration Assistant

                      INFO:

                      INFO:

                      INFO: Started Plugin named: Automatic Storage Management Configuration Assistant

                      INFO: Found associated job

                      INFO: Starting 'Automatic Storage Management Configuration Assistant'

                      INFO: Starting 'Automatic Storage Management Configuration Assistant'

                      INFO: Executing ASMCA

                      INFO: Command /u01/app/oracle/product/11.2.0/grid/bin/asmca -silent -oui_internal -configureASM -diskGroupName DATA -diskList ORCL:ASM1 -redundancy EXTERNAL

                      INFO: ... GenericInternalPlugIn.handleProcess() entered.

                      INFO: ... GenericInternalPlugIn: getting configAssistantParmas.

                      INFO: ... GenericInternalPlugIn: checking secretArguments.

                      INFO: ... GenericInternalPlugIn: starting read loop.

                      INFO: Read:

                      WARNING: Skipping line:

                      INFO: Read: Error while detecting Oracle Grid Infrastructure. ASMCA needs Oracle Grid Infrastructure to configure ASM.

                      WARNING: Skipping line: Error while detecting Oracle Grid Infrastructure. ASMCA needs Oracle Grid Infrastructure to configure ASM.

                      INFO: Read:

                      WARNING: Skipping line:

                      INFO: Completed Plugin named: Automatic Storage Management Configuration Assistant

                       

                      Please help me to resolve this issue. For configuring Oracleasm and Grid installation I used oracle user and oinstall Group.

                       

                      Thanks & Regards,

                      Vikash Jain

                      • 8. Re: Installation 11GR2 grid in rhel5
                        Michael dbi

                        Did you try cluvfy as I said ?

                        • 9. Re: Installation 11GR2 grid in rhel5
                          Vikash Jain (DBA )

                          Hi Michael,

                           

                          While running i am getting below error .

                           

                          [root@rhel5@xxxdomain ~]# yum install oracle-validated

                          Loaded plugins: rhnplugin, security

                          This system is not registered with RHN.

                          RHN support will be disabled.

                          Setting up Install Process

                          No package oracle-validated available.

                          Nothing to do

                          • 10. Re: Installation 11GR2 grid in rhel5
                            Michael dbi

                            Have you downloaded the repository file in /etc/yum.repos.d? And have you enabled the "latest" repository ?

                             

                            [el5_latest]
                            name=Oracle Linux $releasever Latest ($basearch)
                            baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL5/latest/$basearch/
                            gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
                            gpgcheck=1
                            enabled=1
                            
                            

                             

                            May be is it not working because you use RHEL5 and not Oracle Linux5.

                            Try to download the package manually:

                             

                            http://flexbox.sourceforge.net/centos/5/x86_64/oracle-validated-1.1.0-8.el5.x86_64.rpm

                            • 11. Re: Installation 11GR2 grid in rhel5
                              Mahir M. Quluzade

                              Hi Vikash!

                               

                              I think, you have problem with your hostname.

                              Are you using @ symbol in hostname (rhel5@xxxdomain.com) ? 

                              Can you change hostname and try installation again ?

                               

                              Please change hostname in :

                              /etc/sysconfig/network

                              /etc/hosts

                              and

                              /home/oracle/.bash_profile   - if you setting ORACLE_HOSTNAME enviroment

                               

                              Regards

                              Mahir M. Quluzade

                              • 12. Re: Installation 11GR2 grid in rhel5
                                Vikash Jain (DBA )

                                Hi Mahir ,

                                 

                                Many Many Thanks , After changing host name to rhel5.xxxdomain.com .  i was able to install Grid .My problem got resolved .

                                 

                                Thanks & Regards,

                                Vikash Jain

                                • 13. Re: Installation 11GR2 grid in rhel5
                                  Michael dbi

                                  The @ is not due to the $PS1 variable ?