标题: Patch Deploy artifact does not exist [打印本页] 作者: 郑全 时间: 2022-3-17 14:48 标题: Patch Deploy artifact does not exist opatchauto is failing with error "Patch Deploy artifact does not exist" (Doc ID 2732551.1)
In this Document
Symptoms
Changes
Cause
Solution
References
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.
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)
CAUSE
This is due to the following bug which got fixed 20.1
Bug 29859410 - OPATCHAUTO_194:OPATCHAUTO FAILED DUE TO WRONG PERMISSION OF OUI-PATCH.XML IN DIFFERENT USER ENV
SOLUTION
1* You could request for backport for your version through Service Request with Oracle Support.
.
2* As workaround, you could follow the following steps.
a) Make sure you change <central_inventory_location>/grid/app/grid/oraInventory/ContentsXML/oui-patch.xml to grid:oinstall with 660