Oracle rdbms 扑灭psu离11.2.0.3.0升级到11.2.0.3.11

参考patch :18522512
停止应用,停止听音乐并DB,将db的oracle_home在下面OPatch将文件夹添加到环境变化PATH。由于接下来要用opatch工具。
报错,说这个opatch工具太旧。要下载新的。
The OPatch version being used (11.2.0.1.7) doesn't meet the minimum version required by the patch(es). Please download latest OPatch from My Oracle Support.
下载了11.2.0.3.6的opatch工具,将内容覆盖Oracle_home的OPatch里面的内容,(做好备份)
一,首次尝试发现冲突
ora@erpt1:erpt1 > opatch apply 

oracle Interim Patch Installer version 11.2.0.3.6 

copyright (c) 2013, Oracle Corporation. All rights reserved. 

oracle Home : /u01/erpt1/db/tech_st/11.2.0 

central Inventory : /u01/oraInventory 

from : /u01/erpt1/db/tech_st/11.2.0/oraInst.loc 

oPatch version : 11.2.0.3.6 

oUI version : 11.2.0.3.0 

log file location : /u01/erpt1/db/tech_st/11.2.0/cfgtoollogs/opatch/opatch2014-07-29_14-58-27PM_1.log 

verifying environment and performing prerequisite checks... 

composite Patch 18522512 is a bug superset of 13001379,9858539 in OH. 

composite Patch 18522512 conflicts with installed patch(es) 12942119, 13004894 

conflict Description: 

here are the specific sub-patches of composite patch 18522512 that conflict with 12942119, 13004894 

sub-Patch 16619892 conflicts with 13004894 

sub-Patch 16902043 conflicts with 12942119 

conflict Remedy: 

refer to My Oracle Support Note 1299688.1 for instructions on resolving patch conflicts. 

utilSession failed: Composite conflicts with existing oneoffs. 

log file location: /u01/erpt1/db/tech_st/11.2.0/cfgtoollogs/opatch/opatch2014-07-29_14-58-27PM_1.log 

oPatch failed with error code 73
大意是说。我的patch与一些有已打的patch有冲突,也是一些已经打的patch的超集。

利用自述文档里面的方法,再检查一下,大意跟上面的差点儿相同。

ora@erpt1:erpt1 > opatch prereq CheckConflictAgainstOHWithDetail -ph ./ 

Oracle Interim Patch Installer version 11.2.0.3.6 

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

PREREQ session 

Oracle Home : /u01/erpt1/db/tech_st/11.2.0 

Central Inventory : /u01/oraInventory 

from : /u01/erpt1/db/tech_st/11.2.0/oraInst.loc 

OPatch version : 11.2.0.3.6 

OUI version : 11.2.0.3.0 

Log file location : /u01/erpt1/db/tech_st/11.2.0/cfgtoollogs/opatch/opatch2014-07-29_15-02-46PM_1.log 

Invoking prereq "checkconflictagainstohwithdetail" 

ZOP-47: The patch(es) has supersets with other patches installed in the Oracle Home (or) among themselves. 

ZOP-40: The patch(es) has conflicts with other patches installed in the Oracle Home (or) among themselves. 

Prereq "checkConflictAgainstOHWithDetail" failed. 

Summary of Conflict Analysis: 

There are no patches that can be applied now. 

Following patches have conflicts. Please contact Oracle Support and get the merged patch of the patches : 

13004894, 18522512, 12942119 

Following patches are not required, as they are subset of the patches in Oracle Home or subset of the patches in the given list : 

13001379, 9858539 

Following patches will be rolled back from Oracle Home on application of the patches in the given list : 

13004894, 13001379, 12942119, 9858539 

Conflicts/Supersets for each patch are: 

Patch : 18522512 

Conflict with 13004894 

Conflict details: 

/u01/erpt1/db/tech_st/11.2.0/lib/libserver11.a:/qke.o 

/u01/erpt1/db/tech_st/11.2.0/lib/libserver11.a:/qke.o 

/u01/erpt1/db/tech_st/11.2.0/lib/libserver11.a:/qke.o 

Bug Superset of 13001379 

Super set bugs are: 

13001379 

Conflict with 12942119 

Conflict details: 

