ojvm19.20打補丁報錯信息如下:
[oracle@rac1 35354406]$ opatch apply
Oracle Interim Patch Installer version 12.2.0.1.39
Copyright (c) 2023, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/19c/dbhome_1
Central Inventory : /oracle/app/oraInventory
from : /oracle/app/oracle/product/19c/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.39
OUI version : 12.2.0.7.0
Log file location : /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2023-08-05_22-59-19PM_1.log
Verifying environment and performing prerequisite checks...
OPatch continues with these patches: 35354406
Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/oracle/app/oracle/product/19c/dbhome_1')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '35354406' to OH '/oracle/app/oracle/product/19c/dbhome_1'
Patching component oracle.javavm.server, 19.0.0.0.0...
Patching component oracle.javavm.server.core, 19.0.0.0.0...
Patching component oracle.rdbms.dbscripts, 19.0.0.0.0...
Patching component oracle.rdbms, 19.0.0.0.0...
Patching component oracle.javavm.client, 19.0.0.0.0...
Make failed to invoke "/usr/bin/make -f ins_rdbms.mk javavm_refresh ORACLE_HOME=/oracle/app/oracle/product/19c/dbhome_1 OPATCH_SESSION=apply"....'make: perl: Command not found
make: *** [javavm_refresh] Error 127
'
The following make actions have failed :
Re-link fails on target "javavm_refresh".
Do you want to proceed? [y|n]
y
User Responded with: Y
Patch 35354406 successfully applied.
Sub-set patch [32399816] has become inactive due to the application of a super-set patch [35354406].
Please refer to Doc ID 2161861.1 for any possible further required actions.
OPatch Session completed with warnings.
Log file location: /oracle/app/oracle/product/19c/dbhome_1/cfgtoollogs/opatch/opatch2023-08-05_22-59-19PM_1.log
OPatch completed with warnings.
處理辦法:
設置PATH和PERL5LIB環境變量,然后重新opatch apply.
export PATH=$ORACLE_HOME/perl/bin:$PATH
export PERL5LIB=$ORACLE_HOME/perl/lib
參考文檔:
Patching fails during relink , with error code 102 :: Fatal error: Command failed for target `javavm_refresh' (Doc ID 2002334.1) To BottomTo Bottom
In this Document
Symptoms
Cause
Solution
APPLIES TO:
Oracle Database - Enterprise Edition - Version 12.1.0.1 to 12.1.0.2 [Release 12.1]
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.
SYMPTOMS
Patch Apply fails with below error:
Symptom 1:
Make failed to invoke "/usr/ccs/bin/make -f ins_rdbms.mk javavm_refresh ioracle ORACLE_HOME=/u01/app/oracle/product/db/12.1.0.2"....'Can't locate File/Copy.pm in @INC (@INC contains: ../lib/site_perl/5.14.1/sun4-solaris-thread-multi-64 ../lib/site_perl/5.14.1 ../lib/5.14.1/sun4-solaris-thread-multi-64 ../lib/5.14.1 .) at /u01/app/oracle/product/db/12.1.0.2/javavm/install/update_javavm_binaries.pl line 62.
BEGIN failed--compilation aborted at /u01/app/oracle/product/db/12.1.0.2/javavm/install/update_javavm_binaries.pl line 62.
make: Fatal error: Command failed for target `javavm_refresh'
The following make actions have failed :
Re-link fails on target "javavm_refresh ioracle".
Symptom 2:
Make failed to invoke "/usr/bin/make -f ins_rdbms.mk javavm_refresh patchset_opt_all ioracle
ORACLE_HOME=/u01/app/oracle/pro
duct/12.1.0/db_1"....'make: perl: Command not found
make: *** [javavm_refresh] Error 127
CAUSE
PERL5LIB environment variable is not set
SOLUTION
Oracle provided Perl needs to be referenced at the beginning of the PATH and PERL5LIB for Patch apply or rollback.
Set PATH and PERL5LIB environment variable and apply patch again.
export PATH=$ORACLE_HOME/perl/bin:$PATH
export PERL5LIB=$ORACLE_HOME/perl/lib
「喜歡這篇文章,您的關注和贊賞是給作者最好的鼓勵」
關注作者
【版權聲明】本文為墨天輪用戶原創內容,轉載時必須標注文章的來源(墨天輪),文章鏈接,文章作者等基本信息,否則作者和墨天輪有權追究責任。如果您發現墨天輪中有涉嫌抄襲或者侵權的內容,歡迎發送郵件至:contact@modb.pro進行舉報,并提供相關證據,一經查實,墨天輪將立刻刪除相關內容。




