Oracle RAC 删除CRS集群配置失败

1.错误现象

[grid@rac1~]$ /u01/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig -force -verbose
Can't locate Env.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64
/app/11.2.0/grid/crs/install) at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 703.
BEGIN failed--compilation aborted at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 703.
Compilation failed in require at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 305.
BEGIN failed--compilation aborted at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 305.

2.解决方法

(1)直接安装perl命令

yum install perl-Env

(2)根据错误提示,将perl命令复制到所需路径

cp -p /u01/app/11.2.0/grid/perl/lib/5.10.0/Env.pm /usr/lib64/perl5/vendor_perl/

再次执行 /u01/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig -force -verbose 成功。

你可能感兴趣的:(oracle,数据库,RAC,问题处理)