加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

11gR2 Grid infrastructure fails to install

发布时间:2020-12-12 16:13:50 所属栏目:百科 来源:网络整理
导读:报错如下: 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 w

报错如下:

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.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读