Problem Applying Patch using OPatch - "Can't locate DBI.pm in @INC..."
(Doc ID 987924.1)
Last updated on JULY 17, 2020
Applies to:
Portal - Version 11.1.1.4.0 and laterInformation in this document applies to any platform.
Symptoms
An error is seen applying patch using OPatch on a Linux environment
....
Executing the Apply pre-patch script (/<ORACLE_HOME>/4919270/4919270/custom/scripts/pre)...
Can't locate DBI.pm in @INC (@INC contains: /<ORACLE_HOME>/perl/lib/site_perl/5.6.1/IA64.ARCHREV_0 /<ORACLE_HOME>/perl/lib/5.6.1/i686-linux /<ORACLE_HOME>/perl/lib/5.6.1 /project/ias904/src/src_021106/pdc_perl/bin/Linux/Opt/lib/5.6.1/i686-linux /project/ias904/src/src_021106/pdc_perl/bin/Linux/Opt/lib/5.6.1 /project/ias904/src/src_021106/pdc_perl/bin/Linux/Opt/lib/site_perl/5.6.1/i686-linux /project/ias904/src/src_021106/pdc_perl/bin/Linux/Opt/lib/site_perl/5.6.1 /project/ias904/src/src_021106/pdc_perl/bin/Linux/Opt/lib/site_perl .) at opatchutils.pm line 47.
BEGIN failed--compilation aborted at opatchutils.pm line 47.
Compilation failed in require at opatch.pl line 65.
BEGIN failed--compilation aborted at opatch.pl line 65.
PERL5LIB=/<ORACLE_HOME>/perl/lib/5.6.1:/u01/app/oracle/OraHome_1/4919270/4919270/custom/scripts/perl_modules; export PERL5LIB
/<ORACLE_HOME>/perl/bin/perl /u01/app/oracle/OraHome_1/4919270/4919270/custom/scripts/pre.pl -apply 4919270 -s <PORTAL_SCHEMA> -p <PORTAL_PASSWORD> -c <HOSTNAME>:<DB_PORT>:<SERVICE_NAME>
Executing the Apply pre-patch script (/<ORACLE_HOME>/4919270/4919270/custom/scripts/pre)...
Can't locate DBI.pm in @INC (@INC contains: /<ORACLE_HOME>/perl/lib/site_perl/5.6.1/IA64.ARCHREV_0 /<ORACLE_HOME>/perl/lib/5.6.1/i686-linux /<ORACLE_HOME>/perl/lib/5.6.1 /project/ias904/src/src_021106/pdc_perl/bin/Linux/Opt/lib/5.6.1/i686-linux /project/ias904/src/src_021106/pdc_perl/bin/Linux/Opt/lib/5.6.1 /project/ias904/src/src_021106/pdc_perl/bin/Linux/Opt/lib/site_perl/5.6.1/i686-linux /project/ias904/src/src_021106/pdc_perl/bin/Linux/Opt/lib/site_perl/5.6.1 /project/ias904/src/src_021106/pdc_perl/bin/Linux/Opt/lib/site_perl .) at opatchutils.pm line 47.
BEGIN failed--compilation aborted at opatchutils.pm line 47.
Compilation failed in require at opatch.pl line 65.
BEGIN failed--compilation aborted at opatch.pl line 65.
PERL5LIB=/<ORACLE_HOME>/perl/lib/5.6.1:/u01/app/oracle/OraHome_1/4919270/4919270/custom/scripts/perl_modules; export PERL5LIB
/<ORACLE_HOME>/perl/bin/perl /u01/app/oracle/OraHome_1/4919270/4919270/custom/scripts/pre.pl -apply 4919270 -s <PORTAL_SCHEMA> -p <PORTAL_PASSWORD> -c <HOSTNAME>:<DB_PORT>:<SERVICE_NAME>
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 |