Prerequisite check "CheckSystemCommandAvailable" failed. || 12.2C


Pre-requisite: Completed successfully.

[oracle@testing 30593149]$ opatch prereq CheckConflictAgainstOHWithDetail -ph ./
Oracle Interim Patch Installer version 12.2.0.1.21
Copyright (c) 2020, Oracle Corporation.  All rights reserved.
PREREQ session
Oracle Home       : /testing/app/oracle/product/12.2.0/testing_1
Central Inventory : /testing/app/oraInventory
   from           : /testing/app/oracle/product/12.2.0/testing_1/oraInst.loc
OPatch version    : 12.2.0.1.21
OUI version       : 12.2.0.1.4
Log file location : /testing/app/oracle/product/12.2.0/testing_1/cfgtoollogs/opatch/opatch2020-05-15_15-38-45PM_1.log
Invoking prereq "checkconflictagainstohwithdetail"
Prereq "checkConflictAgainstOHWithDetail" passed.
OPatch succeeded.


But Opatch apply fails:

[oracle@testing 30593149]$ opatch apply
Oracle Interim Patch Installer version 12.2.0.1.21
Copyright (c) 2020, Oracle Corporation.  All rights reserved.
Oracle Home       : /testing/app/oracle/product/12.2.0/testing_1
Central Inventory : /testing/app/oraInventory
   from           : /testing/app/oracle/product/12.2.0/testing_1/oraInst.loc
OPatch version    : 12.2.0.1.21
OUI version       : 12.2.0.1.4
Log file location : /testing/app/oracle/product/12.2.0/testing_1/cfgtoollogs/opatch/opatch2020-05-15_15-39-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: /testing/app/oracle/product/12.2.0/testing_1/cfgtoollogs/opatch/opatch2020-05-15_15-39-10PM_1.log

OPatch failed with error code 73





Solution:

Create empty file fuser at $ORACLE_HOME/bin location.

[oracle@testing 30593149]$ cd $ORACLE_HOME/bin/
[oracle@testing bin]$ touch fuser
[oracle@testing bin]$ chmod 755 fuser

Now apply the patch:

[oracle@testing 30593149]$ opatch apply
Oracle Interim Patch Installer version 12.2.0.1.21
Copyright (c) 2020, Oracle Corporation.  All rights reserved.
Oracle Home       : /testing/app/oracle/product/12.2.0/testing_1
Central Inventory : /testing/app/oraInventory
   from           : /testing/app/oracle/product/12.2.0/testing_1/oraInst.loc
OPatch version    : 12.2.0.1.21
OUI version       : 12.2.0.1.4
Log file location : /testing/app/oracle/product/12.2.0/testing_1/cfgtoollogs/opatch/opatch2020-05-15_15-47-05PM_1.log

Verifying environment and performing prerequisite checks...
OPatch continues with these patches:   30593149
Do you want to proceed? [y|n]
Y

Comments

Popular posts from this blog

How to set the root password after creating instance on oracle cloud

TNS-12541 TNS-12560 TNS-00511 TNS:protocol adapter error No listener

Queryable inventory could not determine the current opatch status.