My Oracle Support Banner

opatch apply fails with Error:"OUI-67073:UtilSession failed: Can not find opatch home" (Doc ID 3051644.1)

Last updated on OCTOBER 04, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 19.24.0.0.0 and later
Microsoft Windows x64 (64-bit)

Symptoms

On Windows, opatch apply fails with errors as below:

Oracle Home : C:\PROGRA~1\Oracle\product\19.0.0.0\client_1
Central Inventory : C:\Program Files\Oracle\Inventory
from :
OPatch version : 12.2.0.1.43
OUI version : 12.2.0.7.0
Log file location : C:\PROGRA~1\Oracle\product\19.0.0.0\client_1 \cfgtoollogs\opatch\opatch2024-08-30_04-24-39AM_1.log
Verifying environment and performing prerequisite checks...
--------------------------------------------------------------------------------
Start OOP by Prereq process.
Launch OOP...
UtilSession failed: Can not find opatch home.

 

 opatch apply log :opatch2024<times tamp>.log shows:

[SEVERE] OUI-67073:UtilSession failed: Can not find opatch home.
[INFO] Stack Description: java.lang.RuntimeException: Can not find opatch home.
at oracle.opatch.OPatchOOPHelper.getOPatchHomePath(OPatchOOPHelper.java:48)
at oracle.opatch.OPatchOOPHelper.launchOOP(OPatchOOPHelper.java:722)
at oracle.opatch.OPatchSessionHelper.runApplyPrereqs(OPatchSessionHelper.java:6825)
at oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:1106)
at oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:373)
at oracle.opatch.opatchutil.NApply.process(NApply.java:353)
at oracle.opatch.opatchutil.OUSession.napply(OUSession.java:1139)
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)
Caused by: java.lang.RuntimeException: Can not find opatch home.

 

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.