The error message usually appears as:
$ORACLE_HOME/cfgtoollogs/opatch/opatch-YYYY-MM_DD_HH-MM-SS.log Alternatively, you can run OPatch with the -log flag to specify a custom log path.
rm -rf /u01/app/oraInventory/locks/* Ensure the entire Oracle home is owned by the correct user: