安装11g的集群软件的时候,在最后运行root.sh脚本时候,没有执行成功,最后提示如下错误:

  1. [root@r2 ~]# /u01/app/11.2.0/grid_1/root.sh

  2. Performing root user operation for Oracle 11g

  3. The following environment variables are set as:

  4. ORACLE_OWNER= grid

  5. ORACLE_HOME=  /u01/app/11.2.0/grid_1

  6. Enter the full pathname of the local bin directory: [/usr/local/bin]:

  7. The contents of "dbhome" have not changed. No need to overwrite.

  8. The contents of "oraenv" have not changed. No need to overwrite.

  9. The contents of "coraenv" have not changed. No need to overwrite.

  10. Entries will be added to the /etc/oratab file as needed by

  11. Database Configuration Assistant when a database is created

  12. Finished running generic part of root script.

  13. Now product-specific root actions will be performed.

  14. Using configuration parameter file: /u01/app/11.2.0/grid_1/crs/install/crsconfig_params

  15. Creating trace directory

  16. User ignored Prerequisites during installation

  17. Installing Trace File Analyzer

  18. OLR initialization - successful

  19. <font color="red">CRS-2728: A resource type with the name 'ora.daemon.type' is already registered</font>

  20. CRS-4000: Command Add failed, or completed with errors.

  21. CRS-2728: A resource type with the name 'ora.haip.type' is already registered

  22. CRS-4000: Command Add failed, or completed with errors.

  23. CRS-2728: A resource type with the name 'ora.mdns.type' is already registered

  24. CRS-4000: Command Add failed, or completed with errors.

  25. Failed to register Grid Infrastructure type ora.mdns.type at /u01/app/11.2.0/grid_1/crs/install/crsconfig_lib.pm line 7940.

  26. /u01/app/11.2.0/grid_1/perl/bin/perl -I/u01/app/11.2.0/grid_1/perl/lib -I/u01/app/11.2.0/grid_1/crs/install /u01/app/11.2.0/grid_1/crs/install/rootcrs.pl execution failed

复制代码

原因分析:
由于系统资源繁忙,导致创建失败,一般情况下,跟主机性能偏差有关,该问题一般出现在虚拟机环境中
解决方法:
进入$grid_home/install/运行./roothas.pl -deconfig -force -verbose后,从新执行root.sh

  1. [root@r2 ~]# cd /u01/app/11.2.0/grid_1/crs/install/

  2. [root@r2 install]# ./roothas.pl -deconfig -force -verbose

  3. Using configuration parameter file: ./crsconfig_params

  4. CRS-4535: Cannot communicate with Cluster Ready Services

  5. CRS-4000: Command Stop failed, or completed with errors.

  6. CRS-4535: Cannot communicate with Cluster Ready Services

  7. CRS-4000: Command Delete failed, or completed with errors.

  8. CLSU-00100: Operating System function: failed failed with error data: 2

  9. CLSU-00101: Operating System error message: No such file or directory

  10. CLSU-00103: error location: scrsearch3

  11. CLSU-00104: additional error information: id doesnt exist scls_scr_setval

  12. CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'r2'

  13. CRS-2673: Attempting to stop 'ora.mdnsd' on 'r2'

  14. CRS-2673: Attempting to stop 'ora.crf' on 'r2'

  15. CRS-2679: Attempting to clean 'ora.cssd' on 'r2'

  16. CRS-2679: Attempting to clean 'ora.cssdmonitor' on 'r2'

  17. CRS-2677: Stop of 'ora.mdnsd' on 'r2' succeeded

  18. CRS-2677: Stop of 'ora.crf' on 'r2' succeeded

  19. CRS-2673: Attempting to stop 'ora.gipcd' on 'r2'

  20. CRS-2681: Clean of 'ora.cssd' on 'r2' succeeded

  21. CRS-2681: Clean of 'ora.cssdmonitor' on 'r2' succeeded

  22. CRS-2677: Stop of 'ora.gipcd' on 'r2' succeeded

  23. CRS-2673: Attempting to stop 'ora.gpnpd' on 'r2'

  24. CRS-2677: Stop of 'ora.gpnpd' on 'r2' succeeded

  25. CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'r2' has completed

  26. CRS-4133: Oracle High Availability Services has been stopped.

  27. Successfully deconfigured Oracle Restart stack

复制代码

重新运行root.sh成功

  1. [root@r2 install]# /u01/app/11.2.0/grid_1/root.sh

  2. Performing root user operation for Oracle 11g

  3. The following environment variables are set as:

  4. ORACLE_OWNER= grid

  5. ORACLE_HOME=  /u01/app/11.2.0/grid_1

  6. Enter the full pathname of the local bin directory: [/usr/local/bin]:

  7. The contents of "dbhome" have not changed. No need to overwrite.

  8. The contents of "oraenv" have not changed. No need to overwrite.

  9. The contents of "coraenv" have not changed. No need to overwrite.

  10. Entries will be added to the /etc/oratab file as needed by

  11. Database Configuration Assistant when a database is created

  12. Finished running generic part of root script.

  13. Now product-specific root actions will be performed.

  14. Using configuration parameter file: /u01/app/11.2.0/grid_1/crs/install/crsconfig_params

  15. User ignored Prerequisites during installation

  16. Installing Trace File Analyzer

  17. OLR initialization - successful

  18. Adding Clusterware entries to inittab

  19. CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node r1, number 1, and is terminating

  20. An active cluster was found during exclusive startup, restarting to join the cluster

  21. Preparing packages for installation...

  22. cvuqdisk-1.0.9-1

  23. Configure Oracle Grid Infrastructure for a Cluster ... succeeded

