11gR2 Grid infrastructure fails to install

前端之家收集整理的这篇文章主要介绍了11gR2 Grid infrastructure fails to install前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

报错如下:

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

猜你在找的Oracle相关文章