暂无图片
暂无图片
1
暂无图片
暂无图片
暂无图片

19cRAC安装踩坑实录(三)-------CLSRSC-119

原创 落荃 恩墨学院 2022-10-21
1126

在执行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进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论