Perl script (rootcrs.pl) execution failed: Can't locate Env.pm in @INC (@INC contains:

advertisements

_____________________________________________________________________________________________________________________

The Eucharistic Miracles of the World
Error Description: 

Perl script execution failed with following errors.

[root@Node1 install]# ./rootcrs.pl -unlock
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 . . ./../../perl/lib) at crsinstall.pm line 210.
BEGIN failed--compilation aborted at crsinstall.pm line 210.
Compilation failed in require at ./rootcrs.pl line 156.
BEGIN failed--compilation aborted at ./rootcrs.pl line 156.

Solution Description:
 
Step 1: 
search for Env.pm file from the / and locate the file using following command as root user.

find . -name Env.pm -print

Step 2: 
copy the Env.pm file to /usr/share/perl5/vendor_perl location and re-execute the perl script

[root@Node1 install]# cp -i /u01/app/12.1.0/grid/perl/lib/5.14.1/Env.pm /usr/share/perl5/vendor_perl
[root@Node1 install]# ./rootcrs.pl -unlock
Using configuration parameter file: ./crsconfig_params
2016/08/30 01:35:16 CLSRSC-4012: Shutting down Oracle Trace File Analyzer (TFA) Collector.


2016/08/30 01:36:54 CLSRSC-4013: Successfully shut down Oracle Trace File Analyzer (TFA) Collector.

2016/08/30 01:36:54 CLSRSC-347: Successfully unlock /u01/app/12.1.0/grid

_____________________________________________________________________________________________________________________

Website Stats

0 comments:

Post a Comment

Labels

Oracle (629) Script (86) General (77) Unix (47) Blog (23) Technology (19) gadget (6) games (6) Business (3) OCI (3) SQL* Loader (3) Datapump (2)
 

acehints.com Copyright 2011-23 All Rights Reserved | Site Map | Contact | Disclaimer