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

标题: rootcrs.pl -deconfig –force,报:Can't locate Env.pm in @INC [打印本页]

作者: 郑全    时间: 2024-11-15 00:28
标题: rootcrs.pl -deconfig –force,报:Can't locate Env.pm in @INC
[root@prod2 ~]# /u01/app/11.2.0/grid/crs/install/rootcrs.pl -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/app/11.2.0/grid/crs/install) at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 715.
BEGIN failed--compilation aborted at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 715.
Compilation failed in require at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 306.
BEGIN failed--compilation aborted at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 306.

直接使用PERL路劲执行即可:

[root@prod2 ~]# /u01/app/11.2.0/grid/perl/bin/perl /u01/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig -force
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Network exists: 1/10.1.2.0/255.255.255.0/pbnd0, type static
VIP exists: /prod1-vip/10.1.2.83/10.1.2.0/255.255.255.0/pbnd0, hosting node prod1
。。。






欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2