PROBLEM:

 

While applying patch to binary using opatch utility got below error.

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

 

SOLUTION:

 

This error comes, if we are running opatch command from a directory other than patch directory.

So,Make sure we are running the opatch command for patch directory.

 

unzip p16056266_11203_linux.zip

cd 16056266 – >> current patch directory

./opatch apply 

 

Now it worked successfully, without any error.