[重庆思庄每日技术分享]-卸载grid时运行脚本报错Can't locate Env.pm in @INC

来源:这里教程网 时间:2026-03-03 17:35:34 作者:

执行卸载grid的脚本报错:

Can’t locate Env.pm in @INC (@INC contains: /usr/local/lib64/perl5  /usr/local/share/perl5  /usr/lib64/perl5/vendor_perlusr/share/perl5/vendor_perl /usr/lib64/perl5  /usr/share/perl5 . /u01/app/11.2.0/grid/crs/install) at  /u01/app/11.2.0/gd/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.

centos7 系统执行 yum install perl-Env

再次执行卸载脚本即可正常运行

相关推荐