/u01/erpt1/db/tech_st/11.2.0/lib/libserver11.a:/qksbg.o 

Bug Superset of 9858539 

Super set bugs are: 

9858539 

OPatch succeeded.

二、SR回复

此时我给MOS提了个SR,说了下情况。
Oracleproject师这么回复:
PSU patch 11.2.0.3.11 has conflicts
Here are the specific sub-patches of composite patch 18522512 that conflict with 12942119, 13004894
Sub-Patch 16619892 conflicts with 13004894
Sub-Patch 16902043 conflicts with 12942119 

大意是,我们的patch 18522512是复合patch 。里面有一些子Patch,这些子patch与我已打的patch12942119, 13004894有冲突。

(一般patch号就是bug号)。什么是冲突呢?假设我打了个Patch改动了一个二进制文件,然后再打另外一个Patch又改动这个二进制文件,可是会把第一个patch的效果消除,那就是冲突。

Patch conflict occurs when patches try to modify same binaries. To resolve conflicts and get fixes of both conflicting patches, we need to apply merge patch.  

In case patch is conflicting PSU, then we say overlay patch instead of merge patch.  

In composite patch model, we need to look at which PSU conflicts with existing installed patch.  

In our case patch 13004894 patch conflicts with 11.2.0.3.7 PSU patch. So we develop overlay patch for 11.2.0.3.7 version,  

If you check patch 13004894, it would have released for other version as well, it means the patch conflicts with those PSU as well. 

一般来说。为了解决这样的冲突,我们就要下载merge patch。

merge patch能同一时候包括了两个冲突的patch的叠加效果。

假设我们下载的是有冲突的PSU Patch,那么我们就用overlay patch的叫法来取代merge patch。意思是overlay patch也是叠加了冲突各方效果的psu patch包。对于psu patch这样的复合的Patch包。我们须要知道这个包里面那个子patch与已经安装的patch产生冲突。在这个案例中,已经安装的patch 13004894与PSU PSU 11.2.0.3.7
与11.2.0.3.8有冲突。此时有同学要问了。我们要装的不是patch 11.2.0.3.11吗?怎么变成11.2.0.3.7了?


Dear Oracle team,
Thanks for your update.
11.2.0.3.11 is PSU version, not DB version. The last digit denotes at what PSU level the environment is.
Also PSU will not change the banner or binary version.
You can confirm this by querying
select * from v$version;
Reference:
Do Patchset Updates (PSU's) Change the Oracle Release Version/Fifth Digit? ( Doc ID 861152.1 )
PSU patches are composite. Suppose I have installed 11.2.0.3.4 PSU and applying 11.2.0.3.7 PSU, it will append fixes from 11.2.0.3.5 to 11.2.0.3.7
Old PSU will not be rolled back. In 10.2 and 11.1 old PSU will be rolled back while applying new PSU.
In 11.2 it has been improved. Time to rollback old PSU is saved.
More details at : Composite Patches for Oracle Products [Video] ( Doc ID 1376691.1 )
In our case the existing patches have conflict with Sub patches of PSU 11.2.0.3.11 while applying.
Those conflicting sub patches are 11.2.0.3.7 and 11.2.0.3.8. Existing patch has conflict with fixes of sub patches.
Hence we are applying overlay patches of those version.
In case the above update is not clear or if you have any doubts, kindly let me know. 

依据Oracleproject师的描写叙述,11.2.0.3.11是一个PSU版本号。而不是数据库版本号。

版本号最后一位是代表该数据库PSU的版本号。而我们的数据库是11.2.0.3,PSU不会改变它。

參考(Doc ID 861152.1)

PSU patches是复合的,比方我要从11.2.0.3.4打到11.2.0.3.7。这个PSU会先从11.2.0.3.4打到11.2.0.3.5。再从11.2.0.3.5打到11.2.0.3.7。
在10.2与11.1中,打新的PSU时。老的PSU会回滚。

但在11.2中就不会。

參考(Doc ID 1376691.1).



Dear Oracle team,
Thanks for raising your queries.
Query: As I know,18522512 was 11.2.0.3.11.After I apply it after (3),Why I should down psu11.2.0.3.7 at(4)?Did the psu 11.2.0.3.11 not contain 11.2.0.3.7?
Ans: Yes, PSU 11.2.0.3.11 includes 11.2.0.3.7 PSU also.
In 4th step we are downloading patch 13004894 of 11.2.0.3.7 version.
While applying 11.2.0.3.11 PSU, it applies PSU patch 11.2.0.3.7 also which is not installed earlier.
Existing Patch 13004894 has conflict with 11.2.0.3.7 PSU, hence we are applying 13004894 of 11.2.0.3.7 version
Query: Apply PSU patch 18522512
Do you meadn I just put in
"cd 18522512
opatch apply"?Should I "startup" and "@catbundle.sql psu apply"?

We are applying patch only at binary level in 3rd step, i.e. opatch apply
Database start up and catbundle execution is covered in step 7
We can do this step along with opatch apply, but for applying overlay patch (step 4) again we have to shutdown the database.
To avoid that we apply all patches at binary first, then start the database to execute catbundle.sql 

11.2.0.3.11的PSU是包括11.2.0.3.7的PSU的。Apply 11.2.0.3.11的PSU,是会先APPLY 11.2.0.3.7版本号的。可是,已经存在的patch 13004894跟这个11.2.0.3.7 PSU有冲突。因此我们须要安装13004894的11.2.0.3.7版本号,这个PSU。是会包括11.2.0.3.7的PSU与13004894这个patch的协调版本号。


三。实际操作
Thanks for contacting oracle support. 

PSU patch has conflict with existing installed patches. 

Merge patch is available for this conflict. You can follow below steps to apply patch 

1) Shutdown oracle services and then take backup of Oracle database, oracle home and central inventory 

