2026年6月26日 星期五

Grid Patch 造成 CRS-2549 錯誤案例

Oracle 版本: 19.31 

OS 版本: Linux 8.5


問題描述:

將 GI 從 19.27 apply RU 至 19.31 之後,無法啟動 ACFS 並顯示 CRS-2549 錯誤如下 :

A black screen with white text

AI-generated content may be incorrect.


檢查 CRS 相關 resource ,其中有不少 resource 的狀態為 OFFLINE ,另一個節點尚未 apply patch 

狀態則是正常 :

A screenshot of a computer

AI-generated content may be incorrect.


問題分析:

使用 crsctl stat server -f 檢查 CRS 相關參數,發現其中已經 apply patch 第一節點的 

RESOURCE_USE_ENABLED 設定為 0 ,尚未 patch 的另一節點的設定為 1 :

A screenshot of a computer program

AI-generated content may be incorrect.


這是因為在執行 patch 的過程中, rootcrs.pl -prepatch 這個步驟會將參數 RESOURCE_USE_ENABLED 

設定為 0 ,主要的目的就是確保 patch 作業的過程中不會有任何的服務啟動,照理說在 patch 完成之後此

參數應該要恢復為 1 ,但結果卻沒有變為 1 ,造成 patch 成功後服務卻無法啟動的狀態。


解決方法:

將參數 RESOURCE_USE_ENABLED 改為 1 之後服務便可正常啟動 :

[root@devdb1 bin]# ./crsctl set resource use 1

CRS-4416: Server attribute 'RESOURCE_USE_ENABLED' successfully changed. 

Restart Oracle High Availability Services for new value to take effect.



沒有留言:

張貼留言