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.
After some goggling, I found the post here had the same issue. The root cause is because the Oracle Grid infrastructure 18.104.22.168 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 22.214.171.124. Note: 126.96.36.199 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: $!");
# Oracle OHASD startup
start on runlevel 
stop on runlevel [!35]
exec /etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null
To roll back the root.sh
$GRID_HOME/crs/install/roothas.pl -deconfig -force -verbose
- Doc ID 851598.1
- ID 1441282.1