My Oracle Support Banner

gridSetup.sh ApplyRU - Error "ZOP-51: The patch location is not valid for apply" and "OPatch failed with error code 135 (Doc ID 2883076.1)

Last updated on JULY 20, 2024

Applies to:

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

Symptoms

Problem Summary
---------------------------------------------------

Following error receive when run gridSetup.sh with -ApplyRU option
<new 19c grid home>/gridSetup.sh -ApplyRU <unzipped location of 19.15 patch>/33859214/33803476

Patch log shows:
....
gridSetupActions2022-07-12_11-23-10AM.log have below messages
INFO: [Jul 12, 2022 11:37:14 AM] Execute command : Command:
<new 19c grid home>/OPatch/opatch apply -oh <new 19c grid home> -silent -verbose <unzipped location of 19.15 patch>/33859214/33803476
INFO: [Jul 12, 2022 11:37:14 AM] Executing [<new 19c grid home>/OPatch/opatch, apply, -oh, <new 19c grid home>, -silent, -verbose, <unzipped location of 19.15 patch>/33859214/33803476]
INFO: [Jul 12, 2022 11:37:14 AM] Starting Output Reader Threads for process <new 19c grid home>/OPatch/opatch
INFO: [Jul 12, 2022 11:37:15 AM] Oracle Interim Patch Installer version 12.2.0.1.30
INFO: [Jul 12, 2022 11:37:15 AM] Copyright (c) 2022, Oracle Corporation. All rights reserved.
INFO: [Jul 12, 2022 11:37:15 AM]
INFO: [Jul 12, 2022 11:37:15 AM]
INFO: [Jul 12, 2022 11:37:15 AM] ZOP-51: The patch location is not valid for apply, because it doesn't have correct metadata, or it points to a patch directory.
WARNING: [Jul 12, 2022 11:37:15 AM] Argument(s) Error... Patch location is not valid for apply
WARNING: [Jul 12, 2022 11:37:15 AM]
INFO: [Jul 12, 2022 11:37:15 AM] Please check the arguments and try again.
INFO: [Jul 12, 2022 11:37:15 AM]
INFO: [Jul 12, 2022 11:37:15 AM] OPatch failed with error code 135
INFO: [Jul 12, 2022 11:37:15 AM] The process <new 19c grid home>/OPatch/opatch exited with code 135
INFO: [Jul 12, 2022 11:37:15 AM] Waiting for output processor threads to exit.
INFO: [Jul 12, 2022 11:37:15 AM] Output processor threads exited.
INFO: [Jul 12, 2022 11:37:15 AM] OPatch exit code : 135
INFO: [Jul 12, 2022 11:37:15 AM] stdout : [Oracle Interim Patch Installer version 12.2.0.1.30, Copyright (c) 2022, Oracle Corporation. All rights reserved., , , ZOP-51: The patch location is not valid for apply, because it doesn't have correct metadata, or it points to a patch directory. , Please check the arguments and try again., , OPatch failed with error code 135]
INFO: [Jul 12, 2022 11:37:15 AM] stderr : [Argument(s) Error... Patch location is not valid for apply, ]
WARNING: [Jul 12, 2022 11:37:15 AM] Command:
<new 19c grid home>/OPatch/opatch apply -oh <new 19c grid home> -silent -verbose <unzipped location of 19.15 patch>/33859214/33803476
SEVERE: [Jul 12, 2022 11:37:15 AM] [FATAL] [INS-32500] OPatch tool failed.
ACTION: Review /oracle/oraInventory/logs/GridSetupActions2022-07-12_11-23-10AM/gridSetupActions2022-07-12_11-23-10AM.log for more details.
*ADDITIONAL INFORMATION:*
- Oracle Interim Patch Installer version 12.2.0.1.30
- Copyright (c) 2022, Oracle Corporation. All rights reserved.

*ADDITIONAL INFORMATION:*
- Oracle Interim Patch Installer version 12.2.0.1.30
- Copyright (c) 2022, Oracle Corporation. All rights reserved.
-
-
- ZOP-51: The patch location is not valid for apply, because it doesn't have correct metadata, or it points to a patch directory.
- Please check the arguments and try again.
-
- OPatch failed with error code 135
- Argument(s) Error... Patch location is not valid for apply
-
INFO: [Jul 12, 2022 11:39:45 AM] Advice is ABORT
INFO: [Jul 12, 2022 11:39:48 AM] Adding ExitStatus FAILURE to the exit status set 

Problem Description

---------------------------------------------------

Trying to us out of place patching

Steps for Minimal Downtime Grid Infrastructure Out of Place ( OOP ) Patching using gridSetup.sh (Doc ID 2662762.1)

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.