$ crs_stat -t CRS-0184: Cannot communicate with the CRS daemon. $ crsctl check has CRS-4639: Could not contact Oracle High Availability Services
ifconfig -a 顯示節點 1 無 VIP 位址crs_stat -t 顯示節點 1 資源狀態為 OFFLINE,VIP 已漂移至節點 2# /u01/app/11.2.0/grid/crs/install/rootcrs.pl -verbose -deconfig -force
輸出關鍵訊息:
PRCR-1119: Failed to look up CRS resources... CRS-4535: Cannot communicate with Cluster Ready Services CRS-4000: Command Stop failed... Successfully deconfigured Oracle clusterware stack on this node
# /u01/app/11.2.0/grid/crs/install/roothas.pl -verbose -deconfig -force
輸出提示需殺掉 ohasd 程序或重啟系統:
You must kill ohasd processes or reboot the system to properly cleanup...
執行:pkill -9 ohasd 或 reboot
# /u01/app/11.2.0/grid/root.sh
關鍵輸出:
OLR initialization - successful Adding Clusterware entries to inittab CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node node2, number 2, and is terminating An active cluster was found during exclusive startup, restarting to join the cluster PRKO-2190: VIP exists for node node1, VIP name node1-vip Configure Oracle Grid Infrastructure for a Cluster ... succeeded
$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.DATA.dg ora....up.type ONLINE ONLINE node1
ora....ER.lsnr ora....er.type ONLINE ONLINE node1
ora.node1.vip ora....t1.type ONLINE ONLINE node1
ora.node2.vip ora....t1.type ONLINE ONLINE node2
ora.prod.db ora....se.type ONLINE ONLINE node1
ora.scan1.vip ora....ip.type ONLINE ONLINE node1
... (所有資源 ONLINE)
| 指令 | 用途 |
|---|---|
crs_stat -t | 顯示叢集資源狀態 |
crsctl check has | 檢查 OHAS 狀態 |
crsctl check crs | 檢查 CRS 狀態 |
ifconfig -a | 檢查網路介面與 VIP |
rootcrs.pl -deconfig -force | 強制解除 CRS 配置 |
roothas.pl -deconfig -force | 強制解除 OHAS 配置 |
root.sh | 重新配置 Grid Infrastructure |
crs_stat -t 中 ora.nodeX.vip 狀態$GRID_HOME/log/hostname/alert*.log、crsd.log、ohasd.logocrconfig -manualbackup結語:CRS-0184 通常意味著節點與叢集通訊中斷,核心解決路徑是「強制解配 → 清理殘留程序 → 重新 root.sh 加入叢集」。熟悉 rootcrs.pl/roothas.pl/root.sh 三部曲,並建立完善監控告警,可將 RAC 故障恢復時間壓縮至分鐘級。