安装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. Android网络开发之Volley--Volley基本用法StringRequest(一)

    1.StringRequest用法 主要分为3步: (1).实例化一个RequestQueue对象 (2).设置StringRequest对象参数,并将StringRequest对象加入Request ...

  2. scrollView顶部空白

    在iOS7之后,苹果会自动给导航控制器里面的所有UIScrollView顶部都会添加额外的滚动区域64.

  3. Spark+ECLIPSE+JAVA+MAVEN windows开发环境搭建及入门实例【附详细代码】

    http://blog.csdn.net/xiefu5hh/article/details/51707529 Spark+ECLIPSE+JAVA+MAVEN windows开发环境搭建及入门实例[附 ...

  4. Ubuntu 开启SSH 以及LAMP环境安装

    1. 更新 apt-get sudo apt-get update 2.安装 openssh sudo apt-get install openssh-server 3.设置root账号密码 sudo ...

  5. 关于NOMINMAX这个预处理宏

    标准库在<algorithm>头中定义了两个模板函数std::min() 和 std::max().通常用它可以计算某个值对的最小值和最大值.可惜在 Visual C++ 无法使用它们,因 ...

  6. 缩进(Python很将就格式)

    空白在Python中是重要的.事实上行首的空白是重要的.它称为缩进.在逻辑行首的空白(空格和制表符)用来决定逻辑行的缩进层次,从而用来决定语句的分组.这意味着同一层次的语句必须有相同的缩进.每一组这样 ...

  7. ios 设置屏幕方向的两种方法

    第一种:通过人为的办法改变view.transform的属性. 具体办法: view.transform一般是View的旋转,拉伸移动等属性,类似view.layer.transform,区别在于Vi ...

  8. DownloadManager 版本更新,出现 No Activity found to handle Intent 的解决办法

    项目中,进行版本更新的时候,用的是自己写的下载方案,最近看到了使用系统服务 DownloadManager 进行版本更新,自己也试试. 在下载完成以后,安装更新的时候,出现了一个 crash,抓取的 ...

  9. Collections笔记

    Colletion是集合接口 Collections是集合工具类,是一个类哈! public class CollectionsTest { public static void main(Strin ...

  10. IOS开发-UI学习-delegate(代理)的使用,键盘消失

    代理是IOS开发中用到的一种设计模式.今天做了一个代理的小练习: 以下项目实现了两个页面之间的相互切换,并且在切换页面的时候完成了从一个页面往另一个页面的传值.从主页面往其他页面传值是容易的,但是反过 ...