OPATCHAUTO APPLY -SWITCH-CLONE FAILED: OPATCHAUTO-72137: Cannot execute out of place patching switch session
(Doc ID 2447737.1)
Last updated on MARCH 12, 2019
Applies to:
Oracle Database - Enterprise Edition - Version 12.2.0.1 to 12.2.0.1 [Release 12.2]Information in this document applies to any platform.
Symptoms
The original home patch details,before running prepatch command
/u01/app/12.2.0/grid/OPatch/opatch lspatches -oh /u01/app/12.2.0/grid
27335416;OCW JAN 2018 RELEASE UPDATE 12.2.0.1.180116 (27335416)
27144050;Tomcat Release Update 12.2.0.1.0(ID:171023.0830) (27144050)
27128906;ACFS Release Update : 12.2.0.1.0 (27128906)
27105253;Database Release Update : 12.2.0.1.180116 (27105253)
26839277;DBWLM RELEASE UPDATE 12.2.0.1.0(ID:170913) (26839277)
OPatch succeeded.
/u01/app/oracle/product/12.2.0/dbhome_1/OPatch/opatch lspatches -oh
/u01/app/oracle/product/12.2.0/dbhome_1
27335416;OCW JAN 2018 RELEASE UPDATE 12.2.0.1.180116 (27335416)
27105253;Database Release Update : 12.2.0.1.180116 (27105253)
The below commands were used.
1st node:
/u01/app/12.2.0/grid/OPatch/opatchauto apply /u02/app/patch/27468969 -prepare-clone
2nd node:
/u01/app/12.2.0/grid/OPatch/opatchauto apply /u02/app/patch/27468969 -prepare-clone
Patch information on cloned home before executing switch-clone, nothing has been changed in original home.
/u02/app/12.2.0/grid_cloned/OPatch/opatch lspatches -oh
/u02/app/12.2.0/grid_cloned
/u02/app/oracle/product/12.2.0/dbhome_cloned/OPatch/opatch lspatches -oh
/u02/app/oracle/product/12.2.0/dbhome_cloned
/u02/app/12.2.0/grid_cloned/OPatch/opatch lspatches -oh
/u02/app/12.2.0/grid_cloned
27674384;Database Apr 2018 Release Update : 12.2.0.1.180417 (27674384)
27464465;OCW APR 2018 RELEASE UPDATE 12.2.0.1.0(180129) (27464465)
27458609;ACFS APR 2018 RELEASE UPDATE 12.2.0.1.0(180129) (27458609)
27144050;Tomcat Release Update 12.2.0.1.0(ID:171023.0830) (27144050)
26839277;DBWLM RELEASE UPDATE 12.2.0.1.0(ID:170913) (26839277)
OPatch succeeded.
/u02/app/oracle/product/12.2.0/dbhome_cloned/OPatch/opatch lspatches -oh
/u02/app/oracle/product/12.2.0/dbhome_cloned
27674384;Database Apr 2018 Release Update : 12.2.0.1.180417 (27674384)
27464465;OCW APR 2018 RELEASE UPDATE 12.2.0.1.0(180129) (27464465)
The following errors is occurred while cloning with April RU 2018 on 1st node.
u01/app/12.2.0/grid/OPatch/opatchauto apply -switch-clone -logLevel FINEST -switch-clone
/u01/app/12.2.0/grid/OPatch/opatchauto apply -switch-clone -logLevel FINEST -switch-clone
OPatchauto session is initiated at Tue Jul 10 11:33:21 2018 Session log file is /u01/app/12.2.0/grid/cfgtoollogs/opatchauto/opatchauto2018-07-10_11-33-22AM.log
The id for this session is CJK1
OPATCHAUTO-72137: Cannot execute out of place patching switch session.
OPATCHAUTO-72137: Oracle Home patch level is changed.
OPATCHAUTO-72137: Please bring all oracle home to original patch level and re-run out of place patching switch operation.
opatchauto<timeframe>.log:
For Oracle Home: /opt/oracle/dbhome_1 following are the patch levels:
=========================================================================
Patch ID: 27674384
Unique Patch ID: 22098633
SQL Patch: true
Patch ID: 27464465
Unique Patch ID: 22045693
SQL Patch: false
For Oracle Home: /opt/oracle/db12.2_home1 following are the patch levels:
=========================================================================
Patch ID: 27335416
Unique Patch ID: 21843624
SQL Patch: false
Patch ID: 27105253
Unique Patch ID: 21862470
SQL Patch: true
2018-06-21 16:22:34,636 INFO [41] com.oracle.glcm.patch.auto.db.product.patchlevel.MultiHostCommandExecutor - [hostname: node3] patchLevelsOnHost:
For Oracle Home: /opt/oracle/dbhome_1 following are the patch levels:
=========================================================================
Patch ID: 27674384
Unique Patch ID: 22098633
SQL Patch: true
Patch ID: 27464465
Unique Patch ID: 22045693
SQL Patch: false
For Oracle Home: /opt/oracle/gi/gi_home1 following are the patch levels:
=========================================================================
Patch ID: 27674384
Unique Patch ID: 22098633
SQL Patch: true
Patch ID: 27464465
Unique Patch ID: 22045693
SQL Patch: false
Patch ID: 27458609
Unique Patch ID: 21914305
SQL Patch: false
Patch ID: 27144050
Unique Patch ID: 21771994
SQL Patch: false
Patch ID: 26839277
Unique Patch ID: 21578760
SQL Patch: false
For Oracle Home: /opt/oracle/db12.2_home1 following are the patch levels:
=========================================================================
Patch ID: 27335416
Unique Patch ID: 21843624
SQL Patch: false
Patch ID: 27105253
Unique Patch ID: 21862470
SQL Patch: true
For Oracle Home: /opt/oracle/gi/gi12.2_home1 following are the patch levels:
=========================================================================
Patch ID: 27144050
Unique Patch ID: 21771994
SQL Patch: false
Patch ID: 27335416
Unique Patch ID: 21843624
SQL Patch: false
Patch ID: 27105253
Unique Patch ID: 21862470
SQL Patch: true
Patch ID: 26839277
Unique Patch ID: 21578760
SQL Patch: false
Patch ID: 27128906
Unique Patch ID: 21724186
SQL Patch: false
2018-06-21 16:22:34,638 INFO [41] com.oracle.cie.common.util.reporting.CommonReporter - Reporting console output : Message{id='null', message='OPATCHAUTO-72137: Cannot execute out of place patching switch session.
OPATCHAUTO-72137: Oracle Home patch level is changed.
OPATCHAUTO-72137: Please bring all oracle home to original patch level and re-run out of place patching switch operation.'}
2018-06-21 16:22:34,638 INFO [41] com.oracle.cie.common.util.reporting.CommonReporter - Reporting console output : Message{id='null', message='
Host :: tf2il0003'}
2018-06-21 16:22:34,638 INFO [41] com.oracle.cie.common.util.reporting.CommonReporter - Reporting console output : Message{id='null', message='
=============================================='}
2018-06-21 16:22:34,638 INFO [41] com.oracle.cie.common.util.reporting.CommonReporter - Reporting console output : Message{id='null', message='
Original Patch Level ::
Oracle Home /opt/oracle/dbhome_1: Patch ID: 27335416 Patch ID: 27105253 Patch ID: 27464465 Patch ID: 27674384
Oracle Home /opt/oracle/gi/gi_home1: Patch ID: 27144050 Patch ID: 27335416 Patch ID: 27105253 Patch ID: 26839277 Patch ID: 27128906 Patch ID: 27464465 Patch ID: 27458609 Patch ID: 27674384
Oracle Home /opt/oracle/db12.2_home1: Patch ID: 27335416 Patch ID: 27105253
Oracle Home /opt/oracle/gi/gi12.2_home1: Patch ID: 27144050 Patch ID: 27335416 Patch ID: 27105253 Patch ID: 26839277 Patch ID: 27128906
'}
2018-06-21 16:22:34,639 INFO [41] com.oracle.cie.common.util.reporting.CommonReporter - Reporting console output : Message{id='null', message='
=============================================='}
2018-06-21 16:22:34,639 INFO [41] com.oracle.cie.common.util.reporting.CommonReporter - Reporting console output : Message{id='null', message='
Current Patch Level ::
Oracle Home /opt/oracle/dbhome_1: Patch ID: 27674384 Patch ID: 27464465
Oracle Home /opt/oracle/gi/gi_home1: Patch ID: 27674384 Patch ID: 27464465 Patch ID: 27458609 Patch ID: 27144050 Patch ID: 26839277
Oracle Home /opt/oracle/db12.2_home1: Patch ID: 27335416 Patch ID: 27105253
Oracle Home /opt/oracle/gi/gi12.2_home1: Patch ID: 27144050 Patch ID: 27335416 Patch ID: 27105253 Patch ID: 26839277 Patch ID: 27128906
'}
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |