내용 |
crs-4124 oracle high availability services startup failed error
1.If you previously ran root.sh (not successfully), simply roll it back:
# /u01/app/grid/product/11.2.0/grid/crs/install/roothas.pl -deconfig -force -verbose
2.edit $GRID_HOME/crs/install/s_crsconfig_lib.pm ( add the following command before # Start OHASD )
# vi /u01/app/oracle/product/11.2.0/grid/crs/install/s_crsconfig_lib.pm
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
# vi /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.
|