您的位置:首页 > 大数据 > 人工智能

11gR2 Grid infrastructure fails to install

2016-07-26 16:41 483 查看
报错如下:

  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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  oracle dba 数据库 软件 asm