红旗linux3安装11gR2 RAC 执行root.sh报错

应客户要求,要在红旗Linux3上安装11gR2,安装GRID最后执行root.sh脚本时,报错

##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   0774f0acc1b74f80bfc51508e60eaba3 (/dev/raw/raw1) [OCR]
Located 1 voting disk(s).
CRS-2672: Attempting to start 'ora.asm' on 'node1'
CRS-2676: Start of 'ora.asm' on 'node1' succeeded
CRS-2672: Attempting to start 'ora.OCR.dg' on 'node1'
CRS-2676: Start of 'ora.OCR.dg' on 'node1' succeeded
CRS-2672: Attempting to start 'ora.registry.acfs' on 'node1'
CRS-5016: Process "/u01/app/11.2.0/grid/bin/acfsregistrymount" spawned by agent "/u01/app/11.2.0/grid/bin/orarootagent.bin" for action "start" failed: details at "(:CLSN00010:)" in "/u01/app/11.2.0/grid/log/node1/agent/crsd/orarootagent_root/orarootagent_root.log"
CRS-2674: Start of 'ora.registry.acfs' on 'node1' failed
CRS-4000: Command Start failed, or completed with error s.
FirstNode configuration failed at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 9196.
/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed

网上找到的解决方法(参照:http://blog.csdn.net/guduchangjian/article/details/12648865

在每个节点上以root用户执行命令:

1、cp -a /oracle/11.2.0/grid/install/usm/EL5/x86_64/2.6.18-8/2.6.18-8.el5-x86_64/  /oracle/11.2.0/grid/install/usm/EL5/x86_64/2.6.18-8/2.6.18-8.AXS3-x86_64/
2、vi /oracle/11.2.0/grid/lib/osds_acfsroot.pm
增加红色字体部分:
# either build additional drivers or massage the variation here. In either
# case, it's an internal error that should have been caught before we got
# here and so we just bail. We don't want to fail the entire oracle install
# and so return USM_NOT_SUPPORTED so that OUI can complete sans USM.
 if (!(($minor eq "32-100") || ($minor eq "32-71") ||
     ($variation eq 'el5') || ($variation eq 'AXS3') || ($variation eq 'el5PAE') ||
     ($variation eq 'el5xen')))
{
      lib_error_print(9384, "Invalid OS kernel variation '%s'.", $variation);
      lib_error_print(9135, "%s installation aborted.", $COMMAND);
      exit USM_NOT_SUPPORTED;
}

当然做以上操作,先删除root.sh脚本的配置,重新执行

除最后删除配置信息的节点外的节点执行下面这条:

/oracle/11.2.0/grid/crs/install/roothas.pl -deconfig -force –verbose

最后一个删除配置信息的节点执行下面这条,最后一个参数不同:

/oracle/11.2.0/grid/crs/install/rootcrs.pl -verbose -deconfig -force -lastnode

如果在只执行了一个节点的时候发现错误直接执行第二句就行了。


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值