p19955028_112040_Linux-x86-64

p19955028_112040_Linux-x86-64_README

Record

Upgrade OPatch utility version to 11.2.0.3.6 or later.

~]# /u01/app/11.2.0/grid/OPatch/opatch version
OPatch Version: 11.2.0.3.4
OPatch succeeded.

~]# /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch version
OPatch Version: 11.2.0.3.4
OPatch succeeded.

~]# mv /u01/app/11.2.0/grid/OPatch{,.bak.`date +%m%d`}
~]# mv /u01/app/oracle/product/11.2.0/db_1/OPatch{,.bak.`date +%m%d`}

~]# unzip -q /soft/p6880880_112000_Linux-x86-64_11.2.0.3.6.zip -d /u01/app/11.2.0/grid/
~]# chown -R grid:oinstall /u01/app/11.2.0/grid/OPatch
~]# unzip -q /soft/p6880880_112000_Linux-x86-64_11.2.0.3.6.zip -d /u01/app/oracle/product/11.2.0/db_1/
~]# chown -R oracle:oinstall /u01/app/oracle/product/11.2.0/db_1/OPatch

~]# /u01/app/11.2.0/grid/OPatch/opatch version
OPatch Version: 11.2.0.3.6
OPatch succeeded.

~]# /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch version
OPatch Version: 11.2.0.3.6
OPatch succeeded.

OCM Configuration。

~]# export ORACLE_HOME=/u01/app/11.2.0/grid
~]# $ORACLE_HOME/OPatch/ocm/bin/emocmrsp -no_banner -output /soft/ocm.rsp

Validation of Oracle Inventory.

~]$ /u01/app/11.2.0/grid/OPatch/opatch lsinventory -detail -oh /u01/app/11.2.0/grid/
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation. All rights reserved.


Oracle Home : /u01/app/11.2.0/grid
Central Inventory : /u01/app/oraInventory
from : /u01/app/11.2.0/grid//oraInst.loc
OPatch version : 11.2.0.3.6
OUI version : 11.2.0.4.0
Log file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/opatch2024-02-07_15-49-02PM_1.log

Lsinventory Output file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/lsinv/lsinventory2024-02-07_15-49-02PM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1):

Oracle Grid Infrastructure 11g 11.2.0.4.0
There are 1 product(s) installed in this Oracle Home.


Installed Components (89):

