Failed to start the Clusterware. Last 20 lines of the alert log follow:
在Oracle 11gR2 的Grid安裝,在第二個節點執行root.sh的時候,或者在安裝Oracle Restart Database的Grid最後執行root.sh的時候,都有類似如下的報錯:
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'grid', privgrp 'oinstall'..
Operation successful.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4664: Node psdg1 successfully pinned.
Adding daemon to inittab
ohasd failed to start
Failed to start the Clusterware. Last 20 lines of the alert log follow:
2011-04-16 11:57:46.131
[client(8124)]CRS-2101:The OLR was formatted using version 3.
2011-04-16 11:57:47.161
[client(8149)]CRS-1001:The OCR was formatted using version 3.
[client(8195)]CRS-10001:CRS-6021: No msg for has:crs-6021 [l][unlimited]
[client(8196)]CRS-10001:CRS-6021: No msg for has:crs-6021 [n][65536]
ohasd failed to start at /u01/app/11.2.0/grid/crs/install/roothas.pl line 325.
/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/roothas.pl execution failed
我在安裝grid設定節點的時候設定的是如下格式:
公共IP:rhel6 私有IP:rhel6-vip
公共IP:rhel7 私有IP:rhel7-vip
而在節點的/etc/hosts檔案中的配置是:
127.0.0.1 localhost.localdomain localhost
10.168.6.116 rhel6.localdomain rhel6
10.168.6.117 rhel7.localdomain rhel7
10.168.6.120 psdg1.localdomain psdg1
10.168.6.118 rhel6-vip
10.168.6.119 rhel7-vip
10.168.6.121 psdg1-vip
192.168.1.116 rhel6-priv
192.168.1.117 rhel7-priv
192.168.2.11 openfiler1
機器名為:psdg1.localdomain
透過以下修改錯誤得到解決:
127.0.0.1 localhost
10.168.6.116 rhel6
10.168.6.117 rhel7
10.168.6.120 psdg1
10.168.6.118 rhel6-vip
10.168.6.119 rhel7-vip
10.168.6.121 psdg1-vip
192.168.1.116 rhel6-priv
192.168.1.117 rhel7-priv
192.168.2.11 openfiler1
將機器名修改為:psdg1
或者
將/etc/hosts修改為:
127.0.0.1 localhost localhost.localdomain
10.168.6.116 rhel6 rhel6.localdomain
10.168.6.117 rhel7 rhel7.localdomain
10.168.6.120 psdg1 psdg1.localdomain
10.168.6.118 rhel6-vip
10.168.6.119 rhel7-vip
10.168.6.121 psdg1-vip
192.168.1.116 rhel6-priv
192.168.1.117 rhel7-priv
192.168.2.11 openfiler1
機器名可以保持不變:psdg1.localdomain
從上面的變化可以看出,在安裝grid的時候,設定grid包含的節點,如果沒有加localdomain域,那麼在hosts中的配置中,緊跟著IP後面的一定是沒加域的,然後才是加域的,
例如,安裝grid中節點配置為:rhel6
/etc/hosts/中配置一定是:10.168.6.116 rhel6 rhel6.localdomain
如果安裝grid中節點配置為:rhel6.localdomain
/etc/hosts/中的配置為:10.168.6.116 rhel6.localdomain rhel6
在遇到問題不能解決的時候,我們需要回過頭仔細檢查安裝步驟,或許是很小的錯誤就可能導致很奇怪的報錯!!
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23135684/viewspace-692678/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- PMON failed to acquire latch, see PMON dump in alert logAIUI
- MediaRecorder start failed -19 java.lang.RuntimeException: start failedAIJavaException
- 'PMON failed to acquire latch, see PMON dump' in Alert Log-976714.1AIUI
- [CareerCup] 13.1 Print Last K Lines 列印最後K行AST
- Queries to view Alert Log content And Alert LocationView
- CRS-1205:Auto-start failed for the CRS resourceAI
- ALERT.LOG for ASM Shows "WARNING: failed to online diskgroup resource ora.GI.dgASMAI
- Failed to start docker.service: Unit not foundAIDocker
- Start of resource “ora.asm -init” failed -ASMAI
- Failed to start Master instance in admin modeAIAST
- alert log on Oracle11gOracle
- Oracle11g_alert_logOracle
- RMAN - catalog start with命令
- [ERROR] Failed to open logErrorAI
- alert log檔案的變化
- Data guard 中 alert 日誌報錯 "FAL archive failed"HiveAI
- [IOS]解決Failed to start Instruments daemon for ‘iOS’ on iPhoneiOSAIiPhone
- Server Tomcat v7.0 Server at localhost failed to startServerTomcatlocalhostAI
- 處理service named start失敗failed_dnsAIDNS
- [20150505]關於alert.log檔案.txt
- FAILED_LOGIN_ATTEMPTSAI
- 警告日誌檔案alert_.log
- Alert Dialog "Done"按鈕定義.
- Linux : logrotate: ALERT exited abnormally with [1]LinuxlogrotateORM
- [Shell] monitor oracle alert.log file and sendmailOracleAI
- alert_log設定成external table
- Sskgxp_ip: Primary Interface Down In Alert Log
- 熟練使用alert.log日誌
- Server Tomcat v9.0 Server at localhost failed to start.ServerTomcatlocalhostAI
- 【tomcat報錯】A child container failed during startTomcatAI
- CRS-4000: Command Start failed, or completed with errors.AIError
- sqlserver 2008 login failed: error 18456SQLServerAIError
- Manual Log Switching Causing Cannot Allocate New Log in Alert Log_435887.1
- Alert Log中回收站物件操作告警物件
- 8.Monitor oracle alert.log file and sendmailOracleAI
- Oracle 11gR2 RAC ohasd failed to start 解決方法OracleAI
- ORA-12500: TNS:listener failed to start a dedicated server processAIServer
- ORA-12500 TNS : listener failed to start a dedicated server processAIServer