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

CRS-2728: A resource type with the name 'ora.daemon.type' is already register相关推荐

  1. Failed to register Grid Infrastructure type ora.mdns.type

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

  2. 关于spring boot的Bean named ‘aaa‘ is expected to be of type ‘bbb‘ but was actually of type ‘bbb‘问题的解决方案

    相信后端的同学在平时开发时都大多都使用到spring boot来开发,那么在使用bean工厂注册bean时说不定会遇到过Bean named 'aaa' is expected to be of ty ...

  3. 源码解析异常is expected to be of type ‘xxx‘ but was actually of type ‘xxx‘ 是如何发生的

    前言 这篇博客是对[@Resource 源码解析]做的一个补丁.主要会讲解在使用@Resource的时候发生的is expected to be of type 'xxx' but was actua ...

  4. Format specifies type 'id' but the argument has type 'NSError *__autoreleasing *

    我想打印error,但是出现了标题中的错误,代码如下: -(id)yobee_responseObjectForResponse:(NSURLResponse *)response data:(NSD ...

  5. R语言使用plot函数和lines函数可视化线图(line plot)时、图之间的主要区别是由选项type产生的、type参数常用参数说明、不同type生成的可视化图像对比

    R语言使用plot函数和lines函数可视化线图(line plot)时.图之间的主要区别是由选项type产生的.type参数常用参数说明.不同type生成的可视化图像对比 目录

  6. TypeError: Input 'b' of 'MatMul' Op has type float32 that does not match type int32 of argument 'a'.

    执行如下语句报错 TypeError: Input 'b' of 'MatMul' Op has type float32 that does not match type int32 of argu ...

  7. type torch.cuda.FloatTensor but found type torch.cuda.ByteTensor

    type torch.cuda.FloatTensor but found type torch.cuda.ByteTensor train_label_batch = torch.from_nump ...

  8. 错误处理:RuntimeError: Input type (torch.cuda.FloatTensor) and weight type (torch.FloatTensor) should be

    使用torchsummary的时候,出现以下错误: (涉及板块: python 库整理:Timm(1)_UQI-LIUWJ的博客-CSDN博客 pytorch 笔记:torchsummary_UQI- ...

  9. Failed to convert property value of type java.lang.String to required type java.lang.Integer for pro

    Failed to convert property value of type java.lang.String to required type java.lang.Integer for pro ...

最新文章

  1. 导出excel 数字前少0_【产品介绍】数字压力校验仪
  2. WiFi行业9大趋势解析
  3. delete,drop,truncate 区别
  4. redis的学习使用,第二章
  5. AttributeError: module ‘grpc.experimental.aio‘ has no attribute ‘StreamUnaryCall‘
  6. 【Apache Mina2.0开发之二】自定义实现Server/Client端的编解码工厂(自定义编码与解码器)!...
  7. Visual Editor插件下载、安装问题(Eclipse3.1.1)
  8. Android:IntentService的学习
  9. java udp丢包重发_UDPDataPacker_Java数据报之失序和丢包
  10. Python检查字符串是否包含另一个字符串
  11. Latex——在线快速生成表格代码
  12. 天龙mysql_天龙八部游戏数据库mysql安装.doc
  13. iOS进阶_地图上定位的标志——大头针
  14. 2018年上半年阅读书单
  15. 自定义类型的深度剖析
  16. 面向智慧文博的知识图谱构建综述
  17. vim 代码自动排版
  18. 恶意代码分析实战Lab03-01
  19. 系统运维的一些知识点
  20. 听过微信 8.0 可以查看微信等级?

热门文章

  1. DSP与CPU的区别
  2. 来画视频 v3.1.0
  3. 力扣刷题记录--哈希表相关题目
  4. 万字长文手把手带你部署 Train版OpenStack
  5. 无刷电机的噪音分析及解决办法---【其利无刷电机驱动方案】
  6. C# 安装程序制作,如何添加第三方DLL以及自定义的文件夹(如uploadFiles 文件夹)
  7. 忙中偷闲,研究一下软件设计师资格认证题目
  8. 计算机1级考试试题ps,计算机一级《PS》考试及基础习题与答案
  9. linux openfire 卸载,如何在Linux下安装openfire及解决常见的安装问题
  10. win7 系统盘如何瘦身! 可整理出4-5G。