Agent Required Support Files 10.2.0.4.5
Assistant Common Files 11.2.0.4.0
Automatic Storage Management Assistant 11.2.0.4.0
Bali Share 1.1.18.0.0
Buildtools Common Files 11.2.0.4.0
Character Set Migration Utility 11.2.0.4.0
Cluster Ready Services Files 11.2.0.4.0
Cluster Verification Utility Common Files 11.2.0.4.0
Cluster Verification Utility Files 11.2.0.4.0
Database SQL Scripts 11.2.0.4.0
Deinstallation Tool 11.2.0.4.0
Enterprise Manager Common Core Files 10.2.0.4.5
Enterprise Manager Common Files 10.2.0.4.5
Enterprise Manager plugin Common Files 11.2.0.4.0
Expat libraries 2.0.1.0.1
HAS Common Files 11.2.0.4.0
HAS Files for DB 11.2.0.4.0
Installation Common Files 11.2.0.4.0
Installation Plugin Files 11.2.0.4.0
Installer SDK Component 11.2.0.4.0
Java Development Kit 1.5.0.51.10
LDAP Required Support Files 11.2.0.4.0
OLAP SQL Scripts 11.2.0.4.0
Oracle Advanced Security 11.2.0.4.0
Oracle Clusterware RDBMS Files 11.2.0.4.0
Oracle Configuration Manager Deconfiguration 10.3.1.0.0
Oracle Containers for Java 11.2.0.4.0
Oracle Core Required Support Files 11.2.0.4.0
Oracle Database 11g 11.2.0.4.0
Oracle Database 11g Multimedia Files 11.2.0.4.0
Oracle Database Deconfiguration 11.2.0.4.0
Oracle Database User Interface 2.2.13.0.0
Oracle Database Utilities 11.2.0.4.0
Oracle DBCA Deconfiguration 11.2.0.4.0
Oracle Extended Windowing Toolkit 3.4.47.0.0
Oracle Globalization Support 11.2.0.4.0
Oracle Globalization Support 11.2.0.4.0
Oracle Grid Infrastructure 11g 11.2.0.4.0
Oracle Help For Java 4.2.9.0.0
Oracle Ice Browser 5.2.3.6.0
Oracle Internet Directory Client 11.2.0.4.0
Oracle Java Client 11.2.0.4.0
Oracle JDBC/OCI Instant Client 11.2.0.4.0
Oracle JDBC/THIN Interfaces 11.2.0.4.0
Oracle JFC Extended Windowing Toolkit 4.2.36.0.0
Oracle JVM 11.2.0.4.0
Oracle LDAP administration 11.2.0.4.0
Oracle Locale Builder 11.2.0.4.0
Oracle Multimedia 11.2.0.4.0
Oracle Multimedia Client Option 11.2.0.4.0
Oracle Multimedia Java Advanced Imaging 11.2.0.4.0
Oracle Multimedia Locator 11.2.0.4.0
Oracle Multimedia Locator RDBMS Files 11.2.0.4.0
Oracle Net 11.2.0.4.0
Oracle Net Listener 11.2.0.4.0
Oracle Net Required Support Files 11.2.0.4.0
Oracle Netca Client 11.2.0.4.0
Oracle Notification Service 11.2.0.3.0
Oracle Notification Service (eONS) 11.2.0.4.0
Oracle One-Off Patch Installer 11.2.0.3.4
Oracle Quality of Service Management (Client) 11.2.0.4.0
Oracle Quality of Service Management (Server) 11.2.0.4.0
Oracle RAC Deconfiguration 11.2.0.4.0
Oracle RAC Required Support Files-HAS 11.2.0.4.0
Oracle Recovery Manager 11.2.0.4.0
Oracle Security Developer Tools 11.2.0.4.0
Oracle Text Required Support Files 11.2.0.4.0
Oracle Universal Installer 11.2.0.4.0
Oracle USM Deconfiguration 11.2.0.4.0
Oracle Wallet Manager 11.2.0.4.0
Parser Generator Required Support Files 11.2.0.4.0
Perl Interpreter 5.10.0.0.2
Perl Modules 5.10.0.0.1
PL/SQL 11.2.0.4.0
PL/SQL Embedded Gateway 11.2.0.4.0
Platform Required Support Files 11.2.0.4.0
Precompiler Required Support Files 11.2.0.4.0
RDBMS Required Support Files 11.2.0.4.0
RDBMS Required Support Files for Instant Client 11.2.0.4.0
RDBMS Required Support Files Runtime 11.2.0.4.0
Required Support Files 11.2.0.4.0
Secure Socket Layer 11.2.0.4.0
SQL*Plus 11.2.0.4.0
SQL*Plus Files for Instant Client 11.2.0.4.0
SQL*Plus Required Support Files 11.2.0.4.0
SSL Required Support Files for InstantClient 11.2.0.4.0
Universal Storage Manager Files 11.2.0.4.0
XDK Required Support Files 11.2.0.4.0
XML Parser for Java 11.2.0.4.0
There are 89 component(s) installed in this Oracle Home.


There are no Interim patches installed in this Oracle Home.


Rac system comprising of multiple nodes
Local node = oracle11grac01
Remote node = oracle11grac02

--------------------------------------------------------------------------------

OPatch succeeded.


~]$ /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch lsinventory -detail -oh /u01/app/oracle/product/11.2.0/db_1/
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation. All rights reserved.


Oracle Home : /u01/app/oracle/product/11.2.0/db_1
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/11.2.0/db_1//oraInst.loc
OPatch version : 11.2.0.3.6
OUI version : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2024-02-07_15-50-33PM_1.log

Lsinventory Output file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2024-02-07_15-50-33PM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1):

