应客户要求,要在红旗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
如果在只执行了一个节点的时候发现错误直接执行第二句就行了。