报错如下:
pa peer cert TP
profile reader pa cert TP
profile reader peer cert TP
peer user cert
pa user cert
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: Inappropriate ioctl for device
ohasd Failed to start at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 443.
原因:
Oracle 11g rac不支持RHEL6
解决方案:
1.如果之前root.sh过了,但是没有成功,请先rollback失败操作
$GRID_HOME/crs/install/roothas.pl -deconfig -force -verbose
2.编辑 $GRID_HOME/crs/install/s_crsconfig_lib.pm ( 在 # 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. 创建一个文件 /etc/init/oracle-ohasd.conf
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.
原文链接:https://www.f2er.com/oracle/213422.html