Oracle Database 11g 11.2.0.4.0
There are 1 product(s) installed in this Oracle Home.


Installed Components (136):

Agent Required Support Files 10.2.0.4.5
Assistant Common Files 11.2.0.4.0
Bali Share 1.1.18.0.0
Buildtools Common Files 11.2.0.4.0
Character Set Migration Utility 11.2.0.4.0
Cluster Verification Utility Common Files 11.2.0.4.0
Database Configuration and Upgrade Assistants 11.2.0.4.0
Database SQL Scripts 11.2.0.4.0
Database Workspace Manager 11.2.0.4.0
Deinstallation Tool 11.2.0.4.0
Enterprise Edition Options 11.2.0.4.0
Enterprise Manager Agent 10.2.0.4.5
Enterprise Manager Agent Core Files 10.2.0.4.5
Enterprise Manager Common Core Files 10.2.0.4.5
Enterprise Manager Common Files 10.2.0.4.5
Enterprise Manager Database Plugin -- Agent Support 11.2.0.4.0
Enterprise Manager Database Plugin -- Repository Support 11.2.0.4.0
Enterprise Manager Grid Control Core Files 10.2.0.4.5
Enterprise Manager plugin Common Files 11.2.0.4.0
Enterprise Manager Repository Core Files 10.2.0.4.5
Exadata Storage Server 11.2.0.1.0
Expat libraries 2.0.1.0.1
Generic Connectivity Common Files 11.2.0.4.0
HAS Common Files 11.2.0.4.0
HAS Files for DB 11.2.0.4.0
Installation Common Files 11.2.0.4.0
Installation Plugin Files 11.2.0.4.0
Installer SDK Component 11.2.0.4.0
JAccelerator (COMPANION) 11.2.0.4.0
Java Development Kit 1.5.0.51.10
LDAP Required Support Files 11.2.0.4.0
OLAP SQL Scripts 11.2.0.4.0
Oracle 11g Warehouse Builder Required Files 11.2.0.4.0
Oracle Advanced Security 11.2.0.4.0
Oracle Application Express 11.2.0.4.0
Oracle Call Interface (OCI) 11.2.0.4.0
Oracle Clusterware RDBMS Files 11.2.0.4.0
Oracle Code Editor 1.2.1.0.0I
Oracle Configuration Manager 10.3.8.1.0
Oracle Configuration Manager Client 10.3.2.1.0
Oracle Configuration Manager Deconfiguration 10.3.1.0.0
Oracle Containers for Java 11.2.0.4.0
Oracle Core Required Support Files 11.2.0.4.0
Oracle Data Mining RDBMS Files 11.2.0.4.0
Oracle Database 11g 11.2.0.4.0
Oracle Database 11g 11.2.0.4.0
Oracle Database 11g Multimedia Files 11.2.0.4.0
Oracle Database Deconfiguration 11.2.0.4.0
Oracle Database Gateway for ODBC 11.2.0.4.0
Oracle Database User Interface 2.2.13.0.0
Oracle Database Utilities 11.2.0.4.0
Oracle Database Vault J2EE Application 11.2.0.4.0
Oracle Database Vault option 11.2.0.4.0
Oracle DBCA Deconfiguration 11.2.0.4.0
Oracle Display Fonts 9.0.2.0.0
Oracle Enterprise Manager Console DB 11.2.0.4.0
Oracle Extended Windowing Toolkit 3.4.47.0.0
Oracle Globalization Support 11.2.0.4.0
Oracle Globalization Support 11.2.0.4.0
Oracle Help For Java 4.2.9.0.0
Oracle Help for the Web 2.0.14.0.0
Oracle Ice Browser 5.2.3.6.0
Oracle Internet Directory Client 11.2.0.4.0
Oracle Java Client 11.2.0.4.0
Oracle JDBC Server Support Package 11.2.0.4.0
Oracle JDBC/OCI Instant Client 11.2.0.4.0
Oracle JDBC/THIN Interfaces 11.2.0.4.0
Oracle JFC Extended Windowing Toolkit 4.2.36.0.0
Oracle JVM 11.2.0.4.0
Oracle Label Security 11.2.0.4.0
Oracle LDAP administration 11.2.0.4.0
Oracle Locale Builder 11.2.0.4.0
Oracle Message Gateway Common Files 11.2.0.4.0
Oracle Multimedia 11.2.0.4.0
Oracle Multimedia Annotator 11.2.0.4.0
Oracle Multimedia Client Option 11.2.0.4.0
Oracle Multimedia Java Advanced Imaging 11.2.0.4.0
Oracle Multimedia Locator 11.2.0.4.0
Oracle Multimedia Locator RDBMS Files 11.2.0.4.0
Oracle Net 11.2.0.4.0
Oracle Net Listener 11.2.0.4.0
Oracle Net Required Support Files 11.2.0.4.0
Oracle Net Services 11.2.0.4.0
Oracle Netca Client 11.2.0.4.0
Oracle Notification Service 11.2.0.3.0
Oracle Notification Service (eONS) 11.2.0.4.0
Oracle ODBC Driver 11.2.0.4.0
Oracle ODBC Driverfor Instant Client 11.2.0.4.0
Oracle OLAP 11.2.0.4.0
Oracle OLAP API 11.2.0.4.0
Oracle OLAP RDBMS Files 11.2.0.4.0
Oracle One-Off Patch Installer 11.2.0.3.4
Oracle Partitioning 11.2.0.4.0
Oracle Programmer 11.2.0.4.0
Oracle Quality of Service Management (Client) 11.2.0.4.0
Oracle RAC Deconfiguration 11.2.0.4.0
Oracle RAC Required Support Files-HAS 11.2.0.4.0
Oracle Real Application Testing 11.2.0.4.0
Oracle Recovery Manager 11.2.0.4.0
Oracle Security Developer Tools 11.2.0.4.0
Oracle Spatial 11.2.0.4.0
Oracle SQL Developer 11.2.0.4.0
Oracle Starter Database 11.2.0.4.0
Oracle Text 11.2.0.4.0
Oracle Text Required Support Files 11.2.0.4.0
Oracle UIX 2.2.24.6.0
Oracle Universal Connection Pool 11.2.0.4.0
Oracle Universal Installer 11.2.0.4.0
Oracle USM Deconfiguration 11.2.0.4.0
Oracle Wallet Manager 11.2.0.4.0
Oracle XML Development Kit 11.2.0.4.0
Oracle XML Query 11.2.0.4.0
Parser Generator Required Support Files 11.2.0.4.0
Perl Interpreter 5.10.0.0.2
Perl Modules 5.10.0.0.1
PL/SQL 11.2.0.4.0
PL/SQL Embedded Gateway 11.2.0.4.0
Platform Required Support Files 11.2.0.4.0
Precompiler Common Files 11.2.0.4.0
Precompiler Required Support Files 11.2.0.4.0
Provisioning Advisor Framework 10.2.0.4.3
RDBMS Required Support Files 11.2.0.4.0
RDBMS Required Support Files for Instant Client 11.2.0.4.0
RDBMS Required Support Files Runtime 11.2.0.4.0
regexp 2.1.9.0.0
Required Support Files 11.2.0.4.0
Sample Schema Data 11.2.0.4.0
Secure Socket Layer 11.2.0.4.0
SQL*Plus 11.2.0.4.0
SQL*Plus Files for Instant Client 11.2.0.4.0
SQL*Plus Required Support Files 11.2.0.4.0
SQLJ Runtime 11.2.0.4.0
SSL Required Support Files for InstantClient 11.2.0.4.0
XDK Required Support Files 11.2.0.4.0
XML Parser for Java 11.2.0.4.0
XML Parser for Oracle JVM 11.2.0.4.0
There are 136 component(s) installed in this Oracle Home.


