在VBox 上安装11.2.0.1的RAC。 这里打算安装11.2.0.1是因为从11.2.0.2以后的版本对public 和private 网卡网段区分很严格,这个网卡必须配置在不同的网段。 而在11.2.0.1中则没有这个限制,所以在虚拟机上安装,用同网段要相对方便一些。

在11.2.0.1的grid安装中有个很麻烦的东西,就是在执行root.sh 时会报错:rootcrs.pl line 433. 解决方法参考:

Oracle 11gRAC ohasd failed to start at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line443 解决方法

http://blog.csdn.net/tianlesoftware/article/details/7697366

今天在安装时,在节点2执行root.s,又遇到了Timedout waiting for the CRS stack to start的错误,其实这个错误在之前的安装过程中也遇到过,所以看了以前的记录,发现出入很大。

以前的记录:

Oracle RACroot.sh 报错 Timed out waiting for the CRSstack to start 解决方法

http://blog.csdn.net/tianlesoftware/article/details/7697349

相关记录如下:

[root@rac2 grid]# /u01/grid/root.sh

Running Oracle 11g root.sh script...

The following environment variables are setas:

ORACLE_OWNER= grid

ORACLE_HOME=  /u01/grid

Enter the full pathname of the local bindirectory: [/usr/local/bin]:

The file "dbhome" already existsin /usr/local/bin.  Overwrite it? (y/n)

[n]: y

Copying dbhome to /usr/local/bin ...

The file "oraenv" already existsin /usr/local/bin.  Overwrite it? (y/n)

[n]: y

Copying oraenv to /usr/local/bin ...

The file "coraenv" already existsin /usr/local/bin.  Overwrite it? (y/n)

[n]: y

Copying coraenv to /usr/local/bin ...

Entries will be added to the /etc/oratabfile as needed by

Database Configuration Assistant when adatabase is created

Finished running generic part of root.shscript.

Now product-specific root actions will beperformed.

2012-10-11 01:58:50: Parsing the host name

2012-10-11 01:58:50: Checking for superuser privileges

2012-10-11 01:58:50: User has super userprivileges

Using configuration parameter file:/u01/grid/crs/install/crsconfig_params

Creating trace directory

LOCAL ADD MODE

Creating OCR keys for user 'root', privgrp'root'..

Operation successful.

Adding daemon to inittab

CRS-4123: Oracle High Availability Serviceshas been started.

ohasd is starting

ADVM/ACFS is not supported onoraclelinux-release-6Server-1.0.2.x86_64

CRS-4402: The CSS daemon was started inexclusive mode but found an active CSS daemon on node rac1, number 1, and isterminating

An active cluster was found duringexclusive startup, restarting to join the cluster

CRS-2672: Attempting to start 'ora.mdnsd' on'rac2'

CRS-2676: Start of 'ora.mdnsd' on 'rac2'succeeded

CRS-2672: Attempting to start 'ora.gipcd'on 'rac2'

CRS-2676: Start of 'ora.gipcd' on 'rac2'succeeded

CRS-2672: Attempting to start 'ora.gpnpd'on 'rac2'

CRS-2676: Start of 'ora.gpnpd' on 'rac2'succeeded

CRS-2672: Attempting to start'ora.cssdmonitor' on 'rac2'

CRS-2676: Start of 'ora.cssdmonitor' on'rac2' succeeded

CRS-2672: Attempting to start 'ora.cssd' on'rac2'

CRS-2672: Attempting to start 'ora.diskmon'on 'rac2'

CRS-2676: Start of 'ora.diskmon' on 'rac2'succeeded

CRS-2676: Start of 'ora.cssd' on 'rac2'succeeded

CRS-2672: Attempting to start 'ora.ctssd'on 'rac2'

CRS-2676: Start of 'ora.ctssd' on 'rac2'succeeded

CRS-2672: Attempting to start 'ora.asm' on'rac2'

CRS-2676: Start of 'ora.asm' on 'rac2'succeeded

CRS-2672: Attempting to start 'ora.crsd' on'rac2'

CRS-2676: Start of 'ora.crsd' on 'rac2'succeeded

CRS-2672: Attempting to start 'ora.evmd' on'rac2'

CRS-2676: Start of 'ora.evmd' on 'rac2'succeeded

Timed out waiting for the CRS stack to start.

Crsd的log 日志:

[root@rac2 crsd]# tail -20f crsd.log

