My Oracle Support Banner

OPatch fails to copy files during OOP process launch . (Doc ID 2634132.1)

Last updated on JANUARY 30, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 18.5.0.0.0 and later
Linux x86-64

Symptoms

OPatch invoked as follows: 'apply -invPtrLoc /opt/oracle/product/18c/oraInst.loc ' fails with below error 

 [-Xmx3072m, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=/opt/oracle/product/18c/cfgtoollogs/opatch, -DOPatch.ORACLE_HOME=/opt/oracle/product/18c, -DOPatch.DEBUG=false, -DOPatch.MAKE=false, -DOPatch.RUNNING_DIR=/opt/oracle/product/18c/OPatch, -DOPatch.MW_HOME=, -DOPatch.WL_HOME=, -DOPatch.COMMON_COMPONENTS_HOME=, -DOPatch.OUI_LOCATION=/opt/oracle/product/18c/oui, -DOPatch.FMW_COMPONENT_HOME=, -DOPatch.OPATCH_CLASSPATH=, -DOPatch.WEBLOGIC_CLASSPATH=, -DOPatch.SKIP_OUI_VERSION_CHECK=, -DOPatch.NEXTGEN_HOME_CHECK=false, -DOPatch.PARALLEL_ON_FMW_OH=]
[Aug 24, 2019 6:38:48 AM] [INFO] Heap in use : 22 MB
Total memory: 148 MB
Free memory : 125 MB
Max memory : 2731 MB
[Aug 24, 2019 6:38:48 AM] [INFO] Oracle Home : /opt/oracle/product/18c
Central Inventory : /opt/oracle/oraInventory
from : /opt/oracle/product/18c/oraInst.loc
OPatch version : 12.2.0.1.17

Start fuser command /sbin/fuser /opt/oracle/product/18c/lib/libsqlplus.so at Sat Aug 24 06:38:55 EEST 2019
[Aug 24, 2019 6:38:55 AM] [INFO] Finish fuser command /sbin/fuser /opt/oracle/product/18c/lib/libsqlplus.so at Sat Aug 24 06:38:55 EEST 2019
[Aug 24, 2019 6:38:58 AM] [SEVERE] OUI-67073:UtilSession failed: Errors occurred while copying files.
[Aug 24, 2019 6:38:58 AM] [INFO] Finishing UtilSession at Sat Aug 24 06:38:58 EEST 2019
[Aug 24, 2019 6:38:58 AM] [INFO] Log file location: /opt/oracle/product/18c/cfgtoollogs/opatch/opatch2019-08-24_06-38-48AM_1.log
[Aug 24, 2019 6:38:58 AM] [INFO] Stack Description: java.lang.RuntimeException: Errors occurred while copying files.
at oracle.opatch.OPatchOOPHelper.copyJavaHome(OPatchOOPHelper.java:374)
at oracle.opatch.OPatchOOPHelper.launchOOP(OPatchOOPHelper.java:642)
at oracle.opatch.OPatchSessionHelper.runApplyPrereqs(OPatchSessionHelper.java:6721)
at oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:998)
at oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:368)
at oracle.opatch.opatchutil.NApply.process(NApply.java:348)
at oracle.opatch.opatchutil.OUSession.napply(OUSession.java:1108)
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:2650)
at oracle.opatch.OPatch.process(OPatch.java:779)
at oracle.opatch.OPatch.main(OPatch.java:829)
Caused by: java.lang.RuntimeException: Errors occurred while copying files.
... 15 more
Caused by: oracle.opatch.OPatchException: Errors occurred while copying files.
... 15 more

 

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.