2) Rollback conflicting patches 13004894,12942119 

opatch rollback -id <patch id> 

3) Apply PSU patch 18522512 

4) Download following overlay patches from Oracle support, 

https://updates.oracle.com/download/13004894.html 

choose platform as 'Linux X86' and version as 11.2.0.3.7 

p13004894_112037_LINUX.zip 

https://updates.oracle.com/download/12942119.html 

choose platform as 'Linux X86' and version as 11.2.0.3.8 

p12942119_112038_LINUX.zip 

5) Unzip the downloaded patches and apply. It will not have conflicts 

6) Start the database 

7) Perform PSU patch post Installation Instructions as specified in Patch Read me file 

Please let me know if you require more details/assistance on any steps 

We would like inform you about new MOS feature. 

A new Patch Conflict Checker feature is available in the latest release of MOS. This is accessible from the Patch Search results screen ("Analyze with OPatch" button) and allows you to analyze candidate patches for conflicts and request merge fixes a lot more
easily and quickly at the time of patch download itself. This feature allows you to: 

1. Analyze patches for conflicts right at the time of patch download - All you need is your Opatch inventory. 

2. Locate already available replacement patches – So, you can download resolution patches immediately. 

3. Request a merge patch right there, if no replacement patches exist - You will not have to spend time logging a SR. 

For more information and a demonstration video, please see Note 1091294.1 - How to use the My Oracle Support Conflict Checker Tool. Should you need assistance get started, I am glad to set up a call/web conference to walk you through the steps. 
 

(1)停应用、监听、数据库;

(2)rollback两个已经存在的patch
ora@erpt1:erpt1 > opatch rollback -id 13004894 

Oracle Interim Patch Installer version 11.2.0.3.6 

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

Oracle Home : /u01/erpt1/db/tech_st/11.2.0 

Central Inventory : /u01/oraInventory 

from : /u01/erpt1/db/tech_st/11.2.0/oraInst.loc 

OPatch version : 11.2.0.3.6 

OUI version : 11.2.0.3.0 

Log file location : /u01/erpt1/db/tech_st/11.2.0/cfgtoollogs/opatch/13004894_Jul_30_2014_11_45_32/rollback2014-07-30_11-45-31AM_1.log 

RollbackSession rolling back interim patch '13004894' from OH '/u01/erpt1/db/tech_st/11.2.0' 

Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. 

(Oracle Home = '/u01/erpt1/db/tech_st/11.2.0') 

Is the local system ready for patching?

[y|n] 



User Responded with: Y 

Patching component oracle.rdbms, 11.2.0.3.0... 

