Oracle Opatch Conflict ERROR


Merhaba,

Geçtiğimiz gün, son çıkan PSU Jul2017 - patch 26030799 - Oracle Grid Infrastructure Patch Set Update 11.2.0.4.170718 'nı Oracle 2 Node RAC Veritabanıma uygularken (GRID & ORACLE_HOME) aşağıdaki gibi conflic hatası aldım.. Yani başka bir patch ile conflic oldum.

### Patching.sh ./opatch auto Grid Home & DB Home Automaticly ###


Grid Home : /u01/app/11.2.0/grid
DB Home : /u01/app/oracle/product/11.2.0/dbhome_1

Executing /u01/app/11.2.0/grid/perl/bin/perl /u01/app/11.2.0/grid/OPatch/crs/patch11203.pl -patchdir /u01/stage -patchn 26030799 -ocmrf /u01/stage/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/opatchauto2017-08-08_01-48-19.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/opatchauto2017-08-08_01-48-19.report.log

2017-08-08 01:48:19: Starting Clusterware Patch Setup
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params

Unable to determine if /u01/app/oracle/product/11.2.0/dbhome_1 is shared oracle home
Enter 'yes' if this is not a shared home or if the prerequiste actions are performed to patch this shared home (yes/no):yes

Unable to determine if /u01/app/11.2.0/grid is shared oracle home
Enter 'yes' if this is not a shared home or if the prerequiste actions are performed to patch this shared home (yes/no):yes
The opatch Conflict check failed for /u01/app/oracle/product/11.2.0/dbhome_1. The patch /u01/stage/26030799/25869727 is either already applied or conflicting with another patch applied in the home
Conflict check failed for oracle home /u01/app/oracle/product/11.2.0/dbhome_1
Conflict check failed
ERROR: Conflict-Check has failed . Please refer to /u01/app/11.2.0/grid/cfgtoollogs/opatchauto2017-08-08_01-48-19.log for details

opatch auto failed.


Aksiyon olarak Oracle_Home opatch üzerinden ./opatch lsinventory ile ne geldiyse silip psu yu yeniden uyguladım.

[oracle@DB1]/u01/app/oracle/product/11.2.0/dbhome_1/OPatch> ./opatch lsinventory


opatch rollback -id 19285025
opatch rollback -id 22502549
opatch rollback -id 22502456

Local ile çalıştırdım...

opatch rollback -id 19285025 -local -oh /u01/app/oracle/product/11.2.0/dbhome_1

opatch rollback -id 22502549 -local -oh /u01/app/oracle/product/11.2.0/dbhome_1
opatch rollback -id 22502456 -local -oh /u01/app/oracle/product/11.2.0/dbhome_1


En son ne kaldı diye kontrol ediyorum...

[oracle@DB1]/u01/app/oracle/product/11.2.0/dbhome_1/OPatch> ./opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.16
Copyright (c) 2017, Oracle Corporation. All rights reserved.


Oracle Home : /u01/app/oracle/product/11.2.0/dbhome_1
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/11.2.0/dbhome_1/oraInst.loc
OPatch version : 11.2.0.3.16
OUI version : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2017-08-08_03-36-20AM_1.log

Lsinventory Output file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2017-08-08_03-36-20AM.txt

--------------------------------------------------------------------------------
Local Machine Information::
Hostname: DB1
ARU platform id: 226
ARU platform description:: Linux x86-64

Installed Top-level Products (1):

Oracle Database 11g 11.2.0.4.0
There are 1 products installed in this Oracle Home.


There are no Interim patches installed in this Oracle Home.


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

OPatch succeeded.


ORACLE_HOME Opatch altında daha önce uygulanan tüm patch'leri rollback yaptıktan sonra ./opatch auto ile hem GI_HOME hem ORACLE_HOME için yeniden PSU uygulayabildim. 



Hiç yorum yok:

Ara