首页 > 数据库 > mysql教程 > CRS无法启动,运行crsctl start crs无响应

CRS无法启动,运行crsctl start crs无响应

WBOY
发布: 2016-06-07 17:34:06
原创
1397 人浏览过

CRS无法启动,运行crsctl start crs无响应 查看messages:[root@UNID02 ~]# tail -f /var/log/messagesDec 9 08:11:13 UNID02 l

CRS无法启动,运行crsctl start crs无响应

查看messages:
[root@UNID02 ~]# tail -f /var/log/messages
Dec  9 08:11:13 UNID02 logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.7259.
Dec  9 08:12:13 UNID02 logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.7468.
Dec  9 08:12:13 UNID02 logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.7356.
Dec  9 08:12:13 UNID02 logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.7259.
Dec  9 08:13:13 UNID02 logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.7468.
Dec  9 08:13:13 UNID02 logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.7356.
Dec  9 08:13:14 UNID02 logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.7259.
Dec  9 08:14:13 UNID02 logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.7468.
Dec  9 08:14:13 UNID02 logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.7356.
Dec  9 08:14:14 UNID02 logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.7259.
CRS无法启动的原因为:Cluster Ready Services waiting on dependencies
看来有依赖组件没有起来。
查看更详细的信息:
[root@UNID02 ~]# less /tmp/crsctl.7259
Oracle Cluster Registry initialization failed accessing Oracle Cluster Registry device: PROC-26: Error while accessing the physical storage Operating System error [No such file or directory] [2]

[root@UNID02 ~]# service rawdevices status
/dev/raw/raw5:  bound to major 120, minor 97
/dev/raw/raw6:  bound to major 120, minor 113
/dev/raw/raw7:  bound to major 120, minor 129

发现只起来了三个RAW,于是将其余的RAW起起来。
[root@UNID02 ~]# service rawdevices start
Assigning devices:
          /dev/raw/raw1  -->  /dev/emcpowera1
/dev/raw/raw1:  bound to major 120, minor 1
          /dev/raw/raw2  -->  /dev/emcpowerb1
/dev/raw/raw2:  bound to major 120, minor 17
          /dev/raw/raw3  -->  /dev/emcpowerc1
/dev/raw/raw3:  bound to major 120, minor 33
          /dev/raw/raw4  -->  /dev/emcpowerd1
/dev/raw/raw4:  bound to major 120, minor 49
          /dev/raw/raw5  -->  /dev/emcpowerg1
/dev/raw/raw5:  bound to major 120, minor 97
          /dev/raw/raw6  -->  /dev/emcpowerh1
/dev/raw/raw6:  bound to major 120, minor 113
          /dev/raw/raw7  -->  /dev/emcpoweri1
/dev/raw/raw7:  bound to major 120, minor 129
done
[root@UNID02 ~]#
为什么这些RAW没起来呢?原因为存储发生了故障重启,重启后disk挂载上主机,但是并没有作为RAW被识别出来。
于是再次启动rawservices。
[root@UNID02 ~]# service rawdevices start
Assigning devices:
          /dev/raw/raw1  -->  /dev/emcpowera1
/dev/raw/raw1:  bound to major 120, minor 1
          /dev/raw/raw2  -->  /dev/emcpowerb1
/dev/raw/raw2:  bound to major 120, minor 17
          /dev/raw/raw3  -->  /dev/emcpowerc1
/dev/raw/raw3:  bound to major 120, minor 33
          /dev/raw/raw4  -->  /dev/emcpowerd1
/dev/raw/raw4:  bound to major 120, minor 49
          /dev/raw/raw5  -->  /dev/emcpowerg1
/dev/raw/raw5:  bound to major 120, minor 97
          /dev/raw/raw6  -->  /dev/emcpowerh1
/dev/raw/raw6:  bound to major 120, minor 113
          /dev/raw/raw7  -->  /dev/emcpoweri1
/dev/raw/raw7:  bound to major 120, minor 129
done
[root@UNID02 ~]#
继续查看Messages,发现继续报之前的错误:

Dec  9 08:15:14 UNID02 logger: Cluster Ready Services waiting on dependencies. Diagnostics in /tmp/crsctl.7259.
看来启动过程中CRS发现还是存在问题,于是再次查看crsctl.*文件:
[root@UNID02 ~]# cat  /tmp/crsctl.7259
Oracle Cluster Registry initialization failed accessing Oracle Cluster Registry device: PROC-26: Error while accessing the physical storage Operating System error [Permission denied] [13]
[root@UNID02 ~]#
还是一样的报错,但是这回由[No such file or directory]变成了 [Permission denied]。
肯定是RAW的权限由问题,查看RAW的权限:
[root@UNID02 ~]# ll /dev/raw
total 0
crw------- 1 root root 162, 1 Dec  9 08:14 raw1
crw------- 1 root root 162, 2 Dec  9 08:14 raw2
crw------- 1 root root 162, 3 Dec  9 08:14 raw3
crw------- 1 root root 162, 4 Dec  9 08:14 raw4
crw------- 1 root root 162, 5 Dec  9 08:14 raw5
crw------- 1 root root 162, 6 Dec  9 08:14 raw6
crw------- 1 root root 162, 7 Dec  9 08:14 raw7
果然如此,修改RAW的属主为oracle:
[root@UNID02 ~]# chown oracle:dba /dev/raw/*
发现messages里已经有CRS启动的信息了:
Dec  9 08:16:14 UNID02 logger: Cluster Ready Services completed waiting on dependencies.
Dec  9 08:16:14 UNID02 last message repeated 2 times
Dec  9 08:16:14 UNID02 logger: Running CRSD with TZ =
Dec  9 08:16:14 UNID02 logger: Oracle CSS Family monitor starting.
Dec  9 08:16:15 UNID02 logger: Oracle CSS restart. 0, 1

来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板