Failed to register Grid Infrastructure type ora.mdns.type的更多相关文章

  1. 基于CentOS与VmwareStation10搭建Oracle11G RAC 64集群环境:4.安装Oracle RAC FAQ-4.6.重新配置与缷载11R2 Grid Infrastructure

    1.[root@linuxrac1 ~]# /u01/app/oraInventory/orainstRoot.sh 2.[root@linuxrac2 ~]# /u01/app/oraInvento ...

  2. CentOS 7.2安装11g Grid Infrastructure

      Preface       Oracle claimed that 11g RAC is supported on Redhat Linux 7 and above version,but the ...

  3. 为11gR2 Grid Infrastructure增加新的public网络

    在某些环境下,运行11.2版本的RAC数据库的服务器上,连接了多个public网络,那么就会有如下的需求: 给其他的,或者说是新的public网络增加新的VIP地址. 在新的public网络上增加SC ...

  4. Failed to register: Error: fabric-ca request register failed with errors [[{"code":0,"message":"No identity type provided. Please provide identity type"}]]解决方案

    I try to run sample application as stated here : http://hyperledger-fabric.readthedocs.io/en/release ...

  5. Grid Infrastructure 启动的五大问题 (文档 ID 1526147.1)

    适用于: Oracle Database - Enterprise Edition - 版本 11.2.0.1 和更高版本本文档所含信息适用于所有平台 用途 本文档的目的是总结可能阻止 Grid In ...

  6. 转://诊断 Grid Infrastructure 启动问题 (文档 ID 1623340.1) .

    文档内容   用途   适用范围   详细信息   启动顺序:   集群状态   问题 1: OHASD 无法启动   问题 2: OHASD Agents  未启动   问题 3: OCSSD.BI ...

  7. 为11.2.0.2 Grid Infrastructure添加节点

    转自:http://www.askmaclean.com/archives/add-node-to-11-2-0-2-grid-infrastructure.html 在之前的文章中我介绍了为10g ...

  8. 基于CentOS与VmwareStation10搭建Oracle11G RAC 64集群环境:3.安装Oracle RAC-3.4.安装Grid Infrastructure

    3.4.安装Grid Infrastructure 3.4.1.安装Grid 1.运行 grid的安装文件runInstaller [grid@linuxrac1 grid]$ ./runInstal ...

  9. 诊断 Grid Infrastructure 启动问题 (文档 ID 1623340.1)

    适用于: Oracle Database - Enterprise Edition - 版本 11.2.0.1 和更高版本本文档所含信息适用于所有平台 用途 本文提供了诊断 11GR2 和 12C G ...

随机推荐

  1. PAT (Advanced Level) 1055. The World's Richest (25)

    排序.随便加点优化就能过. #include<iostream> #include<cstring> #include<cmath> #include<alg ...

  2. Python3基础 Python的函数都有返回值 无指定返回值的函数 返回NONE对象

    镇场诗: 诚听如来语,顿舍世间名与利.愿做地藏徒,广演是经阎浮提. 愿尽吾所学,成就一良心博客.愿诸后来人,重现智慧清净体.-------------------------------------- ...

  3. NVIDA 提到的 深度框架库

    BidMachBlocksCaffeChainerCNTKcuda-convnetcuda-convnet2Deeplearning4jkaldiKerasLasagneMarvinMatConvNe ...

  4. Java中的局部内部类

    package Smoke; public class Inner { private int num = 3; class Limian{ public void show(){ //内部类可以访问 ...

  5. java如何计算程序运行时间

    long startTime = System.currentTimeMillis();    //获取开始时间 doSomething();    //测试的代码段 long endTime = S ...

  6. [Unity Shader]Shader分类

    Shader的分类: Shader按管线分类一般分为固定渲染管线与可编程渲染管线 (1)固定渲染管线 ——这是标准的几何&光照(Transforming&Lighting)管线,功能是 ...

  7. jpg转bmp(使用libjpeg)

    源: jpg转bmp(使用libjpeg) [转]JPEG压缩原理 bmp转jpg(使用libjpeg)

  8. JavaScriptConvert.SerializeObject转换出错

    The length of the string exceeds the value set on the maxJsonLength property(字符串的长度超过maxjsonlength上设 ...

  9. 《C程序设计语言》读书笔记----习题1-21

    题目就不写了,大概意思就是:尽量用制表符'\t'替换掉字符串中的空格. 同学们需要注意的是,打印一个制表符'\t',其所占长度不是固定的. 这里要理解“制表符”和“制表符终止位”.“制表符”的作用是使 ...

  10. @synthesize和@dynamic

    @synthesize 除非开发人员已经做了,否则由编译器自动生成getter/setter方法.当开发人员自定义存或取方法时,自定义会屏蔽自动生成该方法. @dynamic 告诉编译器,不自动生成g ...