There are no Interim patches installed in this Oracle Home.


Rac system comprising of multiple nodes
Local node = oracle11grac01
Remote node = oracle11grac02

--------------------------------------------------------------------------------

OPatch succeeded.

Download and Unzip the Patch.

~]# unzip -q -d /soft/ /soft/p19955028_112040_Linux-x86-64.zip
~]# chown -R grid:oinstall /soft/19955028/

Stop EM Agent Processes Prior to Patching and Prior to Rolling Back the Patch.

~]$ export ORACLE_UNQNAME=coco
~]$ /u01/app/oracle/product/11.2.0/db_1/bin/emctl stop dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
・ *https://oracle11grac01:1158/em/console/aboutApplication*
Stopping Oracle Enterprise Manager 11g Database Control ...
... Stopped.
~]$ /u01/app/oracle/product/11.2.0/db_1/bin/emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
・ *https://oracle11grac01:1158/em/console/aboutApplication*
Oracle Enterprise Manager 11g is not running.

Patching Oracle RAC Database Homes and GI Together.

Case 1: GI Home and the Database Homes that are not shared and ACFS file system is not configured.

~]# /u01/app/11.2.0/grid/OPatch/opatch auto /soft/19955028 -ocmrf /soft/ocm.rsp
Executing /u01/app/11.2.0/grid/perl/bin/perl /u01/app/11.2.0/grid/OPatch/crs/patch11203.pl -patchdir /soft -patchn 19955028 -ocmrf /soft/ocm.rsp -paramfile /u01/app/11.2.0/grid/crs/install/crsconfig_params