RollbackSession removing interim patch '13004894' from inventory 

Log file location: /u01/erpt1/db/tech_st/11.2.0/cfgtoollogs/opatch/13004894_Jul_30_2014_11_45_32/rollback2014-07-30_11-45-31AM_1.log 

OPatch succeeded. 

ora@erpt1:erpt1 > opatch rollback -id 12942119 

Oracle Interim Patch Installer version 11.2.0.3.6 

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

Oracle Home : /u01/erpt1/db/tech_st/11.2.0 

Central Inventory : /u01/oraInventory 

from : /u01/erpt1/db/tech_st/11.2.0/oraInst.loc 

OPatch version : 11.2.0.3.6 

OUI version : 11.2.0.3.0 

Log file location : /u01/erpt1/db/tech_st/11.2.0/cfgtoollogs/opatch/12942119_Jul_30_2014_11_47_21/rollback2014-07-30_11-47-21AM_1.log 

RollbackSession rolling back interim patch '12942119' from OH '/u01/erpt1/db/tech_st/11.2.0' 

Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. 

(Oracle Home = '/u01/erpt1/db/tech_st/11.2.0') 

Is the local system ready for patching? [y|n] 



User Responded with: Y 

Patching component oracle.rdbms, 11.2.0.3.0... 

RollbackSession removing interim patch '12942119' from inventory 

Log file location: /u01/erpt1/db/tech_st/11.2.0/cfgtoollogs/opatch/12942119_Jul_30_2014_11_47_21/rollback2014-07-30_11-47-21AM_1.log 

OPatch succeeded. 

ora@erpt1:erpt1 >

(3)先apply PSU 18522512 ,就是cd 18522512 ,opatch apply.

ora@erpt1:erpt1 > cd 18522512

ora@erpt1:erpt1 > ls

13343438 13696216 13923374 14275605 14727310 16056266 16619892 16902043 17540582 18031683 18522512 patchmd.xml README.html README.txt

ora@erpt1:erpt1 > opatch apply 

Oracle Interim Patch Installer version 11.2.0.3.6 

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

Oracle Home : /u01/erpt1/db/tech_st/11.2.0 

Central Inventory : /u01/oraInventory 

from : /u01/erpt1/db/tech_st/11.2.0/oraInst.loc 

OPatch version : 11.2.0.3.6 

OUI version : 11.2.0.3.0 

Log file location : /u01/erpt1/db/tech_st/11.2.0/cfgtoollogs/opatch/opatch2014-07-30_11-49-30AM_1.log 

Verifying environment and performing prerequisite checks... 

Composite Patch 18522512 is a bug superset of 13001379,9858539 in OH. 

Patches [ 13001379 9858539 ] will be rolled back. 

Do you want to proceed?

[y|n] 



User Responded with: Y 

OPatch continues with these patches: 13343438 13696216 13923374 14275605 14727310 16056266 16619892 16902043 17540582 18031683 18522512 

Do you want to proceed?

[y|n] 



User Responded with: Y 

All checks passed. 

Provide your email address to be informed of security issues, install and 

initiate Oracle Configuration Manager. Easier for you if you use your My 

Oracle Support Email address/User Name. 

Visit http://www.oracle.com/support/policies.html for details. 

Email address/User Name: 

You have not provided an email address for notification of security issues. 

Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: Y 

Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. 

(Oracle Home = '/u01/erpt1/db/tech_st/11.2.0') 

Is the local system ready for patching? [y|n] 



User Responded with: Y 

Backing up files... 

Applying sub-patch '13343438' to OH '/u01/erpt1/db/tech_st/11.2.0' 

Rolling back interim patch '13001379' from OH '/u01/erpt1/db/tech_st/11.2.0' 

Patching component oracle.rdbms, 11.2.0.3.0... 

RollbackSession removing interim patch '13001379' from inventory 

Rolling back interim patch '9858539' from OH '/u01/erpt1/db/tech_st/11.2.0' 

Patching component oracle.rdbms, 11.2.0.3.0... 

RollbackSession removing interim patch '9858539' from inventory 

OPatch back to application of the patch '13343438' after auto-rollback. 

Patching component oracle.rdbms.rsf, 11.2.0.3.0... 

