Fix Opatch : Missing command : fuser | “Prerequisite CheckSystemCommandsAvailable” Failed

OPatch failed with following error.

Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
UtilSession failed:
Prerequisite check "CheckSystemCommandAvailable" failed.

Error Description

Oracle Interim Patch Installer version 12.2.0.1.27
Copyright (c) 2022, Oracle Corporation. All rights reserved.

Oracle Home: /d01/oracle/product/19.13.0/dbhome_1

Central Inventory : /home/oracle/oraInventory   
from: /d01/oracle/product/19.13.0/dbhome_1/oraInst.loc
OPatch version: 12.2.0.1.27
OUI version: 12.2.0.7.0

Log file location : /d01/oracle/product/19.13.0/dbhome_1/cfgtoollogs/opatch/opatch2022-01-31_13-07-10PM_1.log

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: /d01/oracle/product/19.13.0/dbhome_1/cfgtoollogs/opatch/opatch2022-01-31_13-07-10PM_1.log

OPatch failed with error code 73

w6gXzGQAAAAASUVORK5CYII=

Cause

From the above mentioned error, we can see that it’s stating you are missing a command.

Missing command :fuser

There is a missing package on the OS

Solution

Install rpm package psmisc on the host to resolve the issue.

yum install psmisc

If you resume the OPatch apply, it will complete successfully now.