Oracle 11gR2 RAC 執行root.sh時遭遇 CRS-0184/PRCR-1070
在安裝Oracle 11g RAC時,在第一個節點執行root.sh時遭遇了CRS-0184/PRCR-1070的錯誤,錯誤如下面的描述。
1、故障現象
執行root時,出現了下面的錯誤,僅列出錯誤部分
CRS-0184: Cannot communicate with the CRS daemon. #這個是主要的錯誤提示,不能同crs通訊
PRCR-1070 : Failed to check if resource ora.asm is registered
Cannot communicate with crsd
add asm ... failed
clsr_start_dg return error at loc: 70 rc=0
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4000: Command Create failed, or completed with errors.
create diskgroup DATA ... failed
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4000: Command Add failed, or completed with errors.
Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl add type ora.registry.acfs.type -basetype
ora.local_resource.type -file /u01/app/11.2.0/grid/crs/template/registry.acfs.type
add ora.registry.acfs.type ... failed
PRCR-1070 : Failed to check if resource ora.net1.network is registered
Cannot communicate with crsd
add scan=scan-cluster.orasrv.com ... failed
Preparing packages for installation...
cvuqdisk-1.0.7-1
Configure Oracle Grid Infrastructure for a Cluster ... failed
Updating inventory properties for clusterware
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 3498 MB Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'UpdateNodeList' was successful.
#使用crsctl check時報crs-4535的錯誤
[root@linux1 bin]# ./crsctl check cluster
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
2、分析日誌
#檢視grid的crsd部分的日誌,注意該日誌位於$CRS_HOME/log/rac1/crsd
[root@linux1 crsd]# tail -30 crsdOUT.log
2014-05-10 12:50:22
CRSD REBOOT
Unable to resolve address for localhost:2016
ONS runtime exiting
Fatal error: eONS: eonsapi.c: Aug 4 2009 21:09:36
2014-05-10 12:50:22
Changing directory to /u01/app/11.2.0/grid/log/rac1/crsd
2014-05-10 12:50:22
CRSD REBOOT
Unable to resolve address for localhost:2016
ONS runtime exiting
Fatal error: eONS: eonsapi.c: Aug 4 2009 21:09:36
2014-05-10 12:50:24
Changing directory to /u01/app/11.2.0/grid/log/rac1/crsd
2014-05-10 12:50:24
CRSD REBOOT
Unable to resolve address for localhost:2016
ONS runtime exiting
Fatal error: eONS: eonsapi.c: Aug 4 2009 21:09:36
2014-05-10 12:55:28
Changing directory to /u01/app/11.2.0/grid/log/rac1/crsd
2014-05-10 12:55:28
CRSD REBOOT
Unable to resolve address for localhost:2016
ONS runtime exiting
Fatal error: eONS: eonsapi.c: Aug 4 2009 21:09:36
2014-05-10 12:59:22
Changing directory to /u01/app/11.2.0/grid/log/rac1/crsd
2014-05-10 12:59:22
CRSD REBOOT
#上面的日誌提示不能夠解析localhost
#看看grid的主日誌,也就是alert_nodename部分的描述
[root@linux1 linux1]# tail -100 alertrac1.log | more
2014-05-10 13:30:23.550
[crsd(3913)]CRS-1201:CRSD started on node rac1.
2014-05-10 13:30:28.340
[/u01/app/11.2.0/grid/bin/oraagent.bin(3993)]CRS-5823:Could not initialize agent framework. Details at (:CRSAGF00120:) in
/u01/app/11.2.0/grid/log/rac1/agent/crsd/oraagent_grid/oraagent_grid.log.
2014-05-10 13:30:34.932
[ohasd(2748)]CRS-2765:Resource 'ora.crsd' has failed on server 'rac1'.
Meatlink [ID 1230899.1] 有關於該問題的描述,就是需要新增localhost到hosts檔案
3、解決故障
#檢視本地的hosts檔案,下面是更改後的hosts配置檔案
[root@rac1 ~]#cat /etc/hosts | grep 127.0
#127.0.0.1 linux1.orasrv.com linux1 localhost.localdomain localhost #這個是安裝OS時自動生成的
#127.0.0.1 rac1 #這個是安裝rac之前配置的,這樣配置是有問題的,一定要寫localhost
127.0.0.1 rac1 localhost #新增一個新的關於localhost的解析entry
#嘗試啟動crs
[root@rac1 bin]# ./crsctl start res ora.crsd -init
CRS-2672: Attempting to start 'ora.crsd' on 'rac1'
CRS-2676: Start of 'ora.crsd' on 'rac1' succeeded
#crs成功啟動
[root@rac1 bin]# ./crsctl check cluster
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
[root@rac1 bin]# ./crsctl stat res -t -init
------------------------------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS Cluster Resources
------------------------------------------------------------------------------------------------------
ora.asm 1 ONLINE ONLINE rac1 Started
ora.crsd 1 ONLINE ONLINE rac1
ora.cssd 1 ONLINE ONLINE rac1
ora.cssdmonit 1 ONLINE ONLINE rac1
ora.ctssd 1 ONLINE ONLINE rac1 ACTIVE:0
ora.diskmon 1 ONLINE ONLINE rac1
ora.drivers.acfs 1 ONLINE ONLINE rac1
ora.evmd 1 ONLINE ONLINE rac1
ora.gipcd 1 ONLINE ONLINE rac1
ora.gpnpd 1 ONLINE ONLINE rac1
ora.mdnsd 1 ONLINE ONLINE rac1
-----------------------------------------------------------------------------------------------------------------------
pxboracle@live.com
2014.5.11 10:51
share you knowledge with the world.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12798004/viewspace-1158401/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle RAC重新執行root.sh指令碼Oracle指令碼
- oracle install 11gR2 RAC 執行root.sh時出現missing CAP_NUMA_ATTACH 問題Oracle
- oracle 11gR2 rac 執行root.sh建立diskgroup 不成功問題總結Oracle
- oracle 11gR2 rac for aix 第二個節點執行root.sh不成功問題處理OracleAI
- oracle 11gR2 RAC for linux x86_64 grid執行root.sh 失敗問題處理OracleLinux
- Centos 6.4安裝rac,執行root.sh時報錯CentOS
- 10G RAC重新執行root.sh指令碼指令碼
- RHEL 7 安裝oracle rac 11.2.0.4執行root.sh報錯ohasd failed to startOracleAI
- RAC grid 11.2.0.1執行root.sh需執行此命令(啟動crs)
- 【Oracle】11gR2的安裝Grid執行root.sh出現ohasd failed解決方案OracleAI
- oracle10g rac on solaris 10 x86 clusterware_執行root.sh出錯Oracle
- 10g rac安裝crs,執行root.sh報錯
- 安裝rac clusterware如何在root.sh失敗後快速重執行root.sh指令碼指令碼
- oracle rac遭遇ora-12170Oracle
- Oracle 10g RAC CRS-0184 linuxOracle 10gLinux
- 安裝grid時執行root.sh時的提示內容
- oracle 11gR2 RAC root.sh 錯誤 ORA-15072 ORA-15018Oracle
- 安裝RAC 執行root.sh指令碼報錯,解決辦法指令碼
- Oracle RAC 安裝 執行 root.sh時報Failed to upgrade Oracle Cluster Registry configuration問題的解決OracleAI
- linux平臺11gR2 grid安裝到執行root.sh時報錯Linux
- oracle 11gr2 rac 安裝Oracle
- oracle 11gR2 RAC安裝與oracle 10gR2 rac 安裝時的不同點Oracle 10g
- Oracle Enterprise Linux 5.6下安裝Oracle 10g RAC執行root.sh報錯問題解決LinuxOracle 10g
- 11gR2 rac安裝別忘記在hosts裡設定localhost,否則安裝grid執行root.sh不成功localhost
- RAC執行root.sh報libcap.so.1: cannot open shared object fileObject
- 【流雲】Solaris安裝RAC執行root.sh失敗解決一例
- Oracle 11gR2 RAC修改SCAN IPOracle
- 【RAC安裝】 AIX下安裝Oracle 11gR2 RACAIOracle
- 11.2.0.4 RAC grid 執行root.sh 報錯libcap.so.1找不到
- RHEL5單機安裝11gR2 asm執行root.sh報錯:CRS-4124ASM
- Oracle RAC 11gR2開啟歸檔Oracle
- Oracle 11gR2 RAC ORA-00845Oracle
- Oracle 11gR2 RAC修改SCAN IP地址Oracle
- Oracle 11gR2 RAC 常用維護操作Oracle
- 模擬oracle rac節點異常時如何保持ogg正常執行Oracle
- 11gR2啟動ASM例項時遭遇ORA-29701ASM
- 執行sqlplus遭遇Segmentation FaultSQLSegmentation
- oracle 11gR2與10gR2 rac安裝時不同點(z)Oracle