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

Last updated on AUGUST 09, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

12.1.0.2 Grid Infrastructure rootcrs.pl fails:

<GI_HOME>/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 . /ocw/c102/crs/install /ocw/c102/crs/install/../../perl/lib) at /ocw/c102/crs/install/crsinstall.pm line 210.
BEGIN failed--compilation aborted at /ocw/c102/crs/install/crsinstall.pm line 210.
Compilation failed in require at /ocw/c102/crs/install/rootcrs.pl line 156.
BEGIN failed--compilation aborted at /ocw/c102/crs/install/rootcrs.pl line 156.

 

$ ls -l <GI_HOME>/crs/install/../../perl/lib
total 8
drwxr-xr-x 60 grid oinstall 4096 Sep 11 09:51 5.14.1
drwxr-xr-x 3 grid oinstall 4096 Sep 11 09:48 site_perl

 

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