My Oracle Support Banner

OPatchauto fails to execute due to: Can't locate in @INC (Doc ID 2393523.1)

Last updated on AUGUST 04, 2018

Applies to:

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


OPatchauto session fails calling

Stopping CRS ... Failed
Command "/usr/bin/perl /u01/app/12.1.0/grid/crs/install/ -prepatch" execution failed:
Can't locate 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/12.1.0/grid/crs/install /u01/app/12.1.0/grid/crs/install/../../perl/lib) at /u01/app/12.1.0/grid/crs/install/ line 210.
BEGIN failed--compilation aborted at /u01/app/12.1.0/grid/crs/install/ line 210.
Compilation failed in require at /u01/app/12.1.0/grid/crs/install/ line 156.
BEGIN failed--compilation aborted at /u01/app/12.1.0/grid/crs/install/ line 156.

 Customer is using OPatch


Customer is attempting to apply a Clusterware patch.


To view full details, 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 a vibrant support community of peers and Oracle experts.