Patching component oracle.rdbms, 11.2.0.3.0... 

Patching component oracle.rdbms.dbscripts, 11.2.0.3.0... 

Verifying the update... 

Applying sub-patch '13696216' to OH '/u01/erpt1/db/tech_st/11.2.0' 

Patching component oracle.rdbms.rsf, 11.2.0.3.0... 

Patching component oracle.rdbms, 11.2.0.3.0... 

Patching component oracle.sdo.locator, 11.2.0.3.0... 

Patching component oracle.sysman.console.db, 11.2.0.3.0... 

Patching component oracle.sysman.oms.core, 10.2.0.4.4... 

Verifying the update... 

Applying sub-patch '13923374' to OH '/u01/erpt1/db/tech_st/11.2.0' 

ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.3.0 ] not present in the Oracle Home or a higher version is found. 

Patching component oracle.rdbms.rsf, 11.2.0.3.0... 

Patching component oracle.rdbms, 11.2.0.3.0... 

Patching component oracle.rdbms.dbscripts, 11.2.0.3.0... 

Patching component oracle.network.rsf, 11.2.0.3.0... 

Patching component oracle.network.listener, 11.2.0.3.0... 

Patching component oracle.sysman.console.db, 11.2.0.3.0... 

Verifying the update... 

Applying sub-patch '14275605' to OH '/u01/erpt1/db/tech_st/11.2.0' 

ApplySession: Optional component(s) [ oracle.precomp.lang, 11.2.0.3.0 ] not present in the Oracle Home or a higher version is found. 

Patching component oracle.network.client, 11.2.0.3.0... 

Patching component oracle.network.rsf, 11.2.0.3.0... 

Patching component oracle.precomp.common, 11.2.0.3.0... 

Patching component oracle.rdbms, 11.2.0.3.0... 

Patching component oracle.rdbms.dbscripts, 11.2.0.3.0... 

Patching component oracle.rdbms.rman, 11.2.0.3.0... 

Patching component oracle.rdbms.rsf, 11.2.0.3.0... 

Patching component oracle.rdbms.util, 11.2.0.3.0... 

Verifying the update... 

Applying sub-patch '14727310' to OH '/u01/erpt1/db/tech_st/11.2.0' 

Patching component oracle.rdbms, 11.2.0.3.0... 

Patching component oracle.rdbms.dbscripts, 11.2.0.3.0... 

Patching component oracle.rdbms.rsf, 11.2.0.3.0... 

Patching component oracle.sdo.locator, 11.2.0.3.0... 

Patching component oracle.sysman.console.db, 11.2.0.3.0... 

Patching component oracle.sysman.oms.core, 10.2.0.4.4... 

Verifying the update... 

Applying sub-patch '16056266' to OH '/u01/erpt1/db/tech_st/11.2.0' 

ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.3.0 ] not present in the Oracle Home or a higher version is found. 

Patching component oracle.network.listener, 11.2.0.3.0... 

Patching component oracle.network.rsf, 11.2.0.3.0... 

Patching component oracle.ovm, 11.2.0.3.0... 

Patching component oracle.rdbms, 11.2.0.3.0... 

Patching component oracle.rdbms.rman, 11.2.0.3.0... 

Patching component oracle.rdbms.rsf, 11.2.0.3.0... 

Patching component oracle.sdo.locator, 11.2.0.3.0... 

Patching component oracle.rdbms.deconfig, 11.2.0.3.0... 

Verifying the update... 

Applying sub-patch '16619892' to OH '/u01/erpt1/db/tech_st/11.2.0' 

ApplySession: Optional component(s) [ oracle.precomp.lang, 11.2.0.3.0 ] not present in the Oracle Home or a higher version is found. 

Patching component oracle.marvel, 11.2.0.3.0... 

Patching component oracle.precomp.common, 11.2.0.3.0... 

Patching component oracle.rdbms, 11.2.0.3.0... 

Patching component oracle.rdbms.rman, 11.2.0.3.0... 

Patching component oracle.rdbms.rsf, 11.2.0.3.0... 

Patching component oracle.sysman.agent, 10.2.0.4.3... 

Patching component oracle.sysman.console.db, 11.2.0.3.0... 

Patching component oracle.sysman.repository.core, 10.2.0.4.4... 

