安装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. VMware NAT端口映射外网访问虚拟机linux

    本文目的: 一. SSH连接 二. 访问HTTP VMware Workstation提供了两种虚拟机上网方式,一种bridge,一种NAT,bridge可以获得公网地址,而NAT只能是内网地址了. ...

  2. Linux:crontab的安装以及使用方法

    安装crontab: [root@wulaoer ~]# yum install vixie-cron [root@wulaoer ~]# yum install crontabs 说明:vixie- ...

  3. win7 以管理员身份运行cmd, windows services 的创建和删除

    以 http 协议访问svn repository 搭建可用http访问的svn(windows) http://blog.csdn.net/yangyangrenren/article/detail ...

  4. Python tab 命令补全,以及 vim 补全

    在python 命令行中,使用补全 python 查看 packages 的目录 可用 sys.path 查看. /usr/lib/python2.7/site-packages vim tab.py ...

  5. [Big Data]hadoop分布式系统在Linux系统安装

    待完善 Hadoop2.6.0部署与应用 一.    环境准备 硬件:3台虚拟机 内存:至少512MB 硬盘:至少20G 操作系统:rhel6.4  64位 最小化安装 主机名 IP(局域网) 描述 ...

  6. 方法的标签_With携带

    方法中参数的标签: 标签的由来:1.标签也是方法名的一部分:2.为了提高程序的阅读性:OC方法允许我们给每个参数添加一个标签来说明当前参数的含义: 标签的作用:标签是为了标识变量的,因此标签名和变量名 ...

  7. Flash CS 自定义组件

    2012年的时候,做了一些研究,可以后来没有去整理,没有去用到项目里头,现在把这些东西都放出来纪念一下,也给有需要的人作为参考. 基本知识: Flash使用基本知识与ActionScript 3.0的 ...

  8. 一个很好玩的命令:stty

    stty命令修改终端命令行的相关设置.语法stty(选项)(参数)选项-a:以容易阅读的方式打印当前的所有配置:-g:以stty可读方式打印当前的所有配置.参数终端设置:指定终端命令行的设置选项.实例 ...

  9. LWIP_STM32_ENC28J60_NETCONN_UDP(3)

    前面移植了lwip之后只是简单地做了一个dhcp的程序,但是实际工作中经常要用来通讯,那今天就来讲一讲怎么用lwip来进行UDP通讯 要使用数据通信首先第一步得知道lwip是怎么样保存数据的,在使用n ...

  10. iOS开发——闪光灯

    还是那句很欠揍的话,没啥难度,直接上代码. // //  ViewController.m //  Demo—闪光灯 // //  Created by yyt on 16/4/21. //  Cop ...