关于 运行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
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-4402: CSS 守护程序已在独占模式下启动, 但在节点 m1 (编号为 1) 上发现活动 CSS 守护程序, 因此正在终止
An active cluster was found during exclusive startup, restarting to join the cluster
CRS-2672: 尝试启动 'ora.mdnsd' (在 'm2' 上)
CRS-2676: 成功启动 'ora.mdnsd' (在 'm2' 上)
CRS-2672: 尝试启动 'ora.gipcd' (在 'm2' 上)
CRS-2676: 成功启动 'ora.gipcd' (在 'm2' 上)
CRS-2672: 尝试启动 'ora.gpnpd' (在 'm2' 上)
CRS-2676: 成功启动 'ora.gpnpd' (在 'm2' 上)
CRS-2672: 尝试启动 'ora.cssdmonitor' (在 'm2' 上)
CRS-2676: 成功启动 'ora.cssdmonitor' (在 'm2' 上)
CRS-2672: 尝试启动 'ora.cssd' (在 'm2' 上)
CRS-2672: 尝试启动 'ora.diskmon' (在 'm2' 上)
CRS-2676: 成功启动 'ora.diskmon' (在 'm2' 上)
CRS-2676: 成功启动 'ora.cssd' (在 'm2' 上)
CRS-2672: 尝试启动 'ora.ctssd' (在 'm2' 上)
CRS-2676: 成功启动 'ora.ctssd' (在 'm2' 上)
CRS-2672: 尝试启动 'ora.drivers.acfs' (在 'm2' 上)
CRS-2676: 成功启动 'ora.drivers.acfs' (在 'm2' 上)
CRS-2672: 尝试启动 'ora.asm' (在 'm2' 上)
CRS-2676: 成功启动 'ora.asm' (在 'm2' 上)
CRS-2672: 尝试启动 'ora.crsd' (在 'm2' 上)
CRS-2676: 成功启动 'ora.crsd' (在 'm2' 上)
CRS-2672: 尝试启动 'ora.evmd' (在 'm2' 上)
CRS-2676: 成功启动 'ora.evmd' (在 'm2' 上)
Timed out waiting for the CRS stack to start.


tail -500 /opt/app/grid/log/m2/crsd/crsd.log

2013-07-09 11:09:06.198: [  OCRRAW][3046921936]propriogid:1_2: INVALID FORMAT
2013-07-09 11:09:06.198: [  OCRRAW][3046921936]proprioini: all disks are not OCR/OLR formatted
2013-07-09 11:09:06.198: [  OCRRAW][3046921936]proprinit: Could not open raw device
2013-07-09 11:09:06.210: [  OCRAPI][3046921936]a_init:16!: Backend init unsuccessful : [26]
2013-07-09 11:09:06.211: [  CRSOCR][3046921936] OCR context init failure.  Error: PROC-26: 访问物理存储时出错
2013-07-09 11:09:06.211: [    CRSD][3046921936][PANIC] CRSD exiting: Could not init OCR, code: 26
2013-07-09 11:09:06.212: [    CRSD][3046921936] Done.

因此虚拟机前面工作是委托系统管理员做的,查看日志,看到是物理磁盘的读取出错,怀疑是共享磁盘的设置问题,

经查阅资料:

http://blog.csdn.net/arch_seeker/article/details/7546882

看到我的共享磁盘中没有:

scsi0:0.deviceType = "disk"

所以各个磁盘增加此项,重启虚拟机后,问题解决。

/opt/app/grid/crs/install/rootcrs.pl -deconfig  -verbose -force

/opt/app/grid/root.sh




前面 同时看到防火墙没关掉,也关掉了。



Last login: Tue Jul  9 09:34:21 2013 from 192.168.10.249
[root@m2 ~]# setup
/usr/sbin/setenforce: SELinux is disabled
[root@m2 ~]#  /sbin/chkconfig --list iptables
iptables           0:关闭    1:关闭    2:启用    3:启用    4:启用    5:启用    6:关闭
[root@m2 ~]# iptables 2345 off
Bad argument `2345'
Try `iptables -h' or 'iptables --help' for more information.
[root@m2 ~]# iptables of
Bad argument `of'
Try `iptables -h' or 'iptables --help' for more information.
[root@m2 ~]# iptables off
Bad argument `off'
Try `iptables -h' or 'iptables --help' for more information.
[root@m2 ~]# chkconfig --level 2345 iptables off
[root@m2 ~]# /sbin/chkconfig --list iptables
iptables           0:关闭    1:关闭    2:关闭    3:关闭    4:关闭    5:关闭    6:关闭
[root@m2 ~]# service iptables status
表格:filter
Chain INPUT (policy ACCEPT)
num  target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
num  target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
num  target     prot opt source               destination   



  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值