OPatch failed with error code 134

In opatch operations, if the corresponding home is not included in the ORACLE_HOME parameter, all opatch related commands cause 134 errors. To avoid this error, the corresponding home value of the job must be set to the ORACLE_HOME parameter.

ORACLE_HOME should be set as follows to prevent the error. This example shows Grid Home.

or

The opatch commands will then work fine.