opatch apply fails with error:
Verifying environment and performing prerequisite checks...
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
UtilSession failed:
Prerequisite check "CheckSystemCommandAvailable" failed.
Log file location: $ORACLE_HOME/cfgtoollogs/opatch/opatchlog
OPatch failed with error code 73
SOLUTION
1) Check if the missing package (fuser) is installed.
If yes, make sure the executable is included in the PATH.
The common executables used by opatch are make, ld, ar and nm. These executables will be by default under /usr/bin directory.
Add the path location to the $PATH environment variable:
export PATH=$PATH:/usr/bin
2) If the OS package which provides the 'fuser' utility is not installed, then install that OS package.
Example: In Linux , the rpm 'psmisc' provides the fuser utility ,so install this rpm.
Workaround:
Make sure that database and all process accessing database/ORACLE_HOME are shut down as fuser will be skipped.
1) Pass argument for OPatch to ignore fuser and continue with patching.
Set the environment variable OPATCH_NO_FUSER=true
export OPATCH_NO_FUSER=true
opatch apply
2) Set temporary fuser
Set /tmp in your PATH
Create an empty file named "fuser"
Run the opatch command