如何OIM 11.1.1.5.0打补丁到11.1.1.5.2

原创 2015年11月17日 19:17:23

将OIM11.1.1.5.0安装好之后,如需要打补丁到11.1.1.5.2,则按照如下的步骤:

下载两个patch,一个是SOA的,一个是OIM的。Oracle官方文档说如果想要给OIM打补丁的话就需要先把SOA先升级。

官方文档的地址:https://updates.oracle.com/Orion/Services/download?type=readme&aru=14530777#BGBHCJJG

注意里面的第二段,需要我们先下载SOA的补丁

点击该连接,下载相应的补丁(选择11.1.1.5.0):

下载结束后将其上传到Linux服务器上并解压:

这时我们就可以用opatch这个命令来安装该文件了。

注:先设置好ORACLE_HOME的环境变量,正常情况下我们的ORACLE_HOME的环境变量是

但是我们需要给这个中间件打补丁,就必须更改ORACLE_HOME的路径,将原来的路径更改为ORACLE_MIDDLEWARE_HOME

这样我们才能打补丁,否则会出现下面这个状况:

做这个操作的时候我还没有更改ORACLE_HOME

[oracle@poc soa_patch]$ /u01/Middleware/Oracle_SOA1/OPatch/opatch apply

Invoking OPatch 11.1.0.8.3

 

Oracle Interim Patch Installer version 11.1.0.8.3

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

 

 

Oracle Home       : /u01/app/oracle/product/11.2.0/dbhome_1

Central Inventory : /u01/app/oraInventory

   from           : /etc/oraInst.loc

OPatch version    : 11.1.0.8.3

OUI version       : 11.2.0.2.0

OUI location      : /u01/app/oracle/product/11.2.0/dbhome_1/oui

Log file location : /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2012-07-31_16-05-57PM.log

 

Patch history file: /u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch_history.txt

 

Failed to load the patch object.  Possible causes are:

  The specified path is not an interim Patch shiphome

  Meta-data files are missing from the patch area

  Patch location = /u01/oim_install/soa_patch

  Details = PatchObject constructor: Input file "/u01/oim_install/soa_patch/etc/config/actions" or "/u01/oim_install/soa_patch/etc/config/inventory" does not exist.

 

ApplySession failed: PatchObject constructor: Input file "/u01/oim_install/soa_patch/etc/config/actions" or "/u01/oim_install/soa_patch/etc/config/inventory" does not exist.

System intact, OPatch will not attempt to restore the system

 

OPatch failed with error code 73

 

更改ORACLE_HOME之后

[oracle@poc soa_patch]$ export ORACLE_HOME=/u01/Middleware/Oracle_SOA1

[oracle@poc soa_patch]$ echo $ORACLE_HOME

/u01/Middleware/Oracle_SOA1

 

[oracle@poc soa_patch]$ /u01/Middleware/Oracle_SOA1/OPatch/opatch apply 13106312/

Invoking OPatch 11.1.0.8.3

 

Oracle Interim Patch Installer version 11.1.0.8.3

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

 

 

Oracle Home       : /u01/Middleware/Oracle_SOA1

Central Inventory : /u01/app/oraInventory

   from           : /etc/oraInst.loc

OPatch version    : 11.1.0.8.3

OUI version       : 11.1.0.9.0

OUI location      : /u01/Middleware/Oracle_SOA1/oui

Log file location : /u01/Middleware/Oracle_SOA1/cfgtoollogs/opatch/opatch2012-07-31_16-07-53PM.log

 

Patch history file: /u01/Middleware/Oracle_SOA1/cfgtoollogs/opatch/opatch_history.txt

 

 

OPatch detects the Middleware Home as "/u01/Middleware"

 

ApplySession applying interim patch '13106312' to OH '/u01/Middleware/Oracle_SOA1'

 

Running prerequisite checks...

 

OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.

 

 

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

(Oracle Home = '/u01/Middleware/Oracle_SOA1')

 

 

Is the local system ready for patching? [y|n] (这里选Y)

y

User Responded with: Y

Backing up files and inventory (not for auto-rollback) for the Oracle Home

Backing up files affected by the patch '13106312' for restore. This might take a while...

Backing up files affected by the patch '13106312' for rollback. This might take a while...

 

Patching component oracle.integration.soainfra, 11.1.1.5.0...

Copying file to "/u01/Middleware/Oracle_SOA1/soa/modules/oracle.soa.workflow_11.1.1/bpm-services.jar"

ApplySession adding interim patch '13106312' to inventory

 

Verifying the update...

Inventory check OK: Patch ID 13106312 is registered in Oracle Home inventory with proper meta-data.

Files check OK: Files from Patch ID 13106312 are present in Oracle Home.

 

The local system has been patched and can be restarted.

 

 

OPatch succeeded.

 

成功

 

以同样的方式安装OIM的patch,先解压缩,然后进入到该patch所在的路径下

更改ORACLE_HOME的路径

[oracle@poc OPatch]$ export ORACLE_HOME=/u01/Middleware/Oracle_IDM2/

[oracle@poc OPatch]$ echo $ORACLE_HOME

/u01/Middleware/Oracle_IDM2/

[oracle@poc oimbp02]$ ls

13399365  OIM_BP02_p13399365_111150_Generic.zip

[oracle@poc oimbp02]$ /u01/Middleware/Oracle_IDM2/OPatch/opatch apply 13399365/

Invoking OPatch 11.1.0.8.3

 

Oracle Interim Patch Installer version 11.1.0.8.3

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

 

 

Oracle Home       : /u01/Middleware/Oracle_IDM2

Central Inventory : /u01/app/oraInventory

   from           : /etc/oraInst.loc

OPatch version    : 11.1.0.8.3

OUI version       : 11.1.0.9.0

OUI location      : /u01/Middleware/Oracle_IDM2//oui

Log file location : /u01/Middleware/Oracle_IDM2/cfgtoollogs/opatch/opatch2012-07-31_16-12-14PM.log

 

Patch history file: /u01/Middleware/Oracle_IDM2/cfgtoollogs/opatch/opatch_history.txt

 

 

OPatch detects the Middleware Home as "/u01/Middleware"

 

ApplySession applying interim patch '13399365' to OH '/u01/Middleware/Oracle_IDM2'

 

Running prerequisite checks...

 

OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.

 

 

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

(Oracle Home = '/u01/Middleware/Oracle_IDM2')

 

 

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

y

User Responded with: Y

Backing up files and inventory (not for auto-rollback) for the Oracle Home

Backing up files affected by the patch '13399365' for restore. This might take a while...

Backing up files affected by the patch '13399365' for rollback. This might take a while...

 

Patching component oracle.oim.server, 11.1.1.5.0...

Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-entitymgr.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-configmbeans.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-workflowservice.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-auth-server.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-canonic.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/icf/intg/icf-oim-intg.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/taskflows/ForgotPasswordTaskFlow.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/taskflows/IdentityTaskFlow.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-oimupgrade.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-passwordmgmt.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-reconciliation.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-asyncwsclient.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-spmlws.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-accesspolicy.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-tasklist.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-requestactions.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-ldap-sync.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-identity.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-configservice.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-oimdataproviders.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/features/Xellerate.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-callbacks.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-request.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-sso.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-notification.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-selfservice.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/loginmodule/wls/oimsignaturembean.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/loginmodule/wls/oimsigmbean.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/loginmodule/wls/OIMAuthenticator.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/loginmodule/wls/oimmbean.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/lib/iam-platform-deploymentframework.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/patching/oim.ear"

Copying file to "/u01/Middleware/Oracle_IDM2/server/patching/oimdb.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/apps/spml-xsd.ear"

Copying file to "/u01/Middleware/Oracle_IDM2/server/apps/spml-dsml.ear"

Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-auth-client.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-context.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-pluginframework.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-utils.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/client/oimclient.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlAPI.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlAdapterUtilities.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlDataObjectBeans.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlDataObjects.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlDDM.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlScheduler.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlVO.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/DW2PS1Upgrade.sh"

Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/DW2PS1Upgrade.bat"