Patching component oracle.xdk, 11.2.0.3.0... 

Patching component oracle.xdk.parser.java, 11.2.0.3.0... 

Patching component oracle.xdk.rsf, 11.2.0.3.0... 

Verifying the update... 

Applying sub-patch '16902043' to OH '/u01/erpt1/db/tech_st/11.2.0' 

ApplySession: Optional component(s) [ oracle.idm.oid, 11.2.0.3.0 ] not present in the Oracle Home or a higher version is found. 

Patching component oracle.ldap.rsf, 11.2.0.3.0... 

Patching component oracle.ldap.rsf.ic, 11.2.0.3.0... 

Patching component oracle.owb.rsf, 11.2.0.3.0... 

Patching component oracle.rdbms, 11.2.0.3.0... 

Patching component oracle.rdbms.rsf, 11.2.0.3.0... 

Patching component oracle.sysman.console.db, 11.2.0.3.0... 

Verifying the update... 

Applying sub-patch '17540582' to OH '/u01/erpt1/db/tech_st/11.2.0' 

ApplySession: Optional component(s) [ oracle.precomp.lang, 11.2.0.3.0 ] not present in the Oracle Home or a higher version is found. 

Patching component oracle.rdbms, 11.2.0.3.0... 

Patching component oracle.rdbms.rsf, 11.2.0.3.0... 

Patching component oracle.sdo, 11.2.0.3.0... 

Patching component oracle.ldap.rsf, 11.2.0.3.0... 

Patching component oracle.precomp.common, 11.2.0.3.0... 

Patching component oracle.ordim.client, 11.2.0.3.0... 

Patching component oracle.rdbms.util, 11.2.0.3.0... 

Patching component oracle.rdbms.dbscripts, 11.2.0.3.0... 

Patching component oracle.sdo.locator, 11.2.0.3.0... 

Patching component oracle.rdbms.rman, 11.2.0.3.0... 

Patching component oracle.ordim.jai, 11.2.0.3.0... 

Verifying the update... 

Applying sub-patch '18031683' to OH '/u01/erpt1/db/tech_st/11.2.0' 

ApplySession: Optional component(s) [ oracle.precomp.lang, 11.2.0.3.0 ] not present in the Oracle Home or a higher version is found. 

Patching component oracle.rdbms.rsf, 11.2.0.3.0... 

Patching component oracle.rdbms, 11.2.0.3.0... 

Patching component oracle.ldap.rsf, 11.2.0.3.0... 

Patching component oracle.precomp.common, 11.2.0.3.0... 

Patching component oracle.rdbms.rman, 11.2.0.3.0... 

Patching component oracle.rdbms.util, 11.2.0.3.0... 

Patching component oracle.rdbms.dbscripts, 11.2.0.3.0... 

Verifying the update... 

Applying sub-patch '18522512' to OH '/u01/erpt1/db/tech_st/11.2.0' 

Patching component oracle.rdbms.rsf, 11.2.0.3.0... 

Patching component oracle.rdbms, 11.2.0.3.0... 

Patching component oracle.network.rsf, 11.2.0.3.0... 

Patching component oracle.precomp.common, 11.2.0.3.0... 

Patching component oracle.rdbms.rman, 11.2.0.3.0... 

Patching component oracle.rdbms.dbscripts, 11.2.0.3.0... 

Verifying the update... 

OPatch found the word "warning" in the stderr of the make command. 

Please look at this stderr. You can re-run this make command. 

Stderr output: 

ins_precomp.mk:19: warning: overriding commands for target `pcscfg.cfg' 

/u01/erpt1/db/tech_st/11.2.0/precomp/lib/env_precomp.mk:2160: warning: ignoring old commands for target `pcscfg.cfg' 

/u01/erpt1/db/tech_st/11.2.0/precomp/lib/ins_precomp.mk:19: warning: overriding commands for target `pcscfg.cfg' 

/u01/erpt1/db/tech_st/11.2.0/precomp/lib/env_precomp.mk:2160: warning: ignoring old commands for target `pcscfg.cfg' 

OPatch found the word "warning" in the stderr of the make command. 

Please look at this stderr. You can re-run this make command. 

Stderr output: 

