Tuesday 9 March 2021

Opatch apply failed with Missing command :fuser

Opatch apply failed with Prerequisite check "CheckSystemCommandAvailable" failed error

/usr/local/312813555> opatch apply

Oracle Interim Patch Installer version 12.2.0.1.21

Copyright (c) 2021, Oracle Corporation.  All rights reserved.

Oracle Home       : /u01/app/oracle/product/19.8.0_64

Central Inventory : /app/oraInventory

   from           : /u01/app/oracle/product/19.8.0_64/oraInst.loc

OPatch version    : 12.2.0.1.21

OUI version       : 12.2.0.7.0

Log file location : /u01/app/oracle/product/19.8.0_64/cfgtoollogs/opatch/opatch2021-01-01_07-48-00AM_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: /u01/app/oracle/product/19.8.0_64/cfgtoollogs/opatch/opatch2021-01-01_07-48-00AM_1.log

OPatch failed with error code 73

Opatch log:                                 

[Feb 1, 2021 7:48:10 AM] [INFO]     Execution of 'sh /usr/local/31281355/custom/scripts/init -apply 31281355 ':

[Feb 1, 2021 7:48:10 AM] [INFO]     Return Code = 0

[Feb 1, 2021 7:48:10 AM] [INFO]     Execution of ' Command and arguments of init script is restricted to be viewed in log file ':    Return Code = 0

[Feb 1, 2021 7:48:10 AM] [INFO]     Running prerequisite checks...

[Feb 1, 2021 7:48:13 AM] [INFO]     Space Needed : 5612.323MB

[Feb 1, 2021 7:48:13 AM] [INFO]     Missing command :fuser

[Feb 1, 2021 7:48:13 AM] [INFO]     Prerequisite check "CheckSystemCommandAvailable" failed.

                                    The details are:

                                    Missing command :fuser

[Feb 1, 2021 7:48:13 AM] [SEVERE]   OUI-67073:UtilSession failed: 

                                    Prerequisite check "CheckSystemCommandAvailable" failed.

[Feb 1, 2021 7:48:13 AM] [INFO]     Finishing UtilSession at Mon Mar 01 07:48:13 GMT 2021

[Feb 1, 2021 7:48:13 AM] [INFO]     Log file location: /u01/app/oracle/product/19.8.0_64/cfgtoollogs/opatch/opatch2021-01-01_07-48-00AM_1.log

[Feb 1, 2021 7:48:13 AM] [INFO]     Stack Description: java.lang.RuntimeException: 

                                    Prerequisite check "CheckSystemCommandAvailable" failed.

Solution:                                 

/home/oracle> cd $ORACLE_HOME/bin

[oracle@dbrestore-test] -->poc19c1<--

/u01/app/oracle/product/19.8.0_64/bin> touch fuser

[oracle@dbrestore-test] -->poc19c1<--

/u01/app/oracle/product/19.8.0_64/bin> chmod 755 fuser

[oracle@dbrestore-test] -->poc19c1<--

/u01/app/oracle/product/19.8.0_64/bin> ls -ltr fuser

-rwxr-xr-x. 1 oracle oinstall 0 Mar  1 07:50 fuser

No comments:

Post a Comment