DBA Hub

📋Steps in this guide1/3

OPATCHAUTO-72088: OPatch software version in homes selected for patching are different. - DBACLASS DBACLASS

OPATCHAUTO-72088: OPatch software version in homes selected for patching are different. To fix this check the opatch version.

oracle clusteringintermediate
by OracleDba
13 views
1

PROBLEM:

While  analyzing/applying patch to both grid and db at a same time using opatchauto command , got below error.

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
root@dbaclass01:/export/home/oracle# /gridapp/app/oracle/product/grid12c/OPatch/opatchauto apply /oradbtrace/JAN2021BP/32131231 -analyze

OPatchauto session is initiated at Thu Apr 15 11:10:45 2021

System initialization log file is /gridapp/app/oracle/product/grid12c/cfgtoollogs/opatchautodb/systemconfig2021-04-15_11-10-50AM.log.

Session log file is /gridapp/app/oracle/product/grid12c/cfgtoollogs/opatchauto/opatchauto2021-04-15_11-12-20AM.log
The id for this session is UVGK dbaclass01

Wrong OPatch software installed in following homes:
Host:dbaclass01, Home:/gridapp/app/oracle/product/grid12c

Host:dbaclass01, Home:/oracle/app/oracle/product/12.1.0.2/dbhome_1

OPATCHAUTO-72088: OPatch version check failed.
OPATCHAUTO-72088: OPatch software version in homes selected for patching are different.
OPATCHAUTO-72088: Please install same OPatch software in all homes.
OPatchAuto failed.

OPatchauto session completed at Thu Apr 15 11:12:38 2021
Time taken to complete the session 1 minute, 54 seconds
2

SOLUTION:

The above opatch command is trying to apply the patch on both grid and rdbms homes. So for this to succeed the opatch utility version should be same for both grid and rdbms homes. Check opatch version for grid home: Check opatch version for rdbms home: We can see the both the opatch versions are different, So apply the same opatch utility to both the homes to make sure that both of them have same opatch version. You can see below link for : How to install OPatch in ORACLE RAC

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
$GRID_HOME/OPatch/opatch version

OPatch Version: 12.2.0.1.23

$ORACLE_HOME/OPatch/opatch version

OPatch Version: 12.2.0.1.21
3

ALTERNATIVE WORKAROUND:

If you dont want to change the opatch utility version, then to avoid this error, you can apply the patch on grid_home and rdbms_home separately as below. For applying patch on grid_home: For applying patch on rdbms_home: Reference – OPATCHAUTO-72088: OPatch version check failed is reported for OPatchauto analyze or apply (Doc ID 2261699.1)

Comments (0)

Please to add comments

No comments yet. Be the first to comment!