This is the main log file: /u01/app/11.2.0/grid/cfgtoollogs/opatchauto2024-02-07_17-13-14.log

This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
/u01/app/11.2.0/grid/cfgtoollogs/opatchauto2024-02-07_17-13-14.report.log

2024-02-07 17:13:14: Starting Clusterware Patch Setup
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params

Stopping RAC /u01/app/oracle/product/11.2.0/db_1 ...
Stopped RAC /u01/app/oracle/product/11.2.0/db_1 successfully

patch /soft/19955028/19769489 apply successful for home /u01/app/oracle/product/11.2.0/db_1
patch /soft/19955028/19769476/custom/server/19769476 apply successful for home /u01/app/oracle/product/11.2.0/db_1

Stopping CRS...
Stopped CRS successfully

patch /soft/19955028/19769489 apply successful for home /u01/app/11.2.0/grid
patch /soft/19955028/19769476 apply successful for home /u01/app/11.2.0/grid
patch /soft/19955028/19769469 apply successful for home /u01/app/11.2.0/grid

Starting CRS...
Installing Trace File Analyzer
CRS-4123: Oracle High Availability Services has been started.

Starting RAC /u01/app/oracle/product/11.2.0/db_1 ...
Started RAC /u01/app/oracle/product/11.2.0/db_1 successfully

opatch auto succeeded.

Loading Modified SQL Files into the Database.

The following steps load modified SQL files into the database. For an Oracle RAC environment, perform these steps on only one node

~]$ cd $ORACLE_HOME/rdbms/admin
admin]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Wed Feb 7 18:13:52 2024

Copyright (c) 1982, 2013, Oracle. All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

SQL> @catbundle.sql psu apply
SQL> -- @utlrp.sql
SQL> quit

Start EM Agent Processes.

~]$ export ORACLE_UNQNAME=coco
~]$ /u01/app/oracle/product/11.2.0/db_1/bin/emctl start dbconsole

Errors

Can't locate Switch.pm

~]# /u01/app/11.2.0/grid/OPatch/opatch auto /soft/19955028 -ocmrf /soft/ocm.rsp
Can't locate Switch.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /u01/app/11.2.0/grid/OPatch/crs/auto_patch.pl line 2730.
BEGIN failed--compilation aborted at /u01/app/11.2.0/grid/OPatch/crs/auto_patch.pl line 2730.

The perl version greater than 5.10 have not Swith.pm file.

~]# cp -a /u01/app/11.2.0/grid/perl/lib/5.10.0/Switch.pm /usr/lib64/perl5/

OUI-67073 UtilSession failed

patch /soft/19955028/19769489  apply failed  for home  /u01/app/oracle/product/11.2.0/db_1
patch /soft/19955028/19769489 apply failed for home /u01/app/11.2.0/grid

Prerequisite check "CheckSystemCommandAvailable" failed.

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
UtilSession 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/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2024-02-07_16-29-01PM_1.log

OPatch failed with error code 73

2024-02-07 16:29:05: patch /soft/19955028/19769489 apply failed for home /u01/app/oracle/product/11.2.0/db_1


[Feb 7, 2024 4:29:05 PM] Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
[Feb 7, 2024 4:29:05 PM] Missing command :fuser
[Feb 7, 2024 4:29:05 PM] Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
[Feb 7, 2024 4:29:05 PM] Missing command :fuser
[Feb 7, 2024 4:29:05 PM] Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
[Feb 7, 2024 4:29:05 PM] Missing command :fuser
[Feb 7, 2024 4:29:05 PM] Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
[Feb 7, 2024 4:29:05 PM] Missing command :fuser
[Feb 7, 2024 4:29:05 PM] Prerequisite check "CheckSystemCommandAvailable" failed.
The details are:
Missing command :fuser
[Feb 7, 2024 4:29:05 PM] OUI-67073:UtilSession failed:
Prerequisite check "CheckSystemCommandAvailable" failed.
Prerequisite check "CheckSystemCommandAvailable" failed.
Prerequisite check "CheckSystemCommandAvailable" failed.
Prerequisite check "CheckSystemCommandAvailable" failed.
Prerequisite check "CheckSystemCommandAvailable" failed.
[Feb 7, 2024 4:29:05 PM] Finishing UtilSession at Wed Feb 07 16:29:05 CST 2024
[Feb 7, 2024 4:29:05 PM] Log file location: /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2024-02-07_16-29-01PM_1.log
[Feb 7, 2024 4:29:05 PM] Stack Description: java.lang.RuntimeException:
Prerequisite check "CheckSystemCommandAvailable" failed.
Prerequisite check "CheckSystemCommandAvailable" failed.
Prerequisite check "CheckSystemCommandAvailable" failed.
Prerequisite check "CheckSystemCommandAvailable" failed.
Prerequisite check "CheckSystemCommandAvailable" failed.

Missing command fuser, install psmisc package.

~]# yum search fuser
Loaded plugins: product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

============================================================================================================ Matched: fuser ============================================================================================================
psmisc.x86_64 : Utilities for managing processes on your system

~]# yum -y install psmisc
~]# which fuser
/usr/sbin/fuser

Then retry apply.

OUI-67124 Copy failed

The ohasd.bin copy failed.

 Copy failed from '/soft/19955028/19769476/files/bin/ohasd.bin' to '/u01/app/11.2.0/grid/bin/ohasd.bin'...
Please verify all applications associated with the Oracle Home '/u01/app/11.2.0/grid' are shut down. If this is AIX, please perform solution documented in Note 739963.1 on https://myoraclesupport.oracle.com.

Do you want to retry copying the file? [y|n]
N (auto-answered by -silent)
User Responded with: N

The following actions have failed:
Copy failed from '/soft/19955028/19769476/files/bin/ohasd.bin' to '/u01/app/11.2.0/grid/bin/ohasd.bin'...


Do you want to proceed? [y|n]
N (auto-answered by -silent)
User Responded with: N
ApplySession failed in system modification phase... 'ApplySession::apply failed: Copy failed from '/soft/19955028/19769476/files/bin/ohasd.bin' to '/u01/app/11.2.0/grid/bin/ohasd.bin'...
'

Restoring "/u01/app/11.2.0/grid" to the state prior to running NApply...
OPatch failed to restore the files from backup area. Not running "make".

NApply was not able to restore the home. Please invoke the following scripts:
- restore.[sh,bat]
- make.txt (Unix only)
to restore the ORACLE_HOME. They are located under
"/u01/app/11.2.0/grid/.patch_storage/NApply/2024-02-07_16-53-47PM"

UtilSession failed: ApplySession failed in system modification phase... 'ApplySession::apply failed: Copy failed from '/soft/19955028/19769476/files/bin/ohasd.bin' to '/u01/app/11.2.0/grid/bin/ohasd.bin'...
'
Log file location: /u01/app/11.2.0/grid/cfgtoollogs/opatch/opatch2024-02-07_16-53-47PM_1.log

