rootcrs.pl/roothas.pl Fails With Can't locate Env.pm
(Doc ID 2019784.1)
Last updated on JULY 26, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.1 to 12.1.0.1 [Release 11.2 to 12.1]Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
While performing deconfig of GI could fail as below due to the issue with perl
[root@<node1> grid]# /u01/app/oracle/product/11.2.0.4/grid/crs/install/roothas.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/oracle/product/11.2.0.4/grid/crs/install) at /u01/app/oracle/product/11.2.0.4/grid/crs/install/crsconfig_lib.pm line 703.
BEGIN failed--compilation aborted at /u01/app/oracle/product/11.2.0.4/grid/crs/install/crsconfig_lib.pm line 703.
Compilation failed in require at /u01/app/oracle/product/11.2.0.4/grid/crs/install/roothas.pl line 166.
BEGIN failed--compilation aborted at /u01/app/oracle/product/11.2.0.4/grid/crs/install/roothas.pl line 166.
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/oracle/product/11.2.0.4/grid/crs/install) at /u01/app/oracle/product/11.2.0.4/grid/crs/install/crsconfig_lib.pm line 703.
BEGIN failed--compilation aborted at /u01/app/oracle/product/11.2.0.4/grid/crs/install/crsconfig_lib.pm line 703.
Compilation failed in require at /u01/app/oracle/product/11.2.0.4/grid/crs/install/roothas.pl line 166.
BEGIN failed--compilation aborted at /u01/app/oracle/product/11.2.0.4/grid/crs/install/roothas.pl line 166.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |