安装GI报错 CRS-4124 CRS-4000

在执行以下脚本时,11.0.2.1版本的GI有一个BUG会报错(11.2.0.3版本不存在这个问题)

[root@localhost ~]#/u01/app/grid/11.2.0/perl/bin/perl -I/u01/app/grid/11.2.0/perl/lib-I/u01/app/grid/11.2.0/crs/install /u01/app/grid/11.2.0/crs/install/roothas.pl

2015-10-22 00:01:06: Checking for superuser privileges
2015-10-22 00:01:06: User has super userprivileges
2015-10-22 00:01:06: Parsing the hostname
Using configuration parameter file: /u01/app/grid/11.2.0/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'grid',privgrp 'oinstall'..
Operation successful.
CRS-4664: Node localhost successfullypinned.
Adding daemon toinittab
CRS-4124: Oracle HighAvailability Services startup failed. //报错
CRS-4000: Command Start failed, orcompleted with errors.
ohasd failed to start: Inappropriateioctl for device
ohasd failed to start: Inappropriateioctl for device at /u01/app/11.2.0/grid/crs/install/roothas.pl line 296.

解决方案:(重新配置crs)
首先回退之前的操作
[root@localhost ~]# /u01/app/grid/11.2.0/crs/install/roothas.pl  -deconfig  -force -verbose

重新执行脚本
[root@localhost ~]#/u01/app/grid/11.2.0/root.sh

[root@localhost ~]#/u01/app/grid/11.2.0/perl/bin/perl -I/u01/app/grid/11.2.0/perl/lib-I/u01/app/grid/11.2.0/crs/install /u01/app/grid/11.2.0/crs/install/roothas.pl

在上面一个脚本执行到Adding daemon to inittab 这一步骤时,新开一个窗口 执行如下脚本,直到卡住不动,再回去发现就成功装好了
[root@localhost ~]# /bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值