OPatch failed with error code 73

2024-02-07 16:55:00: patch /soft/19955028/19769476 apply failed for home /u01/app/11.2.0/grid


The following actions have failed:
[Feb 7, 2024 4:54:49 PM] OUI-67124:Copy failed from '/soft/19955028/19769476/files/bin/ohasd.bin' to '/u01/app/11.2.0/grid/bin/ohasd.bin'...
[Feb 7, 2024 4:54:49 PM] Do you want to proceed? [y|n]
[Feb 7, 2024 4:54:52 PM] N (auto-answered by -silent)
[Feb 7, 2024 4:54:52 PM] User Responded with: N
[Feb 7, 2024 4:54:52 PM] OUI-67124:ApplySession failed in system modification phase... 'ApplySession::apply failed: Copy failed from '/soft/19955028/19769476/files/bin/ohasd.bin' to '/u01/app/11.2.0/grid/bin/ohasd.bin'...
'
[Feb 7, 2024 4:54:52 PM] Restoring "/u01/app/11.2.0/grid" to the state prior to running NApply...
[Feb 7, 2024 4:54:59 PM] OPatch failed to restore the files from backup area. Not running "make".
[Feb 7, 2024 4:54:59 PM] OUI-67124:
NApply was not able to restore the home. Please invoke the following scripts:
- restore.[sh,bat]
- make.txt (Unix only)
to restore the ORACLE_HOME. They are located under
"/u01/app/11.2.0/grid/.patch_storage/NApply/2024-02-07_16-53-47PM"
[Feb 7, 2024 4:55:00 PM] OUI-67073:UtilSession failed: ApplySession failed in system modification phase... 'ApplySession::apply failed: Copy failed from '/soft/19955028/19769476/files/bin/ohasd.bin' to '/u01/app/11.2.0/grid/bin/ohasd.bin'...
'
[Feb 7, 2024 4:55:00 PM] --------------------------------------------------------------------------------
[Feb 7, 2024 4:55:00 PM] The following warnings have occurred during OPatch execution:
[Feb 7, 2024 4:55:00 PM] 1) OUI-67124:Copy failed from '/soft/19955028/19769476/files/bin/ohasd.bin' to '/u01/app/11.2.0/grid/bin/ohasd.bin'...
[Feb 7, 2024 4:55:00 PM] 2) OUI-67124:ApplySession failed in system modification phase... 'ApplySession::apply failed: Copy failed from '/soft/19955028/19769476/files/bin/ohasd.bin' to '/u01/app/11.2.0/grid/bin/ohasd.bin'...
'
[Feb 7, 2024 4:55:00 PM] 3) OUI-67124:
NApply was not able to restore the home. Please invoke the following scripts:
- restore.[sh,bat]
- make.txt (Unix only)
to restore the ORACLE_HOME. They are located under
"/u01/app/11.2.0/grid/.patch_storage/NApply/2024-02-07_16-53-47PM"
[Feb 7, 2024 4:55:00 PM] --------------------------------------------------------------------------------
[Feb 7, 2024 4:55:00 PM] Finishing UtilSession at Wed Feb 07 16:55:00 CST 2024
[Feb 7, 2024 4:55:00 PM] Log file location: /u01/app/11.2.0/grid/cfgtoollogs/opatch/opatch2024-02-07_16-53-47PM_1.log
[Feb 7, 2024 4:55:00 PM] Stack Description: java.lang.RuntimeException: ApplySession failed in system modification phase... 'ApplySession::apply failed: Copy failed from '/soft/19955028/19769476/files/bin/ohasd.bin' to '/u01/app/11.2.0/grid/bin/ohasd.bin'...

The cause of the error is unknown, move the /u01/app/11.2.0/grid/bin/ohasd.bin file to /tmp before apply.

~]# mv /u01/app/11.2.0/grid/bin/ohasd.bin /tmp

Then retry apply.