My Oracle Support Banner

opatchauto is failing with error "Patch Deploy artifact does not exist" (Doc ID 2732551.1)

Last updated on JULY 20, 2024

Applies to:

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

Symptoms

During application GI Release Update 19.9.0.0.0, Patch 31750108, opatchauto is failing on Database Release Update 19.9.0.0.0, Patch 31771877 and permission denied on accessing oui-patch.xml on <central_inventory_location>/oraInventory/ContentsXML.

Patch: /<patch_location>/31750108/31771877

Log: /<GRID_BASE>/cfgtoollogs/opatchauto/core/opatch/opatch2020-11-29_00-25-44AM_1.log

Reason: Failed during Patching: oracle.opatch.opatchsdk.OPatchException: ApplySession failed in system modification phase... 'ApplySession::apply failed: java.io.IOException: oracle.sysman.oui.patch.PatchException: java.io.FileNotFoundException: <central_inventory_location>/oraInventory/ContentsXML/oui-patch.xml (Permission denied)'

After fixing the cause of failure Run opatchauto resume

PATCHAUTO-68061: The orchestration engine failed.

OPATCHAUTO-68061: The orchestration engine failed with return code 1

OPATCHAUTO-68061: Check the log for more details.

OPatchAuto failed.

OPatchauto session completed at Sun Nov 29 00:28:42 2020

Time taken to complete the session 10 minutes, 12 seconds

opatchauto failed with error code 42

 

Changes

1* opatchauto log is showing the following log

File: opatchauto2020-11-29_12-18-50AM.log 

2020-11-29 00:25:42,218 INFO [417] com.oracle.cie.common.util.reporting.CommonReporter - Reporting console output : Message{id='null', message='

Start applying binary patch on home /u01/app/grid/19.0.0'}

2020-11-29 00:25:42,304 INFO [417] com.oracle.glcm.patch.auto.db.integration.controller.action.OPatchAutoBinaryAction -

Executing command as grid:

/u01/app/grid/19.0.0/OPatch/opatchauto apply <patch_location>/31750108 -oh /u01/app/grid/19.0.0 -target_type cluster -binary -invPtrLoc /u01/app/grid/19.0.0/oraInst.loc -jre /u01/app/grid/19.0.0/OPatch/jre -persistresult /u01/app/grid/19.0.0/opatchautocfg/db/sessioninfo/sessionresult_lnv-db-euw-02_crs_1.ser -analyzedresult /u01/app/grid/19.0.0/opatchautocfg/db/sessioninfo/sessionresult_analyze_lnv-db-euw-02_crs_1.ser

2020-11-29 00:28:41,694 INFO [417] com.oracle.glcm.patch.auto.db.product.executor.GISystemCall - Is retry required=false

2020-11-29 00:28:41,694 INFO [417] com.oracle.glcm.patch.auto.db.integration.controller.action.OPatchAutoBinaryAction - Opatchcore binary return code=1

2020-11-29 00:28:41,694 INFO [417] com.oracle.glcm.patch.auto.db.integration.controller.action.OPatchAutoBinaryAction - Opatchcore binary output=Oracle Home : /u01/app/grid/19.0.0

OPatchAuto binary patching Tool

Copyright (c)2014, Oracle Corporation. All rights reserved.

OPatchauto Version : 13.9.5.0.0

Running from : /u01/app/grid/19.0.0

opatchauto log file: /u01/app/grid/19.0.0/cfgtoollogs/opatchauto/opatchauto_2020-11-29_00-25-42_binary.log

Target type : cluster

Patch selected: <patch_location>/31750108

 

Analyze session result created from file :: /u01/app/grid/19.0.0/opatchautocfg/db/sessioninfo/sessionresult_analyze_lnv-db-euw-02_crs_1.ser

Analyzing before applying <patch_location>/31750108/31771877 ...

Applying <patch_location>/31750108/31771877 ...

Patch <patch_location>/31750108/31771877 FAILED.

 

opatchauto FAILED on some patches.

 

2* Following opatch log shows that files, checksum.xml, automation.xml and maintenance_alias.xml are missing.

File: opatchauto_2020-11-29_00-25-42_binary.log 

2020-11-29 00:28:18,165 INFO [1] oracle.glcm.opatch.common.impl.SingletonPatch - <patch_location>/31750108/31771877/etc/config/checksum.xml does not exist

2020-11-29 00:28:18,165 INFO [1] oracle.glcm.opatch.common.impl.SingletonPatch - <patch_location>/31750108/31771877/etc/config/automation.xml does not exist

2020-11-29 00:28:18,165 INFO [1] oracle.glcm.opatch.common.impl.SingletonPatch - Patch Deploy artifact does not exist

2020-11-29 00:28:18,165 INFO [1] oracle.glcm.opatch.common.impl.SingletonPatch - <patch_location>/31750108/31771877/etc/config/maintenance_alias.xml does not exist

2020-11-29 00:28:41,242 INFO [1] oracle.opatchauto.core.binary.OACLogger -

Patch <patch_location>/31750108/31771877 FAILED.

2020-11-29 00:28:41,242 INFO [1] oracle.opatchauto.core.binary.OACLogger -

oracle.opatch.opatchsdk.OPatchException: ApplySession failed in system modification phase... 'ApplySession::apply failed: java.io.IOException: oracle.sysman.oui.patch.PatchException: java.io.FileNotFoundException: <central_inventory_location>/oraInventory/ContentsXML/oui-patch.xml (Permission denied)'oracle.sysman.oui.patch.impl.HomeOperationsImpl.saveInventory(HomeOperationsImpl.java:381)

oracle.glcm.opatch.common.api.install.HomeOperationsShell.saveInventory(HomeOperationsShell.java:204)

oracle.opatch.ipm.IPMRWServices.saveInstallInventory(IPMRWServices.java:854)

oracle.opatch.ipm.IPMRWServices.savePatch(IPMRWServices.java:444)

oracle.opatch.ApplySession.apply(ApplySession.java:959)

oracle.opatch.ApplySession.processLocal(ApplySession.java:4098)

oracle.opatch.ApplySession.process(ApplySession.java:5080)

oracle.opatch.ApplySession.process(ApplySession.java:4942)

oracle.opatch.OPatchACL.processApply(OPatchACL.java:310)

oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:1429)

oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:370)

oracle.opatch.opatchutil.NApply.process(NApply.java:352)

oracle.opatch.opatchutil.OUSession.napply(OUSession.java:1123)

sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

java.lang.reflect.Method.invoke(Method.java:498)

oracle.opatch.UtilSession.process(UtilSession.java:355)

oracle.opatch.OPatchSession.main(OPatchSession.java:3985)

oracle.opatch.OPatchSDK.NApply(OPatchSDK.java:1127)

oracle.opatch.opatchsdk.OPatchTarget.NApply(OPatchTarget.java:4171)

oracle.opatchauto.core.binary.action.LegacyPatchAction.execute(LegacyPatchAction.java:76)

oracle.opatchauto.core.binary.OPatchAutoBinary.patchWithoutAnalyze(OPatchAutoBinary.java:519)

oracle.opatchauto.core.binary.OPatchAutoBinary.applyWithoutAnalyze(OPatchAutoBinary.java:406)

oracle.opatchauto.core.OPatchAutoCore.runOPatchAutoBinary(OPatchAutoCore.java:192)

oracle.opatchauto.core.OPatchAutoCore.main(OPatchAutoCore.java:75)

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
References


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