Tuesday, January 1, 2013

2 CRS-4124: Oracle High Availability Services startup failed

While Install the Oracle Grid infrastructure, I got CRS 4124 error as below:

 

CRS-4124: Oracle High Availability Services startup failed.
CRS-4000: Command Start failed, or completed with errors.
ohasd failed to start: Inappropriate ioctl for device

ohasd failed to start: Inappropriate ioctl for device at /u01/app/oracle/product/11.2.0/grid/crs/install/roothas.pl line 296.

image

After some goggling, I found the post here had the same issue. The root cause is because the Oracle Grid infrastructure 11.2.0.1 does not support REL 6 and its compatible distribution like OEL 6.3.

 

The web page also provide the work around and alternately , we can use the REL 6 compatible version 11.2.0.3.  Note: 11.2.0.3 is only available from Oracle Support ( http://support.oracle.com/)

 

I have tried the work around and it looks ok. The only thing different then the post is the line should be 992.

 

my $UPSTART_OHASD_SERVICE = "oracle-ohasd";
my $INITCTL = "/sbin/initctl";
 
($status, @output) = system_cmd_capture ("$INITCTL start $UPSTART_OHASD_SERVICE");
if (0 != $status)
{
error ("Failed to start $UPSTART_OHASD_SERVICE, error: $!");
return $FAILED;
}

image

/etc/init/oracle-ohasd.conf

# Oracle OHASD startup
 
start on runlevel [35]
stop on runlevel [!35]
respawn
exec /etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null

 

image

 

To roll back the root.sh

$GRID_HOME/crs/install/roothas.pl -deconfig -force -verbose

Reference:

2 comments:

  1. /etc/init/oracle-ohasd.conf i cannot find this file, it doesnot exists

    ReplyDelete
  2. Thanks for sharing this blog..Its really very informative..

    Oracle Training

    ReplyDelete

 

SQL Panda Copyright © 2011 - |- Template created by O Pregador - |- Powered by Blogger Templates