Recently, I was preparing myself to set up a fresh Oracle Restart environment to migrate few pluggable databases. My new X86_64bit OEL host had,
- Oracle Unbreakable Linux 9.6
- UEK 6.12.0-103.40.4.1. el9uek.x86_64 (UEK 8)
- GI and DB 19.3 base Binaries
- Latest opatch (Patch 6880880)
- Latest GI Release Update (RU) 19.28.0.0 (Patch 37957391)
- Latest OJVM Release Update (RU) 19.28.0.0.250715 (37847857)
- oracle@TESTDEVDB01 ~]$ id: uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54323(oper),54324(backupdba),54325(dgdba)34(asmoper),54335(asmadmin)
- grid@TESTDEVDB01 ~]$ id :uid=54331(grid) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54330(racdba),54333(asmdba),54334(asmoper),54335(asmadmin)
Preparing for setup
Grid binaries was first extracted to GI home
- unzip -q /u01/software/LINUX.X64_193000_grid_home.zip
Since base version 19.3 is not installable directly on OEL 9 (required 19.6 or above), GidsSetup was run with 19.28 RU applied first
- ./gridSetup.sh -applyRU /u01/software/37957391
You may experience “[INS-08101] Unexpected error while executing the action at state: ‘supportedOSCheck is occurred “otherwise.
Patching was successful. However, when (ASM)FD was selected during GridSetup (GUI), it complained ASMFD was not supported.
UEK downgrading
As per Oracle support note : ACFS and AFD Support On OS Platforms (Certification Matrix). (Doc ID 1369107.1) , UEK 8 was not part of the current support matrix and hence downgraded to kernel-uek-5.15.0-312.187.5.2 (latest EUK 7, as of now) Upon the change above, the installation was completed successfully on GI.
Note : Kernel.panic = 1 parameter had to be manually set during the setup process
OJVM Error during DB patching
Database Binary installation commenced along with 19.28 RU
unzip -q /u01/software/p6880880_190000_Linux-x86-64.zip
./runInstaller -applyRU /u01/software/37957391
Database RU and configurations were successful. With the application requiring OJVM, post DB install, I started applying the OJVM patch. (note that the opatch prereq CheckConflictAgainstOHWithDetail -ph ./ returned no errors)
opatch apply
During execution below error stack was returned
BEGIN failed–compilation aborted at /u01/app/oracle/product/19.0.0/dbhome1/javavm/install/update_javavm_binaries.pl line 64. make: *** [ins_rdbms.mk:573: javavm_refresh] Error 2 ‘The following make actions have failed : Re-link fails on target “javavm_refresh”. Do you want to proceed? [y|n] N Oracle started to rollback the patch by restoring the old files. However, it too failed
Error Log info
[Sep 22, 2025 11:36:08 AM] [INFO] Finish invoking ‘make’ at Mon Sep 22 11:36:08 IST 2025
[Sep 22, 2025 11:36:08 AM] [WARNING]OUI-67200:Make failed to invoke “/usr/bin/make -f ins_rdbms.mk javavm_refresh ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome1 O
PATCH_SESSION=apply”….‘Can’t locate File/Copy.pm in @INC (you may need to install the File::Copy module) (@INC contains: /usr/local/lib64/perl5/5.32 /usr/local/shar
e/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /u01/app/oracle/product/19.0.0/dbhome1/javavm/install/upd
ate_javavm_binaries.pl line 64.
BEGIN failed–compilation aborted at /u01/app/oracle/product/19.0.0/dbhome1/javavm/install/update_javavm_binaries.pl line 64.
make: *** [ins_rdbms.mk:573: javavm_refresh] Error 2
‘
[Sep 22, 2025 11:36:08 AM] [INFO] Stack Description: java.lang.RuntimeException: Can’t locate File/Copy.pm in @INC (you may need to install the File::Copy module) (
@INC contains: /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at
/u01/app/oracle/product/19.0.0/dbhome1/javavm/install/update_javavm_binaries.pl line 64.
BEGIN failed–compilation aborted at /u01/app/oracle/product/19.0.0/dbhome1/javavm/install/update_javavm_binaries.pl line 64.
make: *** [ins_rdbms.mk:573: javavm_refresh] Error 2
at oracle.opatch.MakeAction.apply(MakeAction.java:543)
at oracle.opatch.OPatchSession.runMake(OPatchSession.java:757)
at oracle.opatch.OPatchSession.runMake(OPatchSession.java:699)
at oracle.opatch.MergedPatchObject.invokeConsolidatedMake(MergedPatchObject.java:1903)
at oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:1752)
at oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:374)
at oracle.opatch.opatchutil.NApply.process(NApply.java:354)
at oracle.opatch.opatchutil.OUSession.napply(OUSession.java:1145)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at oracle.opatch.UtilSession.process(UtilSession.java:355)
at oracle.opatch.OPatchSession.process(OPatchSession.java:2640)
at oracle.opatch.OPatch.process(OPatch.java:888)
at oracle.opatch.OPatch.main(OPatch.java:945)
[Sep 22, 2025 11:36:08 AM] [INFO] OUI-67050:Running make for target jox_on
[Sep 22, 2025 11:36:08 AM] [INFO] Start invoking ‘make’ at Mon Sep 22 11:36:08 IST 2025Mon Sep 22 11:36:08 IST 2025
[Sep 22, 2025 11:36:08 AM] [INFO] Running make command: /usr/bin/make -f ins_rdbms.mk jox_on ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome1 OPATCH_SESSION=apply
[Sep 22, 2025 11:36:08 AM] [INFO] Finish invoking ‘make’ at Mon Sep 22 11:36:08 IST 2025
[Sep 22, 2025 11:36:08 AM] [INFO] OUI-67050:Running make for target ioracle
Root cause and fix
Root cause of the issue was identified as
- Not setting PERL5LIB Environmental variable.
Below actions were taken
- Refer Oracle provided perl and setup the PATHs
- export PATH=$ORACLE_HOME/perl/bin:$PATH
- export PERL5LIB=$ORACLE_HOME/perl/lib
With the variables set I retried the OJVM patch apply
- opatch apply
And it completed successfully

Leave a comment