Copying file to "/u01/Middleware/Oracle_IDM2/common/templates/applications/oracle.oim_11.1.1.3.0_template_patch.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/webapp/admin.war"

Copying file to "/u01/Middleware/Oracle_IDM2/server/webapp/xlWebApp.war"

Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-Scheduler.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlCache.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/apps/role-sod.ear"

Copying file to "/u01/Middleware/Oracle_IDM2/server/workflows/composites/OAACGRoleAssignSODCheck.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/xlAttestation.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/ssointg/oimcfgtool.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/platform/iam-platform-kernel.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/common/templates/applications/oracle.oim_11.1.1.3.0_extendIDM11gR1dev_template.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/common/templates/applications/oracle.oim_11.1.1.3.0_template.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/inventory/Scripts/ext/jlib/ojdbc6dms.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/apps/spml-xsd.ear"

Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/oracle/iam/MLSLanguageSeedingConfig.class"

Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/oracle/iam/PatchAutomationPAAS.class"

Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/oracle/iam/UpdateOAACGConfig.class"

Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/boot.properties"

Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/opatch-import-export.template"

Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/patch_weblogic.sh"

Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/patch_weblogic.bat"

Copying file to "/u01/Middleware/Oracle_IDM2/server/patching/features/authzpolicydefn/RequestTemplateManagementPolicies.xml"

Copying file to "/u01/Middleware/Oracle_IDM2/server/patching/metadata/iam-features-ldap-sync/LDAPRole.xml"

Copying file to "/u01/Middleware/Oracle_IDM2/server/patching/mt/LDAPRoleMT.xml"

Copying file to "/u01/Middleware/Oracle_IDM2/server/seed_data/lib/seedSchedulerData.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/seed_data/seed-rcu-data.xml"

Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/deploy-files/deploySDPClient.properties"

Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/deploy-files/deploySDPClient.py"

Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/deploy-files/oimupgrade.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/deploy-files/patchJob.xml"

Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/deploy-files/patchTask.xml"

Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/deploy-files/setup.xml"

Copying file to "/u01/Middleware/Oracle_IDM2/temp/RequestTemplateManagementPolicies.xml"

Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/weblogicImportMetadataOpatch.py"

Copying file to "/u01/Middleware/Oracle_IDM2/server/oes/oimpds.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/oracle/iam/PatchAutomationPAASNotification.class"

Copying file to "/u01/Middleware/Oracle_IDM2/server/patching/importDir/md2/metadata/iam-features-identity/IdentityNotificationEvent.xml"

Copying file to "/u01/Middleware/Oracle_IDM2/server/seed_data/Seed/Template/templates/template2.properties"

Copying file to "/u01/Middleware/Oracle_IDM2/server/seed_data/Seed/Template/templates/notification2.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/setup/deploy-files/generate.sh"

Copying file to "/u01/Middleware/Oracle_IDM2/server/features/iam-features-authzpolicydefn.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/bin/oracle/iam/OIMJMSModuleQueueConfig.class"

Copying file to "/u01/Middleware/Oracle_IDM2/server/lib/ContextDataUpgrade.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/server/client/oimclient.zip"

Copying file to "/u01/Middleware/Oracle_IDM2/server/apps/TaskDetails.ear"

 

Patching component oracle.oim.design_console, 11.1.1.5.0...

Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/iam-platform-auth-client.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/iam-platform-context.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/iam-platform-pluginframework.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/iam-platform-utils.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/oimclient.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlAPI.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlAdapterUtilities.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlDataObjectBeans.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlDataObjects.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlDDM.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlFvcUtil.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlScheduler.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlVO.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/XellerateClient.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlCache.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/lib/xlAttestation.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/designconsole/fvc.properties"

 

Patching component oracle.oim.remote_manager, 11.1.1.5.0...

