Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why am I getting error code 135 when applying patch through opatch?

I am trying to write a script that automates opatch, but before I get into the actual scripting I want to test the commands directly through the command prompt. My oracle home is C:\oracle\Middleware, and my patch 23094292 folder is located in the Middleware folder. Here are the commands I am using to apply the patch:

cd C:\oracle\Middleware\23094292
C:\oracle\Middleware\OPatch\opatch apply

When I run the latter command I get this:

ZOP-51: The patch location is not valid for apply, because it doesn't have correct metadata, or it points to a patch directory. Argument(s) Error... Patch location is not valid for apply Please check the arguments and try again. OPatch failed with error code = 135

Shouldn't oracle home be the valid patch location? I am not too familiar with Oracle's product's, so I'm not certain. Please let me know if I can provide any further information. Any help explaining what I am doing wrong would be greatly appreciated.

enter image description here

enter image description here

like image 395
sbarry Avatar asked Feb 11 '26 17:02

sbarry


1 Answers

You're missing a directory in the 23094292 directory. There should be two directories in there, "files" and "etc". And then there should be a "README.txt" file there as well.

Edit: I'd just suggest removing the 23094292 directory and unzipping the zip file again, or re-download it if that doesn't work.

like image 162
Adam vonNieda Avatar answered Feb 15 '26 05:02

Adam vonNieda



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!