My Oracle Support Banner

OPatch : Following Messages during Patching - "Start OOP by Prereq process. Launch OOP..." (Doc ID 2624030.1)

Last updated on JANUARY 02, 2020

Applies to:

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

Symptoms

OPatch gives the following messages during Patch Apply-

Oracle Home       : <ORACLE_HOME>
Central Inventory : <ORACLE_HOME>/oraInventory
   from           : <ORACLE_HOME>/oraInst.loc
OPatch version    : 11.2.0.3.22
OUI version       : 11.2.0.4.0
Log file location : <ORACLE_HOME>/cfgtoollogs/opatch/opatch2019-12-15_06-45-13AM_1.log

Verifying environment and performing prerequisite checks...

--------------------------------------------------------------------------------
Start OOP by Prereq process.
Launch OOP...

UtilSession failed: Errors occurred while copying files.
Log file location: <ORACLE_HOME>/cfgtoollogs/opatch/opatch2019-12-15_06-45-13AM_1.log

OPatch failed with error code 73

OR

<ORACLE_HOME>/OPatch/opatch apply
Oracle Interim Patch Installer version 12.2.0.1.17
Copyright (c) 2019, Oracle Corporation. All rights reserved.

Oracle Home : <ORACLE_HOME>
Central Inventory : <ORACLE_BASE>/oraInventory
from : <ORACLE_HOME>/oraInst.loc
OPatch version : 12.2.0.1.17
OUI version : 12.1.0.2.0
Log file location :
<ORACLE_HOME>/cfgtoollogs/opatch/opatch2019-06-20_09-54-15AM_1.log

Verifying environment and performing prerequisite checks...

--------------------------------------------------------------------------------
Start OOP by Prereq process.
Launch OOP...

<ORACLE_HOME>/OPatch/opatch: line 1397:/tmp/oracle-home-156101726127151/OPatch/opatch: Permission denied
<ORACLE_HOME>/OPatch/opatch: line 1397:exec: /tmp/oracle-home-156101726127151/OPatch/opatch: cannot execute:Permission denied

Checking the opatch log file-

[Dec 15, 2019 6:45:25 AM] [INFO]    Stack Description: java.lang.RuntimeException: Errors occurred while copying files.
                                    at oracle.opatch.OPatchOOPHelper.copyOPatchHome(OPatchOOPHelper.java:255)
                                    at oracle.opatch.OPatchOOPHelper.copyOPatchHome(OPatchOOPHelper.java:230)
                                    at oracle.opatch.OPatchOOPHelper.launchOOP(OPatchOOPHelper.java:692)
                                    at oracle.opatch.OPatchSessionHelper.runApplyPrereqs(OPatchSessionHelper.java:6761)
                                    at oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:1002)
                                    at oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:372)
                                    at oracle.opatch.opatchutil.NApply.process(NApply.java:352)
                                    at oracle.opatch.opatchutil.OUSession.napply(OUSession.java:1122)
                                    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:2660)
                                    at oracle.opatch.OPatch.process(OPatch.java:840)
                                    at oracle.opatch.OPatch.main(OPatch.java:897)
                                   Caused by: java.lang.RuntimeException: Errors occurred while copying files.
                                    ... 16 more
                                   Caused by: oracle.opatch.OPatchException: Errors occurred while copying files.
                                    ... 16 more

Changes

Starting with OPatch Versions - 11.2.0.3.20/12.2.0.1.16,If the incoming Patch touches one of the following components OPatch,OUI and JDK , then OPatch enters Self-Patching Mode(OOP).
OPatch scans the incoming patch content and verifies if it touches above components and accordingly it will run in “-silent –restart”(which is OOP)

The following folders-OH/OPatch, OH/jdk and OH/oui are copied to a temporary location during OOP.
OPatch Versions 11.2.0.3.20/12.2.0.1.16 used to use the OS temporary location - /tmp(for UNIX/LINUX) OR %TEMP%(for Windows) for OOP related actions.
OPatch Versions 11.2.0.3.22/12.2.0.1.18 used to use the ORACLE_HOME/.patch_storage for OOP related actions.

Once OOP is initiated,OPatch is copied to the Temporary Location & patched.The Patched Version of OPatch is then used to patch the Oracle Home.
Once OOP is initiated,it proceeds without end-user confirmation(e.g as shown below)-




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
Changes
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.