Can't locate Env.pm in @INC (@INC contains

Can't locate Env.pm in @INC (@INC contains

#/u01/app/grid/11.2.0.4/crs/install/roothas.pl -deconfig -force -verbose

11.2.0.4 执行roothas.pl时报以下错误

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/app/grid/11.2.0.4/crs/install) at /u01/app/grid/11.2.0.4/crs/install/crsconfig_lib.pm line 703.
BEGIN failed--compilation aborted at /u01/app/grid/11.2.0.4/crs/install/crsconfig_lib.pm line 703.
Compilation failed in require at /u01/app/grid/11.2.0.4/crs/install/roothas.pl line 166.
BEGIN failed--compilation aborted at /u01/app/grid/11.2.0.4/crs/install/roothas.pl line 166.


此报错是由bug 18650453导致的,已经在在12.1.0.2中被修复

解决此问题可以使用以下补丁

1.补丁程序18650453: OL7: CLUSTERWARE ROOT SCRIPTS FAIL DUE TO: CAN'T LOCATE ENV.PM IN @INC


2.也可使用gi中绝对路径perl执行,解决

[root@asm01 11.2.0.4]# /u01/app/grid/11.2.0.4/perl/bin/perl   /u01/app/grid/11.2.0.4/crs/install/roothas.pl -deconfig -force
Using configuration parameter file: /u01/app/grid/11.2.0.4/crs/install/crsconfig_params
CRS-4639: Could not contact Oracle High Availability Services
CRS-4000: Command Stop failed, or completed with errors.
CRS-4639: Could not contact Oracle High Availability Services
CRS-4000: Command Delete failed, or completed with errors.
CRS-4544: Unable to connect to OHAS
CRS-4000: Command Stop failed, or completed with errors.
Successfully deconfigured Oracle Restart stack

 

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值