启动VIP报CRS-1028/CRS-0223致使VIP状态为UNKNOWN故障分析与解决
CRS版本号为10.2.0.4
1、VIP State为UNKNOWN
|
[root@XXdb1 ~]# crs_stat -t Name Type Target State Host ------------------------------------------------------------ ora.dxp.db application ONLINE ONLINE XXdb1 ora....p1.inst application ONLINE ONLINE XXdb1 ora....p2.inst application ONLINE ONLINE XXdb2 ora....SM1.asm application ONLINE ONLINE XXdb1 ora....B1.lsnr application OFFLINE OFFLINE ora.XXdb1.gsd application ONLINE ONLINE XXdb1 ora.XXdb1.ons application ONLINE ONLINE XXdb1 ora.XXdb1.vip application ONLINE UNKNOWN XXdb1 ora....SM2.asm application ONLINE ONLINE XXdb2 ora....B2.lsnr application OFFLINE OFFLINE ora.XXdb2.gsd application ONLINE ONLINE XXdb2 ora.XXdb2.ons application ONLINE ONLINE XXdb2 ora.XXdb2.vip application ONLINE UNKNOWN XXdb2 ora.zsXXdb.db application ONLINE ONLINE XXdb1 ora....b1.inst application ONLINE ONLINE XXdb1 ora....b2.inst application ONLINE ONLINE XXdb2 |
2、手动启动VIP时报CRS-1028/CRS-0223错误
|
[root@XXdb1 ~]# crs_start ora.XXdb1.vip CRS-1028: Dependency analysis failed because of: 'Resource in UNKNOWN state: ora.XXdb1.vip' CRS-0223: Resource 'ora.XXdb1.vip' has placement error. |
3、分析crsd日志
|
2014-07-05 16:10:08.813: [ CRSAPP][1524836704]0StartResource error for ora.XXdb1.vip error code = -1 2014-07-05 16:10:08.826: [ CRSEVT][1524836704]0CAAMonitorHandler :: 0:Could not execute /home/oracle/product/10.2.0/crs/bin/racgwrap(stop) for ora.XXdb1.vip category: 1234, operation: scls_canexec, loc: , OS error: 0, other: no exe permission, file /home/oracle/product/10.2.0/crs/bin/racgwrap |
发现由于在操作系统上。由于对racgwrap文件没有运行权限
4、对racgwrap文件赋予O=x权限
|
#chmod o=x /home/oracle/product/10.2.0/crs/bin/racgwrap |
5、再次启动VIP。crsd中报出相关其他错误
|
2014-07-05 16:26:05.473: [ CRSAPP][1524836704]0StartResource error for ora.XXdb1.vip error code = 1 |
6、分析vip log
|
Oracle Database 10g CRS Release 10.2.0.4.0 Production Copyright 1996, 2008 Oracle. All rights reserved. 2014-07-05 17:25:03.565: [ RACG][2540928256] [26035][2540928256][ora.XXdb1.vip]: clsrcexecut: scls_process_spawn() error, status = 1, command = /home/oracle/product/10.2.0/crs/bin/racgeut Category: 1234 Operation: scls_canexec Location: Other: no exe permission, file /home/oracle/product/10.2.0/crs/bin/racgeut OS Error: Error 0 2014-07-05 17:25:03.565: [ RACG][2540928256] [26035][2540928256][ora.XXdb1.vip]: clsrcexecut: scls_process_spawn() error, status = 1, command = /home/oracle/product/10.2.0/crs/bin/racgeut Category: 1234 Operation: scls_canexec Location: Other: no exe permission, file /home/oracle/product/10.2.0/crs/bin/racgeut OS Error: Error 0 2014-07-05 17:25:03.566: [ RACG][2540928256] [26035][2540928256][ora.XXdb1.vip]: end for resource = ora.XXdb1.vip, action = start, status = 1, time = 0.030s 2014-07-05 17:25:03.634: [ RACG][2540928256] [26040][2540928256][ora.XXdb1.vip]: clsrcrundetach: scls_process_spawn() error, status = 1, command = /home/oracle/product/10.2.0/crs/bin/racgmain Category: 1234 Operation: scls_canexec Location: Other: no exe permission, file /home/oracle/product/10.2.0/crs/bin/racgmain OS Error: Error 0 |
从vip log中。又发现。最少存在有对racgeut、racgmain两个文件没有运行权限
7、赋予很多其它的权限解决
看来不止止是一两个文件不具有权限了,为了尽快解决这个问题,决定对/home/oracle/product/10.2.0/crs/bin/*都主赋予运行权限,对极对/home/oracle/product/10.2.0/crs/bin/racg*的拥有者改更改成root用户:
|
#chmod o=x /home/oracle/product/10.2.0/crs/bin/* #chown root /home/oracle/product/10.2.0/crs/bin/racg* |
到此再启动vip。已能够正常启动
本文作者:黎俊杰(网名:踩点)。从事”系统架构、操作系统、存储设备、数据库、中间件、应用程序“六个层面系统性的性能优化工作
欢迎增加 系统性能优化专业群 ,共同探讨性能优化技术。
群号:258187244
启动VIP报CRS-1028/CRS-0223致使VIP状态为UNKNOWN故障分析与解决的更多相关文章
- (转)启动网卡报错(Failed to start LSB: Bring up/down networking )解决办法总结
启动网卡报错(Failed to start LSB: Bring up/down networking )解决办法总结 原文:http://blog.51cto.com/11863547/19059 ...
- jfinal使用idea启动 访问报404 action not found
公司一个项目,在eclipse里面启动正常,换到idea里面启动后,启动没有报错,但是访问的时候会提示404 action not found. 百度了很多种解决方法 都没有解决. 今天脑子一转,想到 ...
- maven 项目启动tomcat报错 java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
maven项目启动tomcat报错: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderLi ...
- 【转】Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.
转载地址:http://blog.csdn.net/jnqqls/article/details/8946964 1.错误: 在Eclipse下启动tomcat的时候,报错为:Eclipse下启动to ...
- 学习中的错误——ubuntu 14.04 LTS 启动eclipse报错
在ubuntu中启动eclipse报错:(Eclipse:15978): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assert ...
- tomcat7 启动项目报错 java.lang.NoSuchMethodError: javax.servlet.ServletContext.getSessionCookieConfig()
JDK版本:jdk1.8.0_77 Tomcat 版本:apache-tomcat-7.0.47 异常重现步骤: 1.完成项目部署 2.启动Tomcat 异常头部信息:java.lang.NoSuch ...
- Eclipse中启动tomcat报错:A child container failed during start
我真的很崩溃,先是workspace崩了,费了好久重建的workspace,然后建立了一个小demo项目,tomcat中启动却报错,挑选其中比较重要的2条信息如下: A child container ...
- Ubuntu下安装了java但启动eclipse报错说没装java
参考资料:http://blog.csdn.net/happyteafriends/article/details/8290950 一.问题 在Ubuntu下安装了java并在~/.bashrc配置了 ...
- MySQL安装过程net start mysql 启动失败 报“错误2,系统找不到文件”的解决办法
MySQL安装过程net start mysql 启动失败 报“错误2,系统找不到文件”的解决办法 错误2,系统找不到文件. 开始...运行... regedit 注册表项: HKEY_LOCAL_ ...
随机推荐
- ActiveMQ 5.10.0 安装与配置
先在官网下载activeMQ,我这里是5.10.0. 然后在解压在一个文件夹下即可. 我这里是:D:\apache-activemq-5.10.0-bin 然后进入bin目录:D:\apache-ac ...
- InputStream和Reader
java.io下面有两个抽象类:InputStream和ReaderInputStream是表示字节输入流的所有类的超类Reader是用于读取字符流的抽象类InputStream提供的是字节流的读取, ...
- web流行工具
中小型公司: Node.js:现代工业化前端的基础: RequireJS:AMD规范, 即将过时的 JavaScript 模块化方案: Bower:前端模块源: npm:前端工具源,另一个潜在的前端模 ...
- pycuda installation error: command 'gcc' failed with exit status 1
原文:python采坑之路 Setup script exited with error: command 'gcc' failed with exit status 1 伴随出现"cuda ...
- THREE.js代码备份——canvas - geometry - earth(球体贴纹理)
<!DOCTYPE html> <html lang="en"> <head> <title>three.js canvas - g ...
- Spring学习笔记_day01_ioc
本文为博主辛苦总结,希望自己以后返回来看的时候理解更深刻,也希望可以起到帮助初学者的作用. 转载请注明 出自 : luogg的博客园 谢谢配合! Spring_day01 spring是一站式的框架, ...
- C# 获取当年的周六周日
public void GetWMDay() { List<string> list = new List<string>(); "; DateTime counYe ...
- linux中集群的免秘钥SSH直接登录
这里以三台mysql的主从服务器为例:manage.master.slave1.slave2 给4个机器生成秘钥文件 以manage为例,执行命令,生成空字符串的秘钥(后面要使用公钥),命令是: ...
- 【原】Pchart生成图片
学习网址: http://wiki.pchart.net/doc.introduction.html http://pchart.sourceforge.net/index.php
- c#用控制台程序安装启动停止卸载服务
第一步:新建控制台项目 第二步:添加服务 第三步:右键新建完成的服务项 点击 在start 和stop事件中分别写上 第四步 编写代码 双击打开 using System; using Syst ...