安装11G R2 RAC的一个问题

简介:
安装11g rac时,节点2运行root.sh 提示错误:
 

[root@lir-rac2 ~]# /u01/app/11.2.0.0/grid/root.sh 
Running Oracle 11g root.sh script...
The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/11.2.0.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: y
   Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: y
   Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) 
[n]: y
   Copying coraenv to /usr/local/bin ...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2010-05-18 16:54:01: Parsing the host name
2010-05-18 16:54:01: Checking for super user privileges
2010-05-18 16:54:01: User has super user privileges
Using configuration parameter file: /u01/app/11.2.0.0/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 Services has been started.
ohasd is starting
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node lir-rac1, number 1, and is terminating
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'lir-rac2'
CRS-2677: Stop of 'ora.cssdmonitor' on 'lir-rac2' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'lir-rac2'
CRS-2677: Stop of 'ora.gpnpd' on 'lir-rac2' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'lir-rac2'
CRS-2677: Stop of 'ora.gipcd' on 'lir-rac2' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'lir-rac2'
CRS-2677: Stop of 'ora.mdnsd' on 'lir-rac2' succeeded
An active cluster was found during exclusive startup, restarting to join the cluster
CRS-2672: Attempting to start 'ora.mdnsd' on 'lir-rac2'
CRS-2676: Start of 'ora.mdnsd' on 'lir-rac2' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'lir-rac2'
CRS-2676: Start of 'ora.gipcd' on 'lir-rac2' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'lir-rac2'
CRS-2676: Start of 'ora.gpnpd' on 'lir-rac2' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'lir-rac2'
CRS-2676: Start of 'ora.cssdmonitor' on 'lir-rac2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'lir-rac2'
CRS-2672: Attempting to start 'ora.diskmon' on 'lir-rac2'
CRS-2676: Start of 'ora.diskmon' on 'lir-rac2' succeeded
CRS-2674: Start of 'ora.cssd' on 'lir-rac2' failed
CRS-2679: Attempting to clean 'ora.cssd' on 'lir-rac2'
CRS-2681: Clean of 'ora.cssd' on 'lir-rac2' succeeded
CRS-2673: Attempting to stop 'ora.diskmon' on 'lir-rac2'
CRS-2677: Stop of 'ora.diskmon' on 'lir-rac2' succeeded
CRS-4000: Command Start failed, or completed with errors.
CRS-2672: Attempting to start 'ora.cssd' on 'lir-rac2'
CRS-2672: Attempting to start 'ora.diskmon' on 'lir-rac2'
CRS-2674: Start of 'ora.diskmon' on 'lir-rac2' failed
CRS-2679: Attempting to clean 'ora.diskmon' on 'lir-rac2'
CRS-5016: Process "/u01/app/11.2.0.0/grid/bin/diskmon" spawned by agent "/u01/app/11.2.0.0/grid/bin/orarootagent.bin" for action "clean" failed: details at "(:CLSN00010:)" in "/u01/app/11.2.0.0/grid/log/lir-rac2/agent/ohasd/orarootagent_root/orarootagent_root.log"
CRS-2681: Clean of 'ora.diskmon' on 'lir-rac2' succeeded
CRS-2674: Start of 'ora.cssd' on 'lir-rac2' failed
CRS-2679: Attempting to clean 'ora.cssd' on 'lir-rac2'
CRS-2681: Clean of 'ora.cssd' on 'lir-rac2' succeeded
CRS-4000: Command Start failed, or completed with errors.
Command return code of 1 (256) from command: /u01/app/11.2.0.0/grid/bin/crsctl start resource ora.ctssd -init -env USR_ORA_ENV=CTSS_REBOOT=TRUE
Start of resource "ora.ctssd -init -env USR_ORA_ENV=CTSS_REBOOT=TRUE" failed
Failed to start CTSS
Failed to start Oracle Clusterware stack
 
最后发现是节点1上的防火墙没有关闭.
 
经检查,是节点1上的防火墙没有关闭,
[root@lir-rac1 ~]# service iptables stop
Flushing firewall rules: [  OK  ]
Setting chains to policy ACCEPT: filter [  OK  ]
Unloading iptables modules: [  OK  ]
[root@lir-rac1 ~]# service ip6tables stop 
Flushing firewall rules: [  OK  ]
Setting chains to policy ACCEPT: filter [  OK  ]
Unloading ip6tables modules: [  OK  ]
[root@lir-rac1 ~]# chkconfig --list iptables
iptables        0:off   1:off   2:on    3:on    4:on    5:on    6:off
[root@lir-rac1 ~]# chkconfig iptables off
[root@lir-rac1 ~]# chkconfig ip6tables off
 
先删除节点2的注册资源:
./roothas.pl -delete -force -verbose
 
再次运行root.sh脚本执行完成.



本文转自 gjm008 51CTO博客,原文链接:http://blog.51cto.com/gaoshan/317539,如需转载请自行联系原作者
相关文章
|
6月前
|
Oracle 关系型数据库
oracle rac 手工安装补丁,不适用auto
oracle rac 手工安装补丁,不适用auto
77 3
11g rac em重建
emca -config dbcontrol db -repos create -cluster
170 0
rac安装报错“ Checking swap space 0 MB available, 150 MB required. Failed”
rac安装报错“ Checking swap space 0 MB available, 150 MB required. Failed”
846 0
|
Shell Linux
Rhel7安装RAC 11gR2时运行root.sh报错找不到ohas服务妙招
Rhel7安装RAC 11gR2时运行root.sh报错找不到ohas服务妙招
287 0
|
Oracle 关系型数据库 测试技术
Oracle 11G ADG 搭建 RAC to Single 详细教程(RMAN DUPLICATE)
经过交流群中朋友的多次要求,这次给大家分享一下 RAC to Single 的 ADG 搭建教程!
Oracle 11G ADG 搭建 RAC to Single 详细教程(RMAN DUPLICATE)
|
Oracle 关系型数据库 Shell
RHEL 7.6 安装 Oracle 18c RAC
RHEL 7.6 安装 Oracle 18c RAC第一部分 安装规划 虚拟环境 VirtualBox 6.0 OS 版本 Red Hat Enterprise Linux Server release 7.
1976 0
|
Oracle 关系型数据库 专有云
阿里专有云3.6.1版本云上rac安装节点驱逐问题
阿里专有云云上Oracle rac节点驱逐解决方案
2759 0
|
监控 数据库 数据安全/隐私保护
Cloud Control 13c 13.3安装(三) 监控 grid rac 状态
Cloud Control 13c 13.3 监控 grid rac 状态
2455 0
|
Oracle 关系型数据库 数据库
|
Oracle 关系型数据库 数据格式
11gr2 RAC安装INS-35354问题一例
转自:http://www.askmaclean.com/archives/11gr2-rac安装ins-35354问题一例.html 今天在安装一套11.2.0.2 RAC数据库时出现了INS-35354的问题: 因为之前已经成功安装了11.
1046 0