日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

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

發布時間:2024/8/26 编程问答 42 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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

?

待刪除完成后在執行,就不會報錯了。

?

參考:

http://www.cnblogs.com/abenz/archive/2010/06/08/1754328.html

?

?

?

?

總結

以上是生活随笔為你收集整理的oracle 11gR2 RAC root.sh 错误 ORA-15072 ORA-15018的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。