安装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脚本执行完成.
 

你可能感兴趣的:(职场,RAC,11g,休闲)