Copying file to "/u01/Middleware/Oracle_IDM2/remote_manager/lib/iam-platform-utils.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/remote_manager/lib/oimclient.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/remote_manager/lib/xlAPI.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/remote_manager/lib/xlDataObjects.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/remote_manager/lib/xlScheduler.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/remote_manager/lib/xlVO.jar"

Copying file to "/u01/Middleware/Oracle_IDM2/remote_manager/lib/oimclient.jar"

 

Patching component oracle.as.upgrade, 11.1.1.5.0...

Copying file to "/u01/Middleware/Oracle_IDM2/jlib/oimua.jar"

ApplySession adding interim patch '13399365' to inventory

 

Verifying the update...

Inventory check OK: Patch ID 13399365 is registered in Oracle Home inventory with proper meta-data.

Files check OK: Files from Patch ID 13399365 are present in Oracle Home.

Execution of 'sh /u01/oim_install/oimbp02/13399365/custom/scripts/post -apply 13399365 ':

 

log dir does not exist hence creating one

 

Return Code = 0

 

The local system has been patched and can be restarted.

 

 

OPatch succeeded.

[oracle@poc oimbp02]$ 

 

成功!

重启服务……

版权声明:研究技术的朋友,多多分享:-) 举报

相关文章推荐

如何利用oracle opatch打补丁

摘要:          本文主要介绍了如何利用ORACLE的OPATCH工具安装补丁, 同时通过本文的描述,我们也应该了解确认BUG一般步骤:分析、排查相关错误信息、对比环境、最终确认。 关...

教你如何给solaris打补丁!

Sun公司建议所有下载的补丁都放到/var/tmp目录下(这也是通常的做法),如此将不会导致补丁安装时出现的任何permission/ownership的问题。 在/var/sadm/patch目录...

精选:深入理解 Docker 内部原理及网络配置

网络绝对是任何系统的核心,对于容器而言也是如此。Docker 作为目前最火的轻量级容器技术,有很多令人称道的功能,如 Docker 的镜像管理。然而,Docker的网络一直以来都比较薄弱,所以我们有必要深入了解Docker的网络知识,以满足更高的网络需求。

diff & patch 制作及打补丁(两种生成补丁的方式(git和diff))

生成patch过程: 1. Git branch a 2. git checkout a 3. modify 4. git commit -am 5. git diff ...

diff同patch工具

在给客户提供技术支持工作的时候,常会遇到需要修改各种不同的配置文件。过去的方式,通常是描述修改的地方,然后由用户自行修改,或使用sed等工具写 一个脚本给用户运行。但这样会带来一些问题:如果用户不会v...

git 打补丁

使用git apply打补丁 如果收到一个通过电邮发来的补丁,你应该先把它应用到特性分支上进行评估。有两种应用补丁的方法:git apply 或者 git am。使用 apply 命令应用补丁如果收...

谈谈Linux打补丁的原理以及如何判别打补丁的错误 --- 从补丁学内核

对于Linux 下打补丁,大家可能还没意识到这是个学习Linux内核的非常好的机会,每个补丁的分析都会让你更加了解内核,日积月累,相信逐步积累终会引发质变,我们都会成为大牛~

ORA-01092: ORACLE 实例终止,强制断开连接

今天将数据库升级到10.2.0.2后,启动数据库报如下错误: 查看oracle描述: 接着查看alert log文件,有如下告警: 执行startup...

谈谈Linux打补丁的原理以及如何判别打补丁的错误 --- 从补丁学内核

对于长期使用Linux的童鞋来说,不说有没有打过补丁,至少这个词大家并不陌生,下面我们通过一个实例来说说:        前几天接触了TQ3358这块天嵌的ARM板子,想给它装个实时Linux并...

linux 打补丁

此命令用于为特定软件包打补丁,他使用diff命令对源文件进行操作。 基本命令语法: patch [-R] {-p(n)} [--dry-run] p:为path的缩写。 n:指将...

打sp1补丁

VS2005 SP1补丁下载与安装1.先从微软网站下载补丁.     下载地址1为:http://download.microsoft.com/download/6/3/c/63c69e5d-74c9...
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)