ORA-17503: ksfdopn:DGOpenFile05 Failed toopen file +OCRVOTING.255.4294967295

ORA-17503: ksfdopn:2 Failed to open file+OCRVOTING.255.4294967295

ORA-15001: disk

2012-10-11 01:40:00.597: [  OCRASM][170809120]proprasmo: kgfoCheckMountreturned [6]

2012-10-11 01:40:00.598: [  OCRASM][170809120]proprasmo: The ASM diskgroup OCRVOTING is not found or not mounted

2012-10-11 01:40:00.604: [  OCRRAW][170809120]proprioo: Failed to open[+OCRVOTING]. Returned proprasmo() with [26]. Marking location as UNAVAILABLE.

2012-10-11 01:40:00.604:[  OCRRAW][170809120]proprioo: No OCR/OLRdevices are usable

2012-10-11 01:40:00.604: [  OCRASM][170809120]proprasmcl: asmhandle isNULL

2012-10-11 01:40:00.605: [  OCRRAW][170809120]proprinit: Could not openraw device

2012-10-11 01:40:00.605: [  OCRASM][170809120]proprasmcl: asmhandle isNULL

2012-10-11 01:40:00.606: [  OCRAPI][170809120]a_init:16!: Backend initunsuccessful : [26]

2012-10-11 01:40:00.608: [  CRSOCR][170809120] OCR context initfailure.  Error: PROC-26: Error whileaccessing the physical storage ASM error [SLOS: cat=8, opn=kgfoOpenFile01,dep=15056, loc=kgfokge

ORA-17503: ksfdopn:DGOpenFile05 Failed toopen file +OCRVOTING.255.4294967295

ORA-17503: ksfdopn:2 Failed to open file+OCRVOTING.255.4294967295

ORA-15001: disk

] [8]

2012-10-11 01:40:00.608:[    CRSD][170809120][PANIC] CRSDexiting: Could not init OCR, code: 26

2012-10-11 01:40:00.609: [    CRSD][170809120] Done.

这里的提示信息将问题指向了防火墙。 具体在MOS的文档有说明:

GridInfrastructure 11gR2 ROOT.SH Fails on Second Node due to Firewall [ID 1103313.1]

实际情况是,在安装GI之前,我就已经把防火墙关闭了:

[grid@rac2 crsd]$ /sbin/chkconfig --listiptables

iptables        0:off  1:off   2:off   3:off  4:off   5:off   6:off

[grid@rac2 crsd]$ /sbin/lsmod |grepip_tables

但根据CRSD的信息,问题又指向了防火墙,尝试把节点2重启一下。

重启节点2之后,清楚之前的信息:

[root@rac2 ~]# /u01/grid/crs/install/rootcrs.pl-deconfig  -verbose -force

2012-10-11 02:11:06: Parsing the host name

2012-10-11 02:11:06: Checking for superuser privileges

2012-10-11 02:11:06: User has super userprivileges

Using configuration parameter file:/u01/grid/crs/install/crsconfig_params

PRCR-1035 : Failed to look up CRS resourceora.cluster_vip.type for 1

PRCR-1068 : Failed to query resources

Cannot communicate with crsd

PRCR-1070 : Failed to check if resourceora.gsd is registered

Cannot communicate with crsd

PRCR-1070 : Failed to check if resourceora.ons is registered

Cannot communicate with crsd

PRCR-1070 : Failed to check if resourceora.eons is registered

Cannot communicate with crsd

ADVM/ACFS is not supported onoraclelinux-release-6Server-1.0.2.x86_64

ACFS-9201: Not Supported

CRS-4133: Oracle High Availability Serviceshas been stopped.

error: package cvuqdisk is not installed

Successfully deconfigured Oracleclusterware stack on this node

再次执行root.sh:

[root@rac2 ~]# /u01/grid/root.sh

Running Oracle 11g root.sh script...

The following environment variables are setas:

ORACLE_OWNER= grid

ORACLE_HOME=  /u01/grid

Enter the full pathname of the local bindirectory: [/usr/local/bin]:

The file "dbhome" already existsin /usr/local/bin.  Overwrite it? (y/n)

[n]:

The file "oraenv" already existsin /usr/local/bin.  Overwrite it? (y/n)

[n]:

The file "coraenv" already existsin /usr/local/bin.  Overwrite it? (y/n)

[n]:

