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

php中文网
发布: 2016-06-07 17:34:06
原创
1786人浏览过

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

BibiGPT-哔哔终结者
BibiGPT-哔哔终结者

B站视频总结器-一键总结 音视频内容

BibiGPT-哔哔终结者 871
查看详情 BibiGPT-哔哔终结者

发现只起来了三个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

最佳 Windows 性能的顶级免费优化软件
最佳 Windows 性能的顶级免费优化软件

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号