RHEL 7.6上安装Oracle RAC 12c,运行root.sh脚本的时候出现CLSRSC-614: failed to get the list of configured diskgroups错误。
CRS-2672: Attempting to start 'ora.OCR.dg' on 'rac01'
CRS-2676: Start of 'ora.OCR.dg' on 'rac01' succeeded
2022/04/27 19:58:32 CLSRSC-594: Executing installation step 19 of 19: 'PostConfig'.
2022/04/27 20:03:37 CLSRSC-614: failed to get the list of configured diskgroups
Died at /u01/app/12.2.0.1/grid/crs/install/oraasm.pm line 2069.
The command '/u01/app/12.2.0.1/grid/perl/bin/perl -I/u01/app/12.2.0.1/grid/perl/lib -I/u01/app/12.2.0.1/grid/crs/install /u01/app/12.2.0.1/grid/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