ins_emagent.mk:113: warning: overriding commands for target `nmosudo' 

ins_emagent.mk:52: warning: ignoring old commands for target `nmosudo' 

/u01/erpt1/db/tech_st/11.2.0/sysman/lib/ins_emagent.mk:113: warning: overriding commands for target `nmosudo' 

/u01/erpt1/db/tech_st/11.2.0/sysman/lib/ins_emagent.mk:52: warning: ignoring old commands for target `nmosudo' 

Composite patch 18522512 successfully applied. 

OPatch Session completed with warnings. 

Log file location: /u01/erpt1/db/tech_st/11.2.0/cfgtoollogs/opatch/opatch2014-07-30_11-49-30AM_1.log 

OPatch completed with warnings. 

ora@erpt1:erpt1 >


(4)然后我们再下载13004894 这个与11.2.0.3.7 PSU能相融合的patch。

再下载12942119这个能与11.2.0.3.8 PSU相融合的overlay Patch。并分别apply上。

(5)然后依照18522512 PSU的read me file里面的post Installation Instructions,进行catbundle。

sqlplus '/as sysdba'
startup
@catbundle.sql psu apply

我们必须先做(3),再做(4),(5),也就是说先PSU18522512 后,再打overlay patch。而不能是先做overlay patch。

否则会报这种错。
[ora3@erpt1 13004894]$ opatch apply 

Oracle Interim Patch Installer version 11.2.0.3.6 

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

Oracle Home : /u03/erpt3/db/tech_st/11.2.0 

Central Inventory : /u01/oraInventory 

from : /u03/erpt3/db/tech_st/11.2.0/oraInst.loc 

OPatch version : 11.2.0.3.6 

OUI version : 11.2.0.3.0 

Log file location : /u03/erpt3/db/tech_st/11.2.0/cfgtoollogs/opatch/13004894_Jul_31_2014_17_59_23/apply2014-07-31_17-59-22PM_1.log 

Applying interim patch '13004894' to OH '/u03/erpt3/db/tech_st/11.2.0' 

Verifying environment and performing prerequisite checks... 

Prerequisite check "CheckPatchApplyDependents" failed. 

The details are: 

Interim patch 13004894 requires prerequisite patch(es) [ 16619892 ] which are not present in the Oracle Home. 

Apply prerequisite patch(es) [ 16619892 ] before applying interim patch 13004894 . 

Log file location: /u03/erpt3/db/tech_st/11.2.0/cfgtoollogs/opatch/13004894_Jul_31_2014_17_59_23/apply2014-07-31_17-59-22PM_1.log 

Recommended actions: This patch requires some other patches to be installed in the Oracle Home. OPatch cannot find those required patches in the Oracle Home. 

OPatch failed with error code 42
而这个16619892。正是产生冲突的那个sub patch。
完成。

版权声明:本文博主原创文章,博客,未经同意不得转载。

