在部署Oracle11gR2执行root.sh脚本时遇到CRS-2101问题怎么办
发表于:2025-02-01 作者:千家信息网编辑
千家信息网最后更新 2025年02月01日,这篇文章主要为大家展示了"在部署Oracle11gR2执行root.sh脚本时遇到CRS-2101问题怎么办",内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下"
千家信息网最后更新 2025年02月01日在部署Oracle11gR2执行root.sh脚本时遇到CRS-2101问题怎么办
这篇文章主要为大家展示了"在部署Oracle11gR2执行root.sh脚本时遇到CRS-2101问题怎么办",内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下"在部署Oracle11gR2执行root.sh脚本时遇到CRS-2101问题怎么办"这篇文章吧。
在部署Oracle11gR2执行root.sh脚本时,遇上bug导致[client(16400)]CRS-2101:The OLR was formatted using version 3问题,然后就卡着不动,过程如下:
[root@qsyxdb1 home]# /u01/app/11.2.0/grid/root.shPerforming root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /u01/app/11.2.0/grid 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 byDatabase Configuration Assistant when a database is createdFinished running generic part of root script.Now product-specific root actions will be performed.Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_paramsCreating trace directoryUser ignored Prerequisites during installationInstalling Trace File AnalyzerOLR initialization - successful root wallet root wallet cert root cert export peer wallet profile reader wallet pa wallet peer wallet keys pa wallet keys peer cert request pa cert request peer cert pa cert peer root cert TP profile reader root cert TP pa root cert TP peer pa cert TP pa peer cert TP profile reader pa cert TP profile reader peer cert TP peer user cert pa user certAdding Clusterware entries to inittabohasd failed to startFailed to start the Clusterware. Last 20 lines of the alert log follow: 2018-08-16 16:16:59.741: [client(16400)]CRS-2101:The OLR was formatted using version 3.
提示错误并卡在此处,遇上了就不多说,直接另开一个会话窗口,在root用户下执行/bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1(注:根据操作系统版本不同,npohasd文件目录可能不同,更改目录路径即可)继续监控root.sh执行输出日志,如下所示,顺利完成。
CRS-2672: Attempting to start 'ora.mdnsd' on 'qsyxdb1'CRS-2676: Start of 'ora.mdnsd' on 'qsyxdb1' succeededCRS-2672: Attempting to start 'ora.gpnpd' on 'qsyxdb1'CRS-2676: Start of 'ora.gpnpd' on 'qsyxdb1' succeededCRS-2672: Attempting to start 'ora.cssdmonitor' on 'qsyxdb1'CRS-2672: Attempting to start 'ora.gipcd' on 'qsyxdb1'CRS-2676: Start of 'ora.cssdmonitor' on 'qsyxdb1' succeededCRS-2676: Start of 'ora.gipcd' on 'qsyxdb1' succeededCRS-2672: Attempting to start 'ora.cssd' on 'qsyxdb1'CRS-2672: Attempting to start 'ora.diskmon' on 'qsyxdb1'CRS-2676: Start of 'ora.diskmon' on 'qsyxdb1' succeededCRS-2676: Start of 'ora.cssd' on 'qsyxdb1' succeeded 已成功创建并启动 ASM。 已成功创建磁盘组OCR。 clscfg: -install mode specifiedSuccessfully accumulated necessary OCR keys.Creating OCR keys for user 'root', privgrp 'root'..Operation successful.CRS-4256: Updating the profileSuccessful addition of voting disk ada400ba18eb4f92bf9bdaa9171a7775.Successful addition of voting disk 2308ef593a784fb7bff13436b84c61a3.Successful addition of voting disk 3e882c78f43c4f32bff9e12e71de3866.Successfully replaced voting disk group with +OCR.CRS-4256: Updating the profileCRS-4266: Voting file(s) successfully replaced## STATE File Universal Id File Name Disk group-- ----- ----------------- --------- --------- 1. ONLINE ada400ba18eb4f92bf9bdaa9171a7775 (/dev/asmdiskb) [OCR] 2. ONLINE 2308ef593a784fb7bff13436b84c61a3 (/dev/asmdiskc) [OCR] 3. ONLINE 3e882c78f43c4f32bff9e12e71de3866 (/dev/asmdiskd) [OCR]Located 3 voting disk(s).CRS-2672: Attempting to start 'ora.asm' on 'qsyxdb1'CRS-2676: Start of 'ora.asm' on 'qsyxdb1' succeededCRS-2672: Attempting to start 'ora.OCR.dg' on 'qsyxdb1'CRS-2676: Start of 'ora.OCR.dg' on 'qsyxdb1' succeededConfigure Oracle Grid Infrastructure for a Cluster ... succeeded[root@qsyxdb1 home]#
在节点2执行root.sh的时候,依然出现了这种情况,如法炮制即可,过程如下。
[root@qsyxdb2 ~]# /u01/app/11.2.0/grid/root.shPerforming root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /u01/app/11.2.0/grid 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 byDatabase Configuration Assistant when a database is createdFinished running generic part of root script.Now product-specific root actions will be performed.Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_paramsCreating trace directoryUser ignored Prerequisites during installationInstalling Trace File AnalyzerOLR initialization - successfulAdding Clusterware entries to inittabohasd failed to startFailed to start the Clusterware. Last 20 lines of the alert log follow: 2018-08-16 16:51:44.453: [client(15563)]CRS-2101:The OLR was formatted using version 3. CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node qsyxdb1, number 1, and is terminatingAn active cluster was found during exclusive startup, restarting to join the clusterConfigure Oracle Grid Infrastructure for a Cluster ... succeeded[root@qsyxdb2 ~]#
以上是"在部署Oracle11gR2执行root.sh脚本时遇到CRS-2101问题怎么办"这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注行业资讯频道!
脚本
问题
怎么办
内容
篇文章
不同
成功
目录
过程
学习
帮助
如法炮制
操作系统
情况
文件
日志
时候
易懂
更多
条理
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
英语软件开发商
龙源数据库是什么级别期刊
软件开发导论课程
亿米国际网络技术有限公司
倩女幽服务器名
大专生的论文会存到国家数据库吗
高中网络安全与法律法规
棋牌软件开发骗局
软件开发后如何转行
戴尔服务器电源改装
网络安全家长会简报
软件开发的11种模式分别是什么
SQL数据库厂商
服务器锁插件
应用虚拟化服务器搭建
网络安全和信息化体会措施
如何判断数据库是否支持事务
计算机网络技术实训虚拟机
微交易软件开发周期
ibm x86服务器还有吗
厦门航空软件开发
网络技术计算机三级成绩
写网络安全的论文的感想
防城港软件开发培训
网络安全制度的作用
软件开发文档封面图可爱
大学校园网络安全排名
大型活动网络安全风险及对策
计算机三级网络技术填空题
广东5g专业服务器机柜