在AIX6.1下安装ORACLE11.2.0.4 RAC的时候,在节点2执行root.sh报错如下:
[root@oratest02:/oracle/]#sh /oracle/app/11.2.0/grid_1/root.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /oracle/app/11.2.0/grid_1

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...

Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /oracle/app/11.2.0/grid_1/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
CRS-4046: Invalid Oracle Clusterware configuration.
CRS-4000: Command Create failed, or completed with errors.
Failure initializing entries in /etc/oracle/scls_scr/oratest02
/oracle/app/11.2.0/grid_1/perl/bin/perl -I/oracle/app/11.2.0/grid_1/perl/lib -I/oracle/app/11.2.0/grid_1/crs/install /oracle/app/11.2.0/grid_1/crs/install/rootcrs.pl execution failed
通过如下:

CRS-4046: Invalid Oracle Clusterware configuration. (Doc ID 1396266.1) To Bottom

In this Document

Purpose
Details
  Case 1: CRS-4046 happens when running root.sh

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

PURPOSE

This note lists known issues, workaround and solutions for the following Grid Infrastructure errors:

CRS-4046: Invalid Oracle Clusterware configuration.
CRS-4000: Command Create failed, or completed with errors.

DETAILS

Case 1: CRS-4046 happens when running root.sh

It's likely that the leftovers from previous install caused the root.sh to fail.

Solution:

  • If setting up Grid Infrastructure cluster, on the node where the error was reported, as root, execute the following:
# /crs/install/rootcrs.pl -deconfig -force -verbose
  • If setting up Grid Infrastructure Standalone (Oracle Restart), as root, execute the following:
# /crs/install/roothas.pl -deconfig -force -verbose

If the output is similar to the following:

..
CRS-4046: Invalid Oracle Clusterware configuration.
CRS-4000: Command Stop failed, or completed with errors.
################################################################
You must kill processes or reboot the system to properly #
# cleanup the processes started by Oracle clusterware          #
################################################################
ACFS-9313: No ADVM/ACFS installation detected.
Failure in execution (rc=-1, 256, No such file or directory) for command /etc/init.d/ohasd deinstall
error: package cvuqdisk is not installed
Successfully deconfigured Oracle clusterware stack on this node

Either reboot the node or execute the following to stop any processes that's still running from GRID_HOME:

# ps -ef| grep

i.e.: # ps -ef| grep "/ocw/grid"

If there's still processes, kill them with "kill -9" command

Once the above reboot or stop is done, as root, execute root.sh from GRID_HOME:

# /root.sh

可如下解决:
[root@oratest02:/oracle/app/11.2.0/grid_1/crs/install/]#./rootcrs.pl -deconfig -force -verbose
Using configuration parameter file: ./crsconfig_params
****Unable to retrieve Oracle Clusterware home.
Start Oracle Clusterware stack and try again.
CRS-4046: Invalid Oracle Clusterware configuration.
CRS-4000: Command Stop failed, or completed with errors.
CRS-4046: Invalid Oracle Clusterware configuration.
CRS-4000: Command Modify failed, or completed with errors.
CRS-4046: Invalid Oracle Clusterware configuration.
CRS-4000: Command Delete failed, or completed with errors.
CRS-4046: Invalid Oracle Clusterware configuration.
CRS-4000: Command Stop failed, or completed with errors.
################################################################
# You must kill processes or reboot the system to properly #
# cleanup the processes started by Oracle clusterware          #
################################################################
This may take several minutes. Please wait ...
0518-307 odmdelete: 1 objects deleted.
0518-307 odmdelete: 1 objects deleted.
0518-307 odmdelete: 1 objects deleted.
Successfully deconfigured Oracle clusterware stack on this node
[root@oratest02:/oracle/app/11.2.0/grid_1/crs/install/]#cd

再次执行root.sh:
                                 
