rootcrs.pl/roothas.pl Fails With Can't locate Env.pm (Doc ID 2019784.1)

Last updated on OCTOBER 14, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 12.1.0.1 [Release 11.2 to 12.1]
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@RAC01 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.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms