Execution failed: Can't locate Env.pm in @INC (Perl script (roothas.pl))

[root@testdb1 ~]# /opt/grid/product/11.2.0.3/crs/install/roothas.pl -deconfig

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 . /opt/grid/product/11.2.0.3/crs/install) at /opt/grid/product/11.2.0.3/crs/install/crsconfig_lib.pm line 642.

BEGIN failed--compilation aborted at /opt/grid/product/11.2.0.3/crs/install/crsconfig_lib.pm line 642.

Compilation failed in require at /opt/grid/product/11.2.0.3/crs/install/roothas.pl line 159.

BEGIN failed--compilation aborted at /opt/grid/product/11.2.0.3/crs/install/roothas.pl line 159.

Solution:

[root@testdb1 /]# cd /

[root@testdb1 /]# find . -name Env.pm -print

./opt/grid/product/11.2.0.3/perl/lib/5.10.0/Env.pm

[root@testdb1 /]# cp -p /opt/grid/product/11.2.0.3/perl/lib/5.10.0/Env.pm /usr/share/perl5/vendor_perl/

[root@testdb1 ~]# /opt/grid/product/11.2.0.3/crs/install/roothas.pl –deconfig -force

Comments