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故障分析与解决的更多相关文章

  1. (转)启动网卡报错(Failed to start LSB: Bring up/down networking )解决办法总结

    启动网卡报错(Failed to start LSB: Bring up/down networking )解决办法总结 原文:http://blog.51cto.com/11863547/19059 ...

  2. jfinal使用idea启动 访问报404 action not found

    公司一个项目,在eclipse里面启动正常,换到idea里面启动后,启动没有报错,但是访问的时候会提示404 action not found. 百度了很多种解决方法 都没有解决. 今天脑子一转,想到 ...

  3. maven 项目启动tomcat报错 java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

    maven项目启动tomcat报错: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderLi ...

  4. 【转】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 ...

  5. 学习中的错误——ubuntu 14.04 LTS 启动eclipse报错

    在ubuntu中启动eclipse报错:(Eclipse:15978): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assert ...

  6. 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 ...

  7. Eclipse中启动tomcat报错:A child container failed during start

    我真的很崩溃,先是workspace崩了,费了好久重建的workspace,然后建立了一个小demo项目,tomcat中启动却报错,挑选其中比较重要的2条信息如下: A child container ...

  8. Ubuntu下安装了java但启动eclipse报错说没装java

    参考资料:http://blog.csdn.net/happyteafriends/article/details/8290950 一.问题 在Ubuntu下安装了java并在~/.bashrc配置了 ...

  9. MySQL安装过程net start mysql 启动失败 报“错误2,系统找不到文件”的解决办法

    MySQL安装过程net start mysql 启动失败 报“错误2,系统找不到文件”的解决办法 错误2,系统找不到文件. 开始...运行... regedit  注册表项: HKEY_LOCAL_ ...

随机推荐

  1. MVC系列学习(六)-Razor语法

    注:本次代码加了样式,样式如下 <style>     div {         border: 1px solid red;         margin: 10px auto;    ...

  2. Extension Methods(扩展方法)

    在 OOPL 中,有静态方法.实例方法和虚方法,如下:   public sealed class String {      public static bool  IsNullOrEmpty(st ...

  3. RecyclerView中item无法充满的问题

    首先致谢:https://blog.csdn.net/yuanlvmao/article/details/51694211 咱们不是代码的生产者,只是代码的搬运工. 今天写了一个RecyclerVie ...

  4. SQL基本操作——ALTER

    ALTER TABLE 语句用于在已有的表中添加.修改或删除列. Persons 表: ID LastName FirstName Address City 1 Adams John Oxford S ...

  5. CSS学习笔记----选择器

    用过css的同志们都知道,选择器是非常重要的,如果选择器使用不当,即使你的css写的再好,但是不知道要用在哪个元素上,这不是英雄无用武之地吗? css,用过的都说好! 最基本的选择器,id选择器,类选 ...

  6. 重绘DataGridView的DataGridViewCheckBoxCell控件

    最近项目中要用到在DataGridView单元格里面放置一个带有文本的 DataGridViewCheckBoxCell控件但原有 的是不支持的然后我就想着重写个 DataGridViewCheckB ...

  7. ARM架构与体系学习(二)——3级流水线

    ARM架构与体系学习(二)——3级流水线 标签: 存储嵌入式汇编c 2012-04-18 00:44 5414人阅读 评论(4) 收藏 举报  分类: ARM7(16)  版权声明:本文为博主原创文章 ...

  8. altera quartus 百度云分享 quartus prime 17.1 16.1 13.0

    quartus prime 17.1 标准版 链接:https://pan.baidu.com/s/10QWejKdDobVxDSqnVPJ0xQ 提取码:hhvj 复制这段内容后打开百度网盘手机Ap ...

  9. 最基础的rpm命令

    rpm -ivh package.rpm 安装一个rpm包 rpm -ivh --nodeeps package.rpm 安装一个rpm包而忽略依赖关系警告 rpm -U package.rpm 更新 ...

  10. P2386 放苹果

    题目背景 (poj1664) 题目描述 把M个同样的苹果放在N个同样的盘子里,允许有的盘子空着不放,问共有多少种不同的分发(5,1,1和1,1,5是同一种方法) 输入输出格式 输入格式: 第一行是测试 ...