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

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1426|回复: 0
打印 上一主题 下一主题

[安装] Can't locate Env.pm in @INC (@INC contains

[复制链接]
跳转到指定楼层
楼主
发表于 2023-11-12 16:44:34 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
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


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-25 06:31 , Processed in 0.094876 second(s), 21 queries .

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

© 2001-2020

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