oracle 11gR2 RAC root.sh 错误 ORA-15072 ORA-15018

转载 2013年12月03日 16:51:02

oracle 11gR2 RAC root.sh 错误 ORA-15072 ORA-15018


       Oracle  11gR2 RAC 安装Clusterware 结束, 在第二个节点执行root.sh脚本的是报如下错误:

 

DiskGroup DATA1 creation failed with the following message:
ORA-15018: diskgroup cannot be created
ORA-15072: command requires at least 1 regular failure groups, discovered only 0

 

Oracle 的官网搜了一下, 相关解释如下

 

Applies to:

Oracle Server - Enterprise Edition - Version: 11.2.0.1 and later   [Release: 11.2 and later ]
Information in this document applies to any platform.

Symptoms


While installing Oracle Grid Infrastructure with ASM, root.sh ran successfully in first node, but fails on the second node.

Error example

1. root.sh failed on second node with following errors
-------------------------------------------------------
DiskGroup DATA1 creation failed with the following message:
ORA-15018: diskgroup cannot be created
ORA-15072: command requires at least 1 regular failure groups, discovered only 0



Configuration of ASM failed, see logs for details

2. rootcrs_nodename.log
-----------------------
2010-02-03 13:40:43: Configuring ASM via ASMCA
2010-02-03 13:40:43: Executing as oracle: /u01/app/1120/grid/bin/asmca -silent -diskGroupName DATA1 -diskList ORCL:DATA1 -redundancy EXTERNAL -configureLocalASM
2010-02-03 13:40:43: Running as user oracle: /u01/app/1120/grid/bin/asmca -silent -diskGroupName DATA1 -diskList ORCL:DATA1 -redundancy EXTERNAL -configureLocalASM
2010-02-03 13:40:43: Invoking "/u01/app/1120/grid/bin/asmca -silent -diskGroupName DATA1 -diskList ORCL:DATA1 -redundancy EXTERNAL -configureLocalASM" as user "oracle"
2010-02-03 13:40:51: Configuration of ASM failed, see logs for details

3. On the 2nd node
/etc/oratab files shows +ASM1, rather than +ASM2

4. The following commands on the 2nd node show the ASM disk information correctly
/etc/init.d/oracleasm listdisks
/etc/init.d/oracleasm scandisks
ls -ltr /dev/oracleasm/disks

Cause


After configuring multipath disks on Linux x86-64, proper parameters have not been configured in /etc/sysconfig/oracleasm

 

 

Solution

 

On all nodes,
1. Modify the /etc/sysconfig/oracleasm with:
       ORACLEASM_SCANORDER="dm"
       ORACLEASM_SCANEXCLUDE="sd"
2. restart the asmlib by :
       # /etc/init.d/oracleasm restart
3. Run root.sh on the 2nd node

 

 

在这里要注意的事, 在运行root.sh 脚本的时候,会报如下错误:

 

Using configuration parameter file: /oracle/grid/crs/install/crsconfig_params
CRS is already configured on this node for crshome=0
Cannot configure two CRS instances on the same cluster.
Please deconfigure before proceeding with the configuration of new home.

 

因为之前已经运行过了。 我们需要把之前注册的信息 删除之后,在运行root.sh 脚本。 执行如下命令,删除节点注册信息:

       # /oracle/grid/crs/install/roothas.pl -delete -force -verbose

 

待删除完成后在执行,就不会报错了。

相关文章推荐

oracle 11gR2 RAC root.sh 错误 ORA-15072 ORA-15018

Oracle  11gR2 RAC 安装Clusterware 结束, 在第二个节点执行root.sh脚本的是报如下错误:   DiskGroup DATA1 creation failed wi...

oracle 11gR2 RAC root.sh 错误 ORA-15072 ORA-15018

Oracle  11gR2 RAC 安装Clusterware 结束, 在第二个节点执行root.sh脚本的是报如下错误:   DiskGroup DATA1 creation failed wi...

Configure Oracle 11gR2 RAC 一节点执行root.sh脚本报错

在搭建11gR2 RAC过程中,在db01节点执行root.sh脚本成功,却在db02节点执行root.sh脚本未成功,见下文红色部分:  [root@db02 app]# /u01/app/ora...

Oracle 11gR2 RAC ORA-00845 MEMORY_TARGET not supported on this system 解决方法

公司刚上线一套Oracle 11gR2 的RAC。 将MEMORY_TARGET内存设置为12G后,启动的时候报了错误:        ORA-00845: MEMORY_TARGET not su...

Oracle 11gR2 RAC 数据库不能连接(ORA-12537: TNS:connection closed)的解决

Oracle 11gR2 RAC 数据库不能连接(ORA-12537: TNS:connection closed)的解决   [oracle@rac01 ~]$ sqlplus /nolog ...
  • gyming
  • gyming
  • 2012年08月29日 21:29
  • 9614

ORA-00845 Oracle 11gR2MEMORY_TARGET not supported on this system

官方的解释: ORA-00845: MEMORY_TARGET not supported on this system Cause: The MEMORY_TARGET parameter ...

11gR2 RAC RMAN备份问题------ORA-00245控制文件autobackup错误

Symptoms 客户RMAN备份报错,错误如下
  • li70803
  • li70803
  • 2014年06月24日 14:36
  • 1490

Oracle Study之--AMD CPU安装Oracle 11gR2 RAC错误

Oracle Study之--AMD CPU安装Oracle 11gR2错误 系统环境:     操作系统: RedHat  EL55     Oracle :     Oracle 11gR2 Gr...
  • lqx0405
  • lqx0405
  • 2015年05月27日 19:01
  • 1010

Oracle10gR2 RAC 下 ORA-12545 错误的处理方法

 一、问题描述 1.操作系统信息 $ uname -a Linux racdb1 2.6.18-53.el5xen #1 SMP Wed Oct 10 16:48:44 EDT 200...

oracle 11gR2 ORA-31626: job does not exist 和ORA-31687: error creating worker process with worker id 1 解决方法

  Oracle 11gR2 imdp 报错如下:  Import: Release 11.2.0.1.0 - Production on Mon May 3 16:25:17 2010Copyrig...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:oracle 11gR2 RAC root.sh 错误 ORA-15072 ORA-15018
举报原因:
原因补充:

(最多只允许输入30个字)