Entries will be added to the /etc/oratabfile as needed by

Database Configuration Assistant when adatabase is created

Finished running generic part of root.shscript.

Now product-specific root actions will beperformed.

2012-10-11 02:15:36: Parsing the host name

2012-10-11 02:15:36: Checking for superuser privileges

2012-10-11 02:15:36: User has super userprivileges

Using configuration parameter file:/u01/grid/crs/install/crsconfig_params

LOCAL ADD MODE

Creating OCR keys for user 'root', privgrp'root'..

Operation successful.

Adding daemon to inittab

CRS-4123: Oracle High Availability Serviceshas been started.

ohasd is starting

ADVM/ACFS is not supported onoraclelinux-release-6Server-1.0.2.x86_64

CRS-4402: The CSS daemon was started inexclusive mode but found an active CSS daemon on node rac1, number 1, and isterminating

An active cluster was found during exclusivestartup, restarting to join the cluster

CRS-2672: Attempting to start 'ora.mdnsd'on 'rac2'

CRS-2676: Start of 'ora.mdnsd' on 'rac2'succeeded

CRS-2672: Attempting to start 'ora.gipcd'on 'rac2'

CRS-2676: Start of 'ora.gipcd' on 'rac2'succeeded

CRS-2672: Attempting to start 'ora.gpnpd'on 'rac2'

CRS-2676: Start of 'ora.gpnpd' on 'rac2'succeeded

CRS-2672: Attempting to start'ora.cssdmonitor' on 'rac2'

CRS-2676: Start of 'ora.cssdmonitor' on'rac2' succeeded

CRS-2672: Attempting to start 'ora.cssd' on'rac2'

CRS-2672: Attempting to start 'ora.diskmon'on 'rac2'

CRS-2676: Start of 'ora.diskmon' on 'rac2'succeeded

CRS-2676: Start of 'ora.cssd' on 'rac2'succeeded

CRS-2672: Attempting to start 'ora.ctssd'on 'rac2'

CRS-2676: Start of 'ora.ctssd' on 'rac2'succeeded

CRS-2672: Attempting to start 'ora.asm' on'rac2'

CRS-2676: Start of 'ora.asm' on 'rac2'succeeded

CRS-2672: Attempting to start 'ora.crsd' on'rac2'

CRS-2676: Start of 'ora.crsd' on 'rac2'succeeded

CRS-2672: Attempting to start 'ora.evmd' on'rac2'

CRS-2676: Start of 'ora.evmd' on 'rac2'succeeded

rac2    2012/10/11 02:38:36    /u01/grid/cdata/rac2/backup_20121011_023836.olr

Preparing packages for installation...

cvuqdisk-1.0.7-1

Configure Oracle Grid Infrastructure for aCluster ... succeeded

Updating inventory properties forclusterware

Starting Oracle Universal Installer...

Checking swap space: must be greater than500 MB.   Actual 1999 MB    Passed

The inventory pointer is located at/etc/oraInst.loc

The inventory is located at/u01/grid/oraInventory

'UpdateNodeList' was successful.

[root@rac2 ~]#

这次成功执行。

--------------------------------------------------------------------------------------------

版权所有,文章允许转载,但必须以链接方式注明源地址,否则追究法律责任!

Skype:    tianlesoftware

QQ:       tianlesoftware@gmail.com

Email:    tianlesoftware@gmail.com

Blog:     http://blog.csdn.net/tianlesoftware

Weibo:    http://weibo.com/tianlesoftware

Twitter:  http://twitter.com/tianlesoftware

Facebook: http://www.facebook.com/tianlesoftware

Linkedin: http://cn.linkedin.com/in/tianlesoftware

转载于:https://www.cnblogs.com/tianlesoftware/archive/2012/10/21/3609180.html

