首页 » ORACLE 9i-23ai » 11gr2安装Grid 时 node2 root.sh失败Start of resource “ora.asm -init” failed

11gr2安装Grid 时 node2 root.sh失败Start of resource “ora.asm -init” failed

在安装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

打赏

目前这篇文章有2条评论(Rss)评论关闭。

  1. 广华 | #1
    2012-07-02 at 13:17

    怎么定位出原因的呢?

    • admin | #2
      2012-07-09 at 15:46

      log file