Start of resource “ora.asm -init” failed -

小亮520cl發表於2015-07-20

在安裝GI,第一個節點的root.sh一般不易出錯,但是第二個節點就遇到了下面的錯誤
Start of resource “ora.asm -init” failed
Failed to start ASM
Failed to start Oracle Clusterware stack

檢查錯誤日誌
grid@znode2 crsconfig]$ pwd
/u01/app/11.2.0/grid/cfgtoollogs/crsconfig
[grid@znode2 crsconfig]$ vi + rootcrs_znode2.log


2012-06-28 17:53:50: Starting CSS in clustered mode
2012-06-28 17:54:42: CRS-2672: Attempting to start ‘ora.cssdmonitor’ on ‘znode2′
2012-06-28 17:54:42: CRS-2676: Start of ‘ora.cssdmonitor’ on ‘znode2′ succeeded
2012-06-28 17:54:42: CRS-2672: Attempting to start ‘ora.cssd’ on ‘znode2′
2012-06-28 17:54:42: CRS-2672: Attempting to start ‘ora.diskmon’ on ‘znode2′
2012-06-28 17:54:42: CRS-2676: Start of ‘ora.diskmon’ on ‘znode2′ succeeded
2012-06-28 17:54:42: CRS-2676: Start of ‘ora.cssd’ on ‘znode2′ succeeded
—注意這裡等待了10分鐘
2012-06-28 18:04:47: Start of resource “ora.ctssd -init -env USR_ORA_ENV=CTSS_REBOOT=TRUE” Succeeded
2012-06-28 18:04:47: Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl start resource ora.asm -init
2012-06-28 18:04:47: Start of resource “ora.asm -init” failed
2012-06-28 18:04:47: Failed to start ASM
2012-06-28 18:04:47: Failed to start Oracle Clusterware stack

/log/znode2/alert/znodename.log

CRS-5818:Aborted command ‘start for resource: ora.ctssd 1 1′ for resource ‘ora.ctssd’. Details at..

有多種原因可能出現這個問題
1, 是public,private網路卡配置不正確
2,是firewall 未關閉
3,hostname 出現在/etc/hosts的127.0.0.1行

我檢查/etc/hosts
127.0.0.1 znode1 localhost.localdomain localhost
然後把所有節點的127.0.0.1那行改成了
127.0.0.1 localhost.localdomain localhost

關掉OUI,deinstall,重灌安裝順利透過

不關oui,只在失敗的節點
/app/product/grid/11.2.0/crs/install/roothas.pl -delete -force -verbose
重新執行root.sh應該也是可以的。
/app/product/grid/11.2.0/root.sh

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29096438/viewspace-1741908/,如需轉載,請註明出處,否則將追究法律責任。

相關文章