在执行root.sh的过程中 ,第十六步执行出错
jiekesp5r1:/u01/app/19.0.0.0/grid # sh root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/app/19.0.0.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 by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Relinking oracle with rac_on option
Using configuration parameter file: /u01/app/19.0.0.0/grid/crs/install/crsconfig_params
The log of current session can be found at:
/u01/app/grid/crsdata/jiekesp5r1/crsconfig/rootcrs_jiekesp5r1_2021-03-01_03-52-02PM.log
2021/03/01 15:52:11 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'.
2021/03/01 15:52:11 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'.
2021/03/01 15:52:11 CLSRSC-363: User ignored prerequisites during installation
2021/03/01 15:52:11 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'.
2021/03/01 15:52:14 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'.
2021/03/01 15:52:14 CLSRSC-594: Executing installation step 5 of 19: 'SetupOSD'.
2021/03/01 15:52:15 CLSRSC-594: Executing installation step 6 of 19: 'CheckCRSConfig'.
2021/03/01 15:52:15 CLSRSC-594: Executing installation step 7 of 19: 'SetupLocalGPNP'.
2021/03/01 15:52:33 CLSRSC-594: Executing installation step 8 of 19: 'CreateRootCert'.
2021/03/01 15:52:39 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'.
2021/03/01 15:52:41 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
2021/03/01 15:52:53 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'.
2021/03/01 15:52:53 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'.
2021/03/01 15:52:58 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'.
2021/03/01 15:52:59 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
2021/03/01 15:53:26 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'.
2021/03/01 15:53:32 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'.
2021/03/01 15:53:37 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'.
2021/03/01 15:53:42 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'.
CRS-2672: Attempting to start 'ora.evmd' on 'jiekesp5r1'
CRS-2672: Attempting to start 'ora.mdnsd' on 'jiekesp5r1'
CRS-2676: Start of 'ora.mdnsd' on 'jiekesp5r1' succeeded
CRS-2676: Start of 'ora.evmd' on 'jiekesp5r1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'jiekesp5r1'
CRS-2676: Start of 'ora.gpnpd' on 'jiekesp5r1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'jiekesp5r1'
CRS-2672: Attempting to start 'ora.gipcd' on 'jiekesp5r1'
CRS-2676: Start of 'ora.cssdmonitor' on 'jiekesp5r1' succeeded
CRS-2674: Start of 'ora.gipcd' on 'jiekesp5r1' failed
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'jiekesp5r1'
CRS-2677: Stop of 'ora.cssdmonitor' on 'jiekesp5r1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'jiekesp5r1'
CRS-2677: Stop of 'ora.gpnpd' on 'jiekesp5r1' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'jiekesp5r1'
CRS-2677: Stop of 'ora.mdnsd' on 'jiekesp5r1' succeeded
CRS-2673: Attempting to stop 'ora.evmd' on 'jiekesp5r1'
CRS-2677: Stop of 'ora.evmd' on 'jiekesp5r1' succeeded
CRS-4000: Command Start failed, or completed with errors.
2021/03/01 15:54:46 CLSRSC-119: Start of the exclusive mode cluster failed
Died at /u01/app/19.0.0.0/grid/crs/install/crsinstall.pm line 2439.
CLSRSC-119:独占模式集群启动失败
原因:这个报错很神奇,经过多次查询发现ORACLE 19C规定集群名不能大于15位 否则就会在执行root.sh这一步出现问题
解决方式:将集群名字修改成十五位以内即可
[root@ol19c-rac1 etc]# vi /etc/hosts
1^\27.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
#public ip
192.168.245.141 ol19c-rac1
192.168.245.142 ol19c-rac2
#private ip
192.168.28.141 ol19c-rac1-priv
192.168.28.142 ol19c-rac2-priv
#vip
192.168.245.143 ol19c-rac1-vip
192.168.245.144 ol19c-rac2-vip
#scanip
192.168.245.145 ol19c-rac-scan
scanip就是集群IP 修改后边的集群名即可 我这里修改成了ol19c-rac-scan
然后重新运行root.sh即可(重新运行需要清理无效文件,具体参考下一期)
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。
评论
相关阅读
Oracle RAC 一键安装翻车?手把手教你如何排错!
Lucifer三思而后行
564次阅读
2025-04-15 17:24:06
【纯干货】Oracle 19C RU 19.27 发布,如何快速升级和安装?
Lucifer三思而后行
494次阅读
2025-04-18 14:18:38
Oracle SQL 执行计划分析与优化指南
Digital Observer
465次阅读
2025-04-01 11:08:44
XTTS跨版本迁移升级方案(11g to 19c RAC for Linux)
zwtian
456次阅读
2025-04-08 09:12:48
墨天轮个人数说知识点合集
JiekeXu
456次阅读
2025-04-01 15:56:03
【ORACLE】记录一些ORACLE的merge into语句的BUG
DarkAthena
443次阅读
2025-04-22 00:20:37
Oracle数据库一键巡检并生成HTML结果,免费脚本速来下载!
陈举超
431次阅读
2025-04-20 10:07:02
【ORACLE】你以为的真的是你以为的么?--ORA-38104: Columns referenced in the ON Clause cannot be updated
DarkAthena
418次阅读
2025-04-22 00:13:51
Oracle 19c RAC更换IP实战,运维必看!
szrsu
404次阅读
2025-04-08 23:57:08
【活动】分享你的压箱底干货文档,三篇解锁进阶奖励!
墨天轮编辑部
375次阅读
2025-04-17 17:02:24