[root@oratest02://]#sh /oracle/app/11.2.0/grid_1/root.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /oracle/app/11.2.0/grid_1

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /oracle/app/11.2.0/grid_1/crs/install/crsconfig_params
User ignored Prerequisites during installation
Installing Trace File Analyzer
User grid has the required capabilities to run CSSD in realtime mode
OLR initialization - successful
Adding Clusterware entries to inittab
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node oratest01, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
Configure Oracle Grid Infrastructure for a Cluster ... succeeded

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/28612416/viewspace-2102711/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/28612416/viewspace-2102711/

CRS-4046: Invalid Oracle Clusterware configuration相关推荐

  1. CRS-6706: Oracle Clusterware Release patch level ('3329448500') does not match Software patch level

    oracle19.3.0.0 rac+centos7.6 补丁为19.5.0.0 启动crs报错如下: [root@rac2 ~]# /oracle/app/19c/grid/bin/crsctl s ...

  2. oracle+prko+2006,oracle卸载Oracle Clusterware

    现象描述: 在oracle 10g/11g版本引进的oracle集群软件oracle clusterware,如果需要在服务器上重新安装Oracle clusterware(crs),首先必须把Ora ...

  3. oracle的crs是什么,Oracle CRS简介

    Oracle CRS简介 从Oracle 10gR1 RAC 开始,Oracle推出了自身的集群软件,这个软件的名称叫做Oracle Cluster Ready Service(Oracle集群就绪服 ...

  4. oracle clusterware 11g,oracle clusterware 10g/11g 过程详解

    oracle clusterware 10g/11g 进程详解  oracle clusterware 10g/11g 进程详解 The Oracle 10g Clusterware proces ...

  5. Oracle 19c rac PSU安装及问题 - CRS-6706: Oracle Clusterware Release patch level ('nnn') does not match

    -- 19c rac 19.3.0.0 安装PSU  19.7.0.0.200414 /stage 下的补丁文件夹的属性是grid:oinstall --GI用户下 $ORACLE_HOME/OPat ...

  6. oracle+prko+2006,oracle卸载Oracle Clusterware(转载)

    一.脚本自动删除 切换到root用户 $Su – root #cd $ORA_CRS_HOME/install 1.执行rootdelete.sh脚本 # ./rootdelete.sh Gettin ...

  7. How to Deinstall Oracle Clusterware Home Manually

    ###sample 0:安装GI 和DB soft 都成功,如何回退DB soft [opdb@pdbdb01:/db/db/app/db/product/11204/deinstall]$ ./de ...

  8. jumbo 安装mysql,RAC 和 Oracle Clusterware 最佳实践和初学者指南「ID 1526083.1」

    In this Document Applies to: Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.3 [Re ...

  9. Oracle Clusterware的命令集可以分为以下4种: 节点层:osnodes 网络层:oifcfg 集群层:crsctl, ocrcheck,ocrdump,ocrconfig 应用

    Oracle Clusterware的命令集可以分为以下4种:  节点层:osnodes  网络层:oifcfg  集群层:crsctl, ocrcheck,ocrdump,ocrconfig  应用 ...

最新文章

  1. ThreadPoolExecutor使用错误导致死锁
  2. 图像中里面的Ground Truth
  3. MySQL查看索引使用情况
  4. EOJ_1057_排名汇总
  5. MySQL数据库的优化(下)MySQL数据库的高可用架构方案
  6. 显示当前行号、文件名和函数名(二)
  7. 网络编程之 application/x-www-form-urlencoded MIME编码
  8. django request对象和HttpResponse对象
  9. python学习网站-有哪些值得推荐的Python学习网站?
  10. 压缩感知(Compressed sensing)from wiki
  11. C++入门系列博客四 const define static关键字
  12. ubuntu18.04-安装-wechat
  13. 数字信号处理设计与仿真分析
  14. 条件关系和因果关系,原因和理由的区别
  15. 设计模式总结(Java)
  16. python在图片上添加文字 - cv2模块的安装与使用
  17. 如何进入BIOS模式,BIOS进不去解决方案
  18. preempt-RT patches
  19. zsore和经验法则(统计学原理)
  20. vant中遍历本地图片路径写法

热门文章

  1. Pandas - Review
  2. wro4j:Java Web资源压缩
  3. 调试经验——键盘C键V键和H键失灵
  4. canvas画板涂鸦动画进度条动画
  5. android elevation 白色,Android Elevation设置_安卓动态设置elevation_android elevation设置透明度...
  6. 广西北海打击涉嫌传销“一日游” 一周查获7辆涉传大巴
  7. 北京农行研发中心面试总结(夏季实习生)
  8. 好用的word插件汇总
  9. 在虚拟机Virtual box搭建linux环境
  10. Bootstrap Table API 中文版(完整翻译文档)