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

来源:互联网 发布:手机网络劫持广告太多 编辑:程序博客网 时间:2024/05/22 03:12

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   



原创粉丝点击