重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 103|回复: 0

[安装] 卸载GI时执行反安装脚本报错:Can't locate Env.pm in @INC (@INC contains: /usr/...

[复制链接]
发表于 2021-9-17 19:52:52 | 显示全部楼层 |阅读模式
卸载GI执行反安装脚本: /u01/app/11.2.0/grid/crs/install/rootcrs.pl -verbose -deconfig -force
出现报错:Can't locate Env.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /u01/grid/grid_home/11.2.0.4/crs/install) at /u01/grid/grid_home/11.2.0.4/crs/install/crsconfig_lib.pm line 703.
BEGIN failed--compilation aborted at /u01/grid/grid_home/11.2.0.4/crs/install/crsconfig_lib.pm line 703.
Compilation failed in require at /u01/grid/grid_home/11.2.0.4/crs/install/rootcrs.pl line 305.
BEGIN failed--compilation aborted at /u01/grid/grid_home/11.2.0.4/crs/install/rootcrs.pl line 305.




处理方法为:
拷贝文件
cp -p /u01/grid/grid_home/11.2.0.4/perl/lib/5.10.0/Env.pm /usr/lib64/perl5/vendor_perl/
然后再执行脚本:
/u01/app/11.2.0/grid/crs/install/rootcrs.pl -verbose -deconfig -force
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2021-10-24 12:11 , Processed in 0.071788 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表