欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 运维知识 > linux >内容正文

linux

苹果双系统运行oracle失败,oracle 11gR2 RAC for linux x86_64 grid运行root.sh 失败问题处理...

发布时间:2024/8/23 linux 124 豆豆
生活随笔 收集整理的这篇文章主要介绍了 苹果双系统运行oracle失败,oracle 11gR2 RAC for linux x86_64 grid运行root.sh 失败问题处理... 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

昨天一个朋友问到我,在oracle 11gR2 RAC for linux x86_64安装过程中,grid用户运行root.sh在第一节点可以成功,但在第二节点不成功,报错如下:

CRS-2674: Start of 'ora.cssd' on 'racnode2' failed

CRS-2679: Attempting to clean 'ora.cssd' on 'racnode2'

CRS-2681: Clean of 'ora.cssd' on 'racnode2' succeeded

CRS-2673: Attempting to stop 'ora.diskmon' on 'racnode2'

CRS-2677: Stop of 'ora.diskmon' on 'racnode2' succeeded

CRS-4000: Command Start failed, or completed with errors.

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

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

CRS-2674: Start of 'ora.diskmon' on 'racnode2' failed

CRS-2679: Attempting to clean 'ora.diskmon' on 'racnode2'

CRS-5016: Process "/opt/oracle/11.2.0/grid/bin/diskmon" spawned by agent "/opt/oracle/11.2.0/grid/bin/orarootagent.bin" for action "clean" failed: details at "(:CLSN00010:)" in "/opt/oracle/11.2.0/grid/log/racnode2/agent/ohasd/orarootagent_root/orarootagent_root.log"

CRS-2681: Clean of 'ora.diskmon' on 'racnode2' succeeded

CRS-2674: Start of 'ora.cssd' on 'racnode2' failed

CRS-2679: Attempting to clean 'ora.cssd' on 'racnode2'

CRS-2681: Clean of 'ora.cssd' on 'racnode2' succeeded

CRS-4000: Command Start failed, or completed with errors.

Command return code of 1 (256) from command: /opt/oracle/11.2.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

检查GRID_HOME/log//cssd/ocssd.log ,里面记录下面内容:

2010-05-18 11:20:23.418: [    CSSD][2511965952]clssnmvDHBValidateNCopy: node 1, , has a disk HB, but no network HB, DHB has rcfg 169642893, wrtcnt, 1013, LATS 4141244, lastSeqNo 1013, uniqueness 1274151780, timestamp 1274152822/4138854

主要是节点2与节点1不能建立网络连接,导致节点2 CSS daemon启动失败,找到问题原因,解决方法就很容易

1.ssh能成功,説明网络设置正确,最大的可能性是linux下的防火墙了

linux下停止防火墙

service iptables stop

service ip6tables stop

禁用防火墙

chkconfig iptables off

chkconfig ip6tables off

结果从朋友那得到答复:

缘分 17:55:32

防火墙关掉没

缘分 17:55:39

linux防火墙

缘分 17:55:53

service iptables stop

service ip6tables stop

缘分 17:56:01

chkconfig iptables off

chkconfig ip6tables off

缘分 17:56:39

GRID_HOME/log//cssd/ocssd.log

缘分 17:56:52

把这个日志发给我看下

缘分 17:57:12

可以先把所有节点防火墙都关闭

朋友 17:57:32

==

朋友 17:59:15

防火墙是没有关,郁闷。

朋友 17:59:30

我给你找日志。

缘分 18:01:01

好的

缘分 18:01:18

把防火墙关了,再来一次吧 应该问题不大

缘分 18:01:33

然后你把日志发给我,我再确认下是不是这个问题

朋友要发送给您文件“ocssd.rar(1543KB)”,您是要接收,另存为还是谢绝该文件

朋友 18:02:42

这个日志还挺大,呵呵。

朋友 18:02:56

可以了,

朋友 18:03:03

朋友 18:03:16

说不出的感动啊,谢谢。

总结

以上是生活随笔为你收集整理的苹果双系统运行oracle失败,oracle 11gR2 RAC for linux x86_64 grid运行root.sh 失败问题处理...的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。