4 Replies Latest reply: Jan 29, 2013 4:55 AM by Sebastian Solbach -Dba Community-Oracle RSS

    OHASD failed during root.sh

    YuvrajsinhChauhan
      peration successful.
      Adding daemon to inittab
      CRS-4124: Oracle High Availability Services startup failed.
      CRS-4000: Command Start failed, or completed with errors.
      ohasd failed to start:
      ohasd failed to start at /u01/app/crs/crs/install/rootcrs.pl line 448.

      I am stuck with above error. OHASD failed to start during execution of Grid root.sh in Second Node.

      My Environment -
      Sun Solaris 5.10 Generic_147440-12 sun4v sparc sun4v
      Oracle ASM

      Below is the short log from Node-1
      -------------------------------------------------------------------------------------------------------------------------------------------------
      CRS-2676: Start of 'ora.ctssd' on 'sub-eliteaaa-db1' succeeded
      CRS-2672: Attempting to start 'ora.asm' on 'sub-eliteaaa-db1'
      CRS-2676: Start of 'ora.asm' on 'sub-eliteaaa-db1' succeeded
      CRS-2672: Attempting to start 'ora.crsd' on 'sub-eliteaaa-db1'
      CRS-2676: Start of 'ora.crsd' on 'sub-eliteaaa-db1' succeeded
      CRS-2672: Attempting to start 'ora.evmd' on 'sub-eliteaaa-db1'
      CRS-2676: Start of 'ora.evmd' on 'sub-eliteaaa-db1' succeeded
      CRS-2672: Attempting to start 'ora.asm' on 'sub-eliteaaa-db1'
      CRS-2676: Start of 'ora.asm' on 'sub-eliteaaa-db1' succeeded
      CRS-2672: Attempting to start 'ora.ORASYS.dg' on 'sub-eliteaaa-db1'
      CRS-2676: Start of 'ora.ORASYS.dg' on 'sub-eliteaaa-db1' succeeded

      sub-eliteaaa-db1 2013/01/28 17:35:59 /u01/app/crs/cdata/sub-eliteaaa-db1/backup_20130128_173559.olr
      Configure Oracle Grid Infrastructure for a Cluster ... succeeded
      Updating inventory properties for clusterware
      Starting Oracle Universal Installer...

      Checking swap space: must be greater than 500 MB. Actual 87199 MB Passed
      The inventory pointer is located at /var/opt/oracle/oraInst.loc
      The inventory is located at /u01/app/oraInventory
      'UpdateNodeList' was successful.
        • 1. Re: OHASD failed during root.sh
          Nadeem M
          Check the ASM alert log and OS log both the nodes.

          Check if Metalink Note 1346332.1 helps you

          Check if there is any issue accessing HAIP (High Availability IP).
          • 2. Re: OHASD failed during root.sh
            YuvrajsinhChauhan
            So far - HAIP is OK
            I will refer metalink DOC.
            • 3. Re: OHASD failed during root.sh
              YuvrajsinhChauhan
              Logs from Node-1 (Successfully executed root.sh)
              ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
              2013-01-28 17:31:23: The file ohasd has been successfully linked to the RC directories
              2013-01-28 17:31:23: Starting ohasd
              2013-01-28 17:31:23: itab entries=
              2013-01-28 17:31:28: Created backup /etc/inittab.no_crs
              2013-01-28 17:31:28: Appending to /etc/inittab.tmp:
              2013-01-28 17:31:28: h1:3:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null

              2013-01-28 17:31:28: Done updating /etc/inittab.tmp
              2013-01-28 17:31:28: Saved /etc/inittab.crs
              2013-01-28 17:31:28: Installed new /etc/inittab
              2013-01-28 17:31:43: ohasd is starting
              2013-01-28 17:31:43: Checking ohasd
              2013-01-28 17:31:43: ohasd started successfully
              2013-01-28 17:31:43: Creating CRS resources and dependencies
              2013-01-28 17:31:43: Configuring HASD
              2013-01-28 17:31:43: Registering type ora.daemon.type
              2013-01-28 17:31:47: Registering type ora.mdns.type
              2013-01-28 17:31:48: Registering type ora.gpnp.type
              2013-01-28 17:31:49: Registering type ora.gipc.type
              2013-01-28 17:31:50: Registering type ora.cssd.type


              Logs from Node-2 (Failed to executed root.sh)
              ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
              2013-01-29 13:12:31: The file ohasd has been successfully linked to the RC directories
              2013-01-29 13:12:31: Starting ohasd
              2013-01-29 13:12:31: itab entries=
              2013-01-29 13:12:36: Created backup /etc/inittab.no_crs
              2013-01-29 13:12:36: Appending to /etc/inittab.tmp:
              2013-01-29 13:12:36: h1:3:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null

              2013-01-29 13:12:36: Done updating /etc/inittab.tmp
              2013-01-29 13:12:36: Saved /etc/inittab.crs
              2013-01-29 13:12:36: Installed new /etc/inittab
              2013-01-29 13:14:36: ohasd failed to start:
              2013-01-29 13:14:36: ###### Begin DIE Stack Trace ######
              2013-01-29 13:14:36: Package File Line Calling
              2013-01-29 13:14:36: --------------- -------------------- ---- ----------
              2013-01-29 13:14:36: 1: main rootcrs.pl 304 crsconfig_lib::dietrap
              2013-01-29 13:14:36: 2: main rootcrs.pl 448 main::__ANON__
              2013-01-29 13:14:36: ####### End DIE Stack Trace #######

              2013-01-29 13:29:15: The configuration parameter file /u01/app/crs/crs/install/crsconfig_params is valid
              2013-01-29 13:29:15: Checking for super user privileges
              2013-01-29 13:29:15: User has super user privileges
              2013-01-29 13:29:15: ### Printing the configuration values from files:
              2013-01-29 13:29:15: /u01/app/crs/crs/install/crsconfig_params
              2013-01-29 13:29:15: /u01/app/crs/crs/install/s_crsconfig_defs
              2013-01-29 13:29:15: ASM_DISCOVERY_STRING=
              2013-01-29 13:29:15: ASM_DISKS=/dev/rdsk/c12t60A980004239454D2D3F427A7075784Fd0s7
              • 4. Re: OHASD failed during root.sh
                Sebastian Solbach -Dba Community-Oracle
                Hi,

                which version do you try to install? 11.2.0.1?
                Are you sure your Solaris OS is exactly the same on both nodes? It looks like there is a difference between the nodes (otherwise it should not have worked on first node).

                There is a known bug, which should be solved in 11.2.0.3, so use this for installation.

                Regards
                Sebastian