PSU 离11.2.0.3.0 -&gt; 11.2.0.3.11 如果解决冲突的整个的更多相关文章

  1. 报错:Unable to load configuration. - action - file:/E:/apache-tomcat-8.0.37/webapps/20161102-struts2-3/WEB-INF/classes/struts.xml:11:73

    第一种报错: 严重: Exception starting filter struts2Unable to load configuration. - action - file:/E:/apache ...

  2. 出现Fatal IO error 11 (资源暂时不可用) on X server :0.0.的可能原因及解决方案

    我在使用python的过程当中发现了这个有这样的错误,后来看了下面这篇文档才知道原因所在. 最近在编写一个局域网的聊天工具,在编写客户端时,我把界面部分和事件处理函数写好后,准备再开一个线程用于接收服 ...

  3. 探索Oracle数据库升级6 11.2.0.4.3 Upgrade12c(12.1.0.1)

    探索Oracle数据库升级6 11.2.0.4.3 Upgrade12c(12.1.0.1) 一.前言:       Oracle 12c公布距今已经一年有余了,其最大亮点是一个能够插拔的数据库(PD ...

  4. Unable to load configuration. - action - file:/F:/apache-tomcat-8.0.30/webapps/test1Struts2/WEB-INF/classes/struts.xml:11:71

    Unable to load configuration. - action - file:/F:/apache-tomcat-8.0.30/webapps/test1Struts2/WEB-INF/ ...

  5. Oracle 11.2.0.4在线(Online mode)打补丁14084247解决WRH$_ACTIVE_SESSION_HISTORY不会自动切割的问题

      安装了Oracle Database Release 11.2.0.4之后,发现WRH$_ACTIVE_SESSION_HISTORY始终不会自动分割删除,   后来才发现需要应用补丁:14084 ...

  6. .NET 5.0 RC2 发布,正式版即将在 11 月 .NET Conf 大会上发布

    原文:http://dwz.win/ThX 作者:Richard 翻译:精致码农-王亮 说明:本译文舍弃了少许我实在不知道如何翻译但又不是很重要的语句. 今天(10月13日)我们发布了 .NET 5. ...

  7. Linux下Oracle 10.2.0.1升级到10.2.0.4总结

    最近部署测试环境时,将测试环境ORACLE数据库从10.2.0.1升级到了10.2.0.4,顺便整理记录一下升级过程. 实验环境: 操作系统:Oracle Linux Server release 5 ...

  8. CentOS7.0分布式安装HADOOP 2.6.0笔记-转载的

    三台虚拟机,IP地址通过路由器静态DHCP分配 (这样就无需设置host了). 三台机器信息如下 -      1. hadoop-a: 192.168.0.20  #master     2. ha ...

  9. NVIDIA-docker报错:docker-ce (= 5:18.09.0~3-0~ubuntu-xenial) but 18.06.0~ce~3-0~ubuntu is to be installed

    报错: The following packages have unmet dependencies: nvidia-docker2 : Depends: docker-ce (= 5:18.09.0 ...

随机推荐

  1. Vanya and Lanterns

    Description Vanya walks late at night along a straight street of length l, lit by n lanterns. Consid ...

  2. SGU114-Telecasting station

    114. Telecasting station time limit per test: 0.5 sec. memory limit per test: 4096 KB Every city in ...

  3. Servlet过滤器——日志记录过滤器

    1.概述 在实际的项目开发过程中,经常需要在项目运行时,记录并在控制台中输出运行时的日志信息,便于查看项目的运行状况.本实例将介绍如何应用过滤器实现日志记录.运行本实例,将在控制台中输出项目运行时的日 ...

  4. ViEmu For VS2010 3.0 解除30天限制的方法

    一.概述 首先,ViEmu试用版在安装时会记录安装的时间,用于判断是否已经过了限制的时间,这个时间记录在注册表中 以本人的机器(WIN7X64)为例,它记录在 HKEY_CLASSES_ROOT\Wo ...

  5. Valera and Tubes

    C. Valera and Tubes time limit per test 1 second memory limit per test 256 megabytes input standard ...

  6. IT忍者神龟之中的一个句sql语句——连接同一字段的全部值

    Oracle能够用SYS_CONNECT_BY_PATH字符串聚合函数: SELECT LTRIM(MAX(SYS_CONNECT_BY_PATH(productname, ', ')), ', ') ...

  7. 福州大学第十届校赛 & fzu 2128最长子串

    思路: 对于每个子串,求出 母串中 所有该子串 的 开始和结束位置,保存在 mark数组中,求完所有子串后,对mark数组按 结束位置排序,然后 用后一个的结束位置 减去 前一个的 开始 位置 再 减 ...

  8. 如何设置Java虚拟机内存以适应大程序的装载

    Java虚拟机对于运行时的程序所占内存是有限制的,当我们的项目或者程序很大时,往往会照成内存溢出. 举个例子: public class SmallTest1 { public static void ...

  9. C语言 realloc为什么要有返回值,realloc返回值具体解释/(解决随意长度字符串输入问题)。

    在C语言操作中会用到大量的内存操作,当中非经常常使用的一个是realloc(). 由字面意思能够知道,该函数的作用是用于又一次分配内存. 使用方式例如以下: NewPtr=(数据类型*)realloc ...

  10. 创作gtk源码级vim帮助文档 tags

    创作gtk源码级vim帮助文档 tags 缘由 那只有看到源码了.在linux源码上有个网站 http://lxr.linux.no /+trees, 可以很方面的查出相应版本的代码实现,gtk没有. ...