Os Redhat 7.6
Oracle RAC 12.2.0.1
先打补丁后安装软件
执行root.sh时报如下错误:
CRS-4123: Oracle High Availability Services has been started.
2021/03/10 17:37:57 CLSRSC-343: Successfully started Oracle Clusterware stack
2021/03/10 17:37:57 CLSRSC-594: Executing installation step 18 of 19: ‘ConfigNode’.
2021/03/10 17:38:00 CLSRSC-594: Executing installation step 19 of 19: ‘PostConfig’.
2021/03/10 17:43:34 CLSRSC-614: failed to get the list of configured diskgroups
Died at /grid/12.2/crs/install/oraasm.pm line 2069.
The command '/grid/12.2/perl/bin/perl -I/grid/12.2/perl/lib -I/grid/12.2/crs/install /grid/12.2/crs/install/rootcrs.pl ’ execution failed
解决方法
[root@orcl]#export ORACLE_HOME=/grid/12.2
[root@orcl]#cd /grid/12.2/rdbms/lib
[root@orcl /grid/12.2/rdbms/lib]#/usr/bin/make -f ins_rdbms.mk client_sharedlib libasmclntsh12.ohso libasmperl12.ohso ORACLE_HOME=$ORACLE_HOME
重新执行root.sh成功