安装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

转载于:https://www.cnblogs.com/suifu/p/5823076.html

Failed to register Grid Infrastructure type ora.mdns.type相关推荐

  1. CRS-2728: A resource type with the name 'ora.daemon.type' is already register

    安装11g的集群软件的时候,在最后运行root.sh脚本时候,没有执行成功,最后提示如下错误: [root@r2 ~]# /u01/app/11.2.0/grid_1/root.sh Performi ...

  2. How to recover from root.sh on 11.2 Grid Infrastructure Failed

    从10g的clusterware到11g Release2的Grid Infrastructure,Oracle往RAC这个框架里塞进了太多东西.虽然照着Step by Step Installati ...

  3. Oracle 19c Grid Infrastructure安装

    概述 本文描述在单个主机上(不是RAC)GI 19c的安装. Oracle数据库软件19c已安装,但未创建任何数据库.参见这篇文章. 主机为Oracle Linux 7,主机上已安装先决条件包(ora ...

  4. INS-20802 PRVF-9802 PRVF-5184 PRVF-5186 After Successful Upgradeto 11gR2 Grid Infrastructure

    INS-20802 PRVF-9802 PRVF-5184 PRVF-5186 After Successful Upgradeto 11gR2 Grid Infrastructure (文档 ID ...

  5. 为11.2.0.2 Grid Infrastructure添加节点

    在之前的文章中我介绍了为10g RAC Cluster添加节点的具体步骤.在11gr2中Oracle CRS升级为Grid Infrastructure,通过GI我们可以更方便地控制CRS资源如:VI ...

  6. Oracle Grid Infrastructure: Understanding Split-Brain Node Eviction (文档 ID 1546004.1)

    In this Document   Purpose   Scope   Details   What does "split brain" mean?   Why is this ...

  7. 11gR2 Grid Infrastructure Installation prerequisites On LINUX

    基础环境 服务器品牌 IBM 服务器型号 X3650M2 cpu类型 Intel Xeon E5620@ 2.40GHz cpu个数 2 内存大小 24G 磁盘阵列 DS3200 硬盘大小 1.8TB ...

  8. oracle grid infrastructure 安装,安装Oracle Grid Infrastructure for a Standalone Server

    因为使用asm ,必须要有 css 服务,为了后续的 asm 实验,所以有了这个安装1.创建用户groupadd -g 501 oinstallgroupadd -g 502 dbagroupadd ...

  9. Oracle 19.3 Grid Infrastructure 软件安装详细教程

    更多文章,欢迎关注作者公众号,欢迎一起交流. 1 安装环境 CentOS 7.9 Oracle Database 19.3 - Enterprise Edition 2 安装配置 2.1 内存要求 1 ...

最新文章

  1. 就《在企业中发起和推广DevOps》的问答
  2. 无重复字符串的排列组合
  3. 安装 Windows8 后值得做的十多项简单优化,让Win8速度快上加快!
  4. 9个用于构建容错系统的开源工具
  5. windows mysql.tar安装_MySQL的安装
  6. hihoCoder #1104 Suzhou Adventure
  7. 波卡生态跨链隐私中间件协议Raze Network将于4月中旬开启IDO和LBP
  8. 酒店返现应用评测: 企鹅竟然没有模仿?
  9. Javascript DOM readyState 属性
  10. 安利几个实用且有趣的Excel实用技巧给你
  11. adb ps shell 查看进程_adb中ps命令的详解
  12. scJoint integrates atlas-scale single-cell RNA-seq and ATAC-seq data with transfer learning
  13. librosa 安装
  14. 微分方程零解稳定性matlab,微分方程零解及稳定性.doc
  15. MySQL可重复读隔离级别能解决幻读吗?
  16. PDF文件制作方法与指南
  17. qt获取本机IP地址、计算机名、网络连接名、MAC地址、子网掩码、广播地址
  18. php下载图片excel过大,PHPExcel导出图片大小设置问题
  19. 口袋取球的取法问题(C++实现)
  20. matlab智能算法之模拟退火算法

热门文章

  1. javascript图片浏览器的核心——图片预加载
  2. 当程序员的一个人无聊时,甚至用Python开发出机器人看他们聊天
  3. 这个Python知识点,90%初学者没太整明白
  4. php mysql两个表合并_php – 我可以将两个MySQL查询合并为一个吗?
  5. 可以卸载什么程序来对计算机进行瘦身,电脑越来越卡了,教你一分钟让电脑瘦身(C盘哪些文件可以删除)-怎么清理电脑内存...
  6. java jdbc工具类抽取_JavaWeb入门(三):JDBC工具类的抽取
  7. ASP.NET MVC – 视图简介
  8. 如何用Python实现多任务版的udp聊天器
  9. 如何规划创建一个家庭实验室
  10. 初识C语言---(2)