Oracle RAC 第二节点 root.sh 报错 Timed out waiting for the CRS stack to start相关推荐

  1. Oracle 11g RAC 第二节点root.sh执行失败后再次执行root.sh

    Oracle 11g RAC 第二节点root.sh执行失败后再次执行root.sh前,要先清除之前的crs配置信息 # /u01/app/11.2.0/grid/crs/install/rootcr ...

  2. oracle 10g rac 包root.sh报错,案例:Oracle Rac root.sh报错 Failed to create keys in the OLR

    天萃荷净 [root@web1 grid]# /u01/app/11.2.0/grid/root.sh Performing root user operation for Oracle 11g Th ...

  3. 关于 运行root.sh 时出错误Timed out waiting for the CRS stack to start.的解决

    Creating OCR keys for user 'root', privgrp 'root'.. Operation successful. Adding daemon to inittab C ...

  4. oracle rac v3500_Oracle 11g RAC 二节点root.sh执行报错故障一例

    仅记录一次Oracle 11g rac安装过程.本文出自:http://koumm.blog.51cto.com/ 1. 采用RHEL6.5 multipath多路径软件安装采用udev方式配置ASM ...

  5. RHEL 7 安装oracle rac 11.2.0.4执行root.sh报错ohasd failed to start

    报错信息: [root@rac1 ~]# /u01/app/oraInventory/orainstRoot.sh  Changing permissions of /u01/app/oraInven ...

  6. CentOS7环境安装oracleRAC集群遇到的问题总结二(执行root.sh报错ORA-15018和ORA-15020)

    安装集群软件最后一步需要执行在两个节点执行以下脚本文件,如图所示 然后在执行第二个脚本的时候就报错如下: 在这最后一步卡了好久一直找不到原因,安装过程也取消掉重新安装了好几次还是不成功,查了很多资料, ...

  7. oracle 安装的提示ntp,oracle rac 安装 PRVG-13606 ntp 同步报错解决过程

    oracle ntp 检查报错 ./runcluvfy.sh stage -pre crsinst -n oracle57,oracle58 -verbose [10:06:58]Verifying ...

  8. docker第二节点无法启动报错xtrabackup_checkpoints missing. xtrabackup/SST failed on DONOR. Check DONOR log解决方案

    今天搭建mysql集群遇到第二docker节点开启后闪退问题,报错如下: 2019-08-08T07:53:49.523877Z 0 [Note] WSREP: Member 1.0 (e46b8f6 ...

  9. idea右侧maven出现多个root根节点,删除报错:You can not remove xxxx because its imported as

    idea右侧maven出现多个root根节点,删除报错:You can not remove xxxx because its imported as 问题截图: 出现这种问题后,网上查到的方法很多, ...

最新文章

  1. 报名|首届中国智慧城市大数据开放创新应用大赛
  2. c编写程序完成m名旅客和n辆汽车的同步程序代写
  3. python selenium自动化获取oracle,python27+selenium3自动化登录测试
  4. Web前端技术分享:学习HTML和CSS的5大理由
  5. 力扣:7整数反转(python)
  6. python爬取b站用户_用Python爬取bilibili全站用户信息
  7. 五笔常用字、难拆字 拆解图文版
  8. cuda 编译 linux,Linux下安装Tensorflow源码及编译
  9. autocad自动图框_AutoCAD中的小技巧,你用过几个?
  10. php 获取远程大文件上传,PHP 获取远程文件大小的3种解决方法
  11. 赢在CSDN——谈谈程序员为什么要持续学习和创作?对CSDN的期待、个人创作的规划
  12. 高通平台msm8953 display子系统学习
  13. STM32单片机开发板 定制
  14. 076 对称区间的定积分性质
  15. [禅悟人生]有一种禅心叫认真
  16. CPI公式 CPI含义 CPI意义 CPI什么意思
  17. 吉林大学珠海学院c语言考试题,吉林大学珠海学院-c语言试卷_a卷.doc
  18. 【案例 4-2】饲养员喂养动物
  19. 通信软件设计基础(第2版)pdf分享
  20. 易基因 | 文献解读:单细胞RRBS+RNA测序揭示黄曲霉毒素B1诱导S期阻滞L02细胞肝毒性新机制

热门文章

  1. PLINK-GWAS学习7------数据质控之亲缘关系质控
  2. 广域通信网 - HDLC 高级数据链路控制协议
  3. 中文打字速度测试软件官网,中文打字速度测试软件
  4. 使用 Docker 搭建适用于 HomeLab 的书签导航
  5. 中国的3G时代开始了……
  6. 麒麟系统在线安装docker(x86/arm)
  7. 新版itunes不显示图书_龙岗“移动数字图书馆”上线!看书、找书、借书掌上搞定!...
  8. 股票交易系统推荐杨方配资_杨方配资:股票配资业务怎么做?杨方实战教你!...
  9. 回合制游戏-------------------------------------------起步(一)
  10. 淘宝自动回复机器人配置手册——售前模板配置(下)