Fix Opatch: Missing command :fuser Prerequisite check "CheckSystemCommandAvailable" failed.

Error Description:
Opatch failed with following error message
Missing command :fuser
Prerequisite check "CheckSystemCommandAvailable" failed.

Solution Description:
Go to patch home/bin directory. If you are applying the patch to Grid home go to $GRID_HOME/bin or if you are applying to Oracle Home then go to $ORACLE_HOME/bin and create a file with name fuser. This will solve your issue.
cd $GRID_HOME/bin
touch fuser
chmod 755 fuser
ls -tlr fuser
-rwxr-xr-x 1 grid oinstall 0 Aug 30 01:51 fuser
Example
[grid@Rac1 23273629]$ /u01/app/oracle/product/12.1.0/db_1/OPatch/opatch napply -oh /u01/app/12.1.0/grid -local /u01/installs/23273629/23054246
Oracle Interim Patch Installer version 12.2.0.1.7
Copyright (c) 2016, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/12.1.0/grid
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/12.1.0/grid/oraInst.loc
OPatch version    : 12.2.0.1.7
OUI version       : 12.1.0.2.0
Log file location : /u01/app/12.1.0/grid/cfgtoollogs/opatch/opatch2016-08-30_01-48-39AM_1.log

Verifying environment and performing prerequisite checks...
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
UtilSession failed:
Prerequisite check "CheckSystemCommandAvailable" failed.
Prerequisite check "CheckSystemCommandAvailable" failed.
Prerequisite check "CheckSystemCommandAvailable" failed.
Prerequisite check "CheckSystemCommandAvailable" failed.
Prerequisite check "CheckSystemCommandAvailable" failed.
Prerequisite check "CheckSystemCommandAvailable" failed.
Prerequisite check "CheckSystemCommandAvailable" failed.
Log file location: /u01/app/12.1.0/grid/cfgtoollogs/opatch/opatch2016-08-30_01-48-39AM_1.log

OPatch failed with error code 73
[grid@Rac1 23273629]$  cd $GRID_HOME/bin
[grid@Rac1 bin]$ touch fuser
[grid@Rac1 bin]$ chmod 755 fuser
[grid@Rac1 bin]$ ls -tlr fuser
-rwxr-xr-x 1 grid oinstall 0 Aug 30 01:51 fuser


[grid@Rac1 23273629]$ /u01/app/oracle/product/12.1.0/db_1/OPatch/opatch napply -oh /u01/app/12.1.0/grid -local /u01/installs/23273629/21436941
Oracle Interim Patch Installer version 12.2.0.1.7
Copyright (c) 2016, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/app/12.1.0/grid
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/12.1.0/grid/oraInst.loc
OPatch version    : 12.2.0.1.7
OUI version       : 12.1.0.2.0
Log file location : /u01/app/12.1.0/grid/cfgtoollogs/opatch/opatch2016-08-30_01-47-53AM_1.log

Verifying environment and performing prerequisite checks...
OPatch continues with these patches:   21436941

Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.

Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/app/12.1.0/grid')


Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '21436941' to OH '/u01/app/12.1.0/grid'

Patching component oracle.wlm.dbwlm, 12.1.0.2.0...
Patch 21436941 successfully applied.
Log file location: /u01/app/12.1.0/grid/cfgtoollogs/opatch/opatch2016-08-30_01-47-53AM_1.log


OPatch succeeded.
DBA Tips Data Pump Reference

0 comments:

Post a Comment

 

dba topics. Copyright 2011-16 All Rights Reserved | Site Map | Contact | Disclaimer | Google