While I'm installing 11gR2 Grid for a standalone server I got some errors.And I find out the solution.
Errors:
CRS-4124: Oracle High Availability Services startup failed.
CRS-4000: Command Start failed, or completed with errors.
So, I try to start manually and the same errors.
# crsctl start has
CRS-4124: Oracle High Availability Services startup failed.
CRS-4000: Command Start failed, or completed with errors.
Cause
The root cause is because the Oracle Grid infrastructure 11.2.0.1 does not support REL 6,
Solution:
1.If you previously ran root.sh (not successfully), simply roll it back:
$GRID_HOME/crs/install/roothas.pl -deconfig -force -verbose
2.edit $GRID_HOME/crs/install/s_crsconfig_lib.pm ( add the following command before # Start OHASD )
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;
}
3. Create a file /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
4.run the root.sh again then finish installation.
Hope its helps.