Vous êtes sur la page 1sur 22

E:\app\oracle\Patches\30203518>omspatcher apply

OMSPatcher Automation Tool

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

OMSPatcher version : 13.8.0.0.3

OUI version : 13.9.1.0.0

Running from : E:\app\oracle\oms13c

Log file location : E:\app\oracle\oms13c\cfgtoollogs\omspatcher\opatch2019-12-12_10-12-31AM_1.log

OMSPatcher log file: E:\app\oracle\oms13c\cfgtoollogs\omspatcher\30203518\omspatcher_2019-12-12_10-12-35AM_deploy.log

Please enter OMS weblogic admin server URL(t3s://Beijing.idir.BCGOV:7101):>

Please enter OMS weblogic admin server username(weblogic):>

Please enter OMS weblogic admin server password:>

Configuration Validation: Success


Running prerequisite checks to verify if any files or services are locked by admin server process...

Running apply prerequisite checks for sub-patch(es) "30203518" and Oracle Home "E:\app\oracle\oms13c"...

Sub-patch(es) "30203518" are successfully analyzed for Oracle Home "E:\app\oracle\oms13c"

To continue, OMSPatcher will do the following:

[Patch and deploy artifacts] : Apply sub-patch(es) [ 30203518 ]

Apply RCU artifact with patch


"E:\app\oracle\oms13c\.omspatcher_storage\30203518_Sep_13_2019_02_02_06\original_patch"

Register MRS artifact "omsPropertyDef"

Do you want to proceed? [y|n]

User Responded with: Y

Applying sub-patch(es) "30203518"

Please monitor log file: E:\app\oracle\oms13c\cfgtoollogs\opatch\opatch2019-12-12_10-12-35AM_1.log


OMSPatcher failed to apply following patch(es) "30203518" to core/plugin Oracle home(s).

To complete the session, please execute the following step(s):

Step 1. On host Beijing.idir.BCGOV run below command(s) as user "BUILTIN\Administrators":

echo E:\app\oracle\Patches\30203518\30203518 >> E:\app\oracle\oms13c\.phBaseFile2019-12-12_10-12-31AM.txt

E:\app\oracle\oms13c\OPatch\opatch napply -phBaseFile E:\app\oracle\oms13c\.phBaseFile2019-12-12_10-12-31AM.txt -oh


E:\app\oracle\oms13c -silent

rm E:\app\oracle\oms13c\.phBaseFile2019-12-12_10-12-31AM.txt

mkdir -p E:\app\oracle\oms13c\.omspatcher_storage\30203518_Sep_13_2019_02_02_06

cp -Rf E:\app\oracle\oms13c\.patch_storage\30203518_Sep_13_2019_02_02_06\original_patch
E:\app\oracle\oms13c\.omspatcher_storage\30203518_Sep_13_2019_02_02_06

Step 2. On host Beijing.idir.BCGOV run below command(s) as user "BUILTIN\Administrators":

E:\app\oracle\oms13c\BIN\emctl.bat applypatch repos -patchHome


E:\app\oracle\oms13c\.omspatcher_storage\30203518_Sep_13_2019_02_02_06\original_patch
Step 3. On host Beijing.idir.BCGOV run below command(s) as user "BUILTIN\Administrators":

E:\app\oracle\oms13c\BIN\emctl.bat register oms metadata -service omsPropertyDef -file


E:\app\oracle\oms13c\sysman\metadata\omsProperties\definition\T

argetPropDefinition.xml -core

Step 4. On host Beijing.idir.BCGOV run below command(s) as user "BUILTIN\Administrators":

E:\app\oracle\oms13c\OMSPatcher\omspatcher commit -id 30203518 -oh E:\app\oracle\oms13c

Complete Summary

================

All log file names referenced below can be accessed from the directory "E:\app\oracle\oms13c\cfgtoollogs\omspatcher\2019-12-12_10-12-
31AM_SystemPatch_

30203518_1"

Patching summary:

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

The following sub-patch(es) are applicable:


Featureset Sub-patches Log file

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

oracle.sysman.top.oms 30203518 30203518_opatch2019-12-12_10-12-35AM_1.log

Binaries of the following sub-patch(es) failed to get applied:

Featureset Sub-patches Log file

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

oracle.sysman.top.oms_13.2.0.0.0 30203518 30203518_opatch2019-12-12_10-12-35AM_1.log

[ Error during Patch and deploy artifacts Phase]. Detail: OMSPatcher failed to apply some of the patches to the OMS instance home(s).

OMSPatcher failed: OMSPatcher failed to execute some of the OMS operations. Please refer log file(s) for details.

Log file location: E:\app\oracle\oms13c\cfgtoollogs\omspatcher\30203518\omspatcher_2019-12-12_10-12-35AM_deploy.log

Recommended actions: Please refer log file(s) for more details on the errors. Please contact Oracle Support.

OMSPatcher failed with error code = 241


E:\app\oracle\Patches\30203518>E:\app\oracle\oms13c\OPatch\opatch lsinventory -details

Oracle Interim Patch Installer version 13.9.3.3.0

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

So what we did:

Step 1. On host Beijing.idir.BCGOV run below command(s) as user "BUILTIN\Administrators":

echo E:\app\oracle\Patches\30203518\30203518 >> E:\app\oracle\oms13c\.phBaseFile2019-12-12_10-12-31AM.txt

E:\app\oracle\oms13c\OPatch\opatch napply -phBaseFile E:\app\oracle\oms13c\.phBaseFile2019-12-12_10-12-31AM.txt -oh


E:\app\oracle\oms13c -silent

At this point applying failed as there were files in use: Identify files that are in use (see output from above):

E:\app\oracle\oms13c\sysman\jlib\emCoreConsole.jar
E:\app\oracle\oms13c\sysman\jlib\emCoreConsole.jar
E:\app\oracle\oms13c\sysman\jlib\emCoreConsole.jar
E:\app\oracle\oms13c\sysman\jlib\emCorePBS.jar
E:\app\oracle\oms13c\sysman\jlib\emCorePBS.jar
E:\app\oracle\oms13c\sysman\jlib\emCorePBS.jar
E:\app\oracle\oms13c\jlib\emConfigInstall.jar
E:\app\oracle\oms13c\jlib\emConfigInstall.jar
E:\app\oracle\oms13c\jlib\emConfigInstall.jar
E:\app\oracle\oms13c\jlib\emConfigInstall.jar
E:\app\oracle\oms13c\jlib\emConfigInstall.jar
E:\app\oracle\oms13c\sysman\jlib\emCoreSDKImpl.jar
E:\app\oracle\oms13c\sysman\jlib\emCoreSDKImpl.jar
E:\app\oracle\oms13c\sysman\jlib\emCoreSDKImpl.jar
E:\app\oracle\oms13c\sysman\jlib\emCoreSDKImpl.jar
E:\app\oracle\oms13c\sysman\jlib\emCoreSDKImpl.jar
E:\app\oracle\oms13c\sysman\jlib\emCoreSDKImpl.jar
E:\app\oracle\oms13c\sysman\jlib\emCoreConsole.jar
E:\app\oracle\oms13c\sysman\jlib\emCoreConsole.jar
E:\app\oracle\oms13c\sysman\jlib\emCoreConsole.jar
E:\app\oracle\oms13c\sysman\jlib\emCoreConsole.jar
E:\app\oracle\oms13c\sysman\jlib\emCoreConsole.jar
E:\app\oracle\oms13c\sysman\jlib\emCoreInternalSDK.jar
E:\app\oracle\oms13c\sysman\jlib\emCoreConsole.jar
E:\app\oracle\oms13c\\sysman\jlib\emagentSDK.jar
E:\app\oracle\oms13c\\oui\modules\log4j-core.jar
E:\app\oracle\oms13c\\sysman\jlib\log4j-core.jar

 Use “handle” command to find PID for the file:


E:\app\oracle\Patches\30203518>handle app\oracle\oms13c\sysman\jlib\emCoreConsole.jar

Handle v4.0
Copyright (C) 1997-2014 Mark Russinovich
Sysinternals - www.sysinternals.com

java.exe pid: 38308 type: File A70: E:\app\oracle\oms13c\sysman\jlib\emCoreConsole.jar

Kill process PID=38308 via Task manager - -all of theme were java.exe, so kill them all
 For the last file E:\app\oracle\oms13c\oui\modules\log4j-core.jar. .rename it to add date
E:\app\oracle\oms13c\\oui\modules\log4j-core_Dec12.jar
Rerun apply:

E:\app\oracle\Patches\30203518>E:\app\oracle\oms13c\OPatch\opatch napply -phBaseFile E:\app\oracle\oms13c\.phBaseFile2019-


12-12_10-12-31AM.txt -oh E:\
app\oracle\oms13c -silent
Oracle Interim Patch Installer version 13.9.3.3.0
Copyright (c) 2019, Oracle Corporation. All rights reserved.

Oracle Home : E:\app\oracle\oms13c


Central Inventory : C:\Program Files\Oracle\Inventory
from :
OPatch version : 13.9.3.3.0
OUI version : 13.9.1.0.0
Log file location : E:\app\oracle\oms13c\cfgtoollogs\opatch\opatch2019-12-12_12-25-05PM_1.log

OPatch detects the Middleware Home as "E:\app\oracle\oms13c"

Verifying environment and performing prerequisite checks...


OPatch continues with these patches: 30203518

Do you want to proceed? [y|n]


Y (auto-answered by -silent)
User Responded with: Y
All checks passed.
Backing up files...
Applying interim patch '30203518' to OH 'E:\app\oracle\oms13c'

Patching component oracle.sysman.top.oms, 13.2.0.0.0...


Patch 30203518 successfully applied.
Sub-set patch [29433916] has become inactive due to the application of a super-set patch [30203518].
Please refer to Doc ID 2161861.1 for any possible further required actions.
Log file location: E:\app\oracle\oms13c\cfgtoollogs\opatch\opatch2019-12-12_12-25-05PM_1.log

OPatch succeeded.

E:\app\oracle\Patches\30203518>

 Now we proceed to remaining steps


Step 1 (On linux prompt)

[oracle@Beijing: EMREPCDB: /cygdrive/e/app/oracle/oms13c] rm .phBaseFile2019-12-12_10-


12-31AM.txt

cd /cygdrive/e/app/oracle/oms13c

mkdir –p .omspatcher_storage/30203518_Sep_13_2019_02_02_06

cp –Rf /cygdrive/e/app/oracle/oms13c/.patch_storage/30203518_Sep_13_2019_02_02_06/original_patch
/cygdrive/e/app/oracle/oms13c/.omspatcher_storage/30203518_Sep_13_2019_02_02_06

Step 2. On host Beijing.idir.BCGOV run below command(s) as user “BUILTIN\Administrators”:

E:\app\oracle\oms13c\BIN\emctl.bat applypatch repos –patchHome


E:\app\oracle\oms13c\.omspatcher_storage\30203518_Sep_13_2019_02_02_06\original_patch

Output:
E:\app\oracle\Patches\30203518>E:\app\oracle\oms13c\BIN\emctl.bat applypatch repos -patchHome
E:\app\oracle\oms13c\.omspatcher_storage\30203518_Sep_13

_2019_02_02_06\original_patch

Oracle Enterprise Manager Cloud Control 13c Release 2

Copyright (c) 1996, 2016 Oracle Corporation. All rights reserved.

***********************************************

Executing Patch Application Steps.....

***********************************************

Enter the SYSMAN password:

********

Please enter the database password(User:SYSMAN):

Processing command line ....

Repository_Patching_Utility - Checking Prerequisites

Checking Global Prerequisites

Repository_Patching_Utility - Checking Prerequisites

Checking Component Prerequisites


Repository_Patching_Utility - Creating Tablespaces

Validating and Creating Tablespaces

Repository_Patching_Utility - ApplyRepositoryPatch

Repository ApplyRepositoryPatch in progress.

Percent Complete: 55

Percent Complete: 58

Percent Complete: 61

Percent Complete: 64

Percent Complete: 75

Percent Complete: 100

Repository_Patching_Utility: ApplyRepositoryPatch - Completion Summary

Database details:

Connect Descriptor :
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=Beijing.idir.bcgov)(PORT=1521)))(CONNECT_DATA=(SERVI

CE_NAME=emreppdb.idir.bcgov)))

Connected As : SYSMAN

RCU Logfile : E:\app\oracle\oms13c\oracle_common\rcu\log\empatch\rcu_2019_12_12__12_50_47.log

Component schemas created:

Component Status Logfile

EM Repository Patch Application Success E:\app\oracle\oms13c\oracle_common\rcu\log\empatch\em_patch_apply.log


Repository_Patching_Utility - ApplyRepositoryPatch : Operation Completed

***********************************************

Executing Post Patch Action Steps.....

***********************************************

Please enter the database password(User:SYSMAN):

Processing command line ....

Repository_Patching_Utility - Checking Prerequisites

Checking Global Prerequisites

Repository_Patching_Utility - Checking Prerequisites

Checking Component Prerequisites

Repository_Patching_Utility - Creating Tablespaces

Validating and Creating Tablespaces

Repository_Patching_Utility - ApplyRepositoryPatch

Repository ApplyRepositoryPatch in progress.

Percent Complete: 55

Percent Complete: 58

Percent Complete: 73
Percent Complete: 100

Repository_Patching_Utility: ApplyRepositoryPatch - Completion Summary

Database details:

Connect Descriptor :
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=Beijing.idir.bcgov)(PORT=1521)))(CONNECT_DATA=(SERVI

CE_NAME=emreppdb.idir.bcgov)))

Connected As : SYSMAN

RCU Logfile : E:\app\oracle\oms13c\oracle_common\rcu\log\empatch\rcu_2019_12_12__12_50_47.log

Component schemas created:

Component Status Logfile

EM Repository Patch Application Success E:\app\oracle\oms13c\oracle_common\rcu\log\empatch\em_patch_apply.log

Repository_Patching_Utility - ApplyRepositoryPatch : Operation Completed

Renaming logfile E:\app\oracle\oms13c\oracle_common\rcu\log\empatch\em_patch_apply.log to


E:\app\oracle\oms13c\oracle_common\rcu\log\empatch\em_patch_

apply_original_patch_2019_12_12__12_50_47.log

Renaming logfile E:\app\oracle\oms13c\oracle_common\rcu\log\empatch\em_patch_apply_dbmsOutput.log to


E:\app\oracle\oms13c\oracle_common\rcu\log\empatc

h\em_patch_apply_original_patch_2019_12_12__12_50_47_dbmsOutput.log
****************************************************************************

****************************************************************************

PATCH APPLICATION HAS SUCCEEDED

***************************************************************************

***************************************************************************

Step 3. On host Beijing.idir.BCGOV run below command(s) as user "BUILTIN\Administrators":

E:\app\oracle\oms13c\BIN\emctl.bat register oms metadata -service omsPropertyDef -file


E:\app\oracle\oms13c\sysman\metadata\omsProperties\definition\TargetPropDefinition.xml -core

Output:

E:\app\oracle\Patches\30203518>E:\app\oracle\oms13c\BIN\emctl.bat register oms metadata -service omsPropertyDef -file


E:\app\oracle\oms13c\sysman\meta

data\omsProperties\definition\TargetPropDefinition.xml -core

Oracle Enterprise Manager Cloud Control 13c Release 2

Copyright (c) 1996, 2016 Oracle Corporation. All rights reserved.

SYSMAN password:
Metadata registration successful

Step 4. On host Beijing.idir.BCGOV run below command(s) as user "BUILTIN\Administrators":

E:\app\oracle\oms13c\OMSPatcher\omspatcher commit -id 30203518 -oh E:\app\oracle\oms13c

E:\app\oracle\Patches\30203518>E:\app\oracle\oms13c\OMSPatcher\omspatcher commit -id 30203518 -oh E:\app\oracle\oms13c

OMSPatcher Automation Tool

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

OMSPatcher version : 13.8.0.0.3

OUI version : 13.9.1.0.0

Running from : E:\app\oracle\oms13c

Log file location : E:\app\oracle\oms13c\cfgtoollogs\omspatcher\opatch2019-12-12_12-57-10PM_1.log

OMSPatcher will now mark the patch "30203518" as auto-executed.

Log file location: E:\app\oracle\oms13c\cfgtoollogs\omspatcher\opatch2019-12-12_12-57-10PM_1.log

OMSPatcher succeeded.
Check applied patches:

E:\app\oracle\Patches\30203518>omspatcher lspatches

OMSPatcher Automation Tool

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

OMSPatcher version : 13.8.0.0.3

OUI version : 13.9.1.0.0

Running from : E:\app\oracle\oms13c

Log file location : E:\app\oracle\oms13c\cfgtoollogs\omspatcher\opatch2019-12-12_12-59-09PM_1.log

Component Name/Version Component Type System Patch (Sub)-Patches Patch Description

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

oracle.jrf.adfrt/12.1.3.0.0 Core N/A 22065592 One-off

oracle.webcenter.pageeditor/12.1.3.0.0 Core N/A 20882747 One-off

oracle.javavm.jrf/12.1.0.2.0 Core N/A 20741228 JDBC 12.1.3.1 BP1

N/A 24450351 One-off

oracle.bi.xdo/12.1.3.0.0 Core N/A 23519804 One-off


oracle.wls.clients/12.1.3.0.0 Core N/A 19953516 One-off

oracle.xdk.jrf.jaxp/12.1.3.0.0 Core N/A 19345252 One-off

oracle.wls.libraries/12.1.3.0.0 Core N/A 21252292 One-off

N/A 21243471 One-off

N/A 18836900 One-off

N/A 23527146 One-off

N/A 19879223 One-off

N/A 19730967 One-off

N/A 20758863 One-off

N/A 19953516 One-off

oracle.sysman.top.oms/13.2.0.0.0 Core 30203518 30203518 EMBP Patch Set Update 13.2.0.0.191015

oracle.xdk.jrf.xmlparserv2/12.1.3.0.0 Core N/A 19345252 One-off

oracle.fmwconfig.common.wls.shared/12.1. Core N/A 18974665 One-off

3.0.0
oracle.bali.cabo/12.1.3.0.0 Core N/A 18814458 One-off

oracle.sysman.em.installer/13.2.0.0.0 Core N/A 11111112

oracle.fmwconfig.common.shared/12.1.3.0. Core N/A 18974665 One-off

oracle.wls.core.app.server/12.1.3.0.0 Core N/A 19982906 One-off

oracle.wls.workshop.code.completion.supp Core N/A 19953516 One-off

ort/12.1.3.0.0

NOTE: N/A indicates that the subpatch mentioned in the Subpatches column was applied as a one-off patch and not as part of any system patch.

OMSPatcher has saved inventory details for the above component at below location.

"E:\app\oracle\oms13c"

For more details on installed patch(es), Please do "E:\app\oracle\oms13c\OPatch\opatch lsinventory -details"

OMSPatcher succeeded.
Also:

E:\app\oracle\Patches\30203518>E:\app\oracle\oms13c\OPatch\opatch lsinventory

Oracle Interim Patch Installer version 13.9.3.3.0

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

Oracle Home : E:\app\oracle\oms13c

Central Inventory : C:\Program Files\Oracle\Inventory

from :

OPatch version : 13.9.3.3.0

OUI version : 13.9.1.0.0

Log file location : E:\app\oracle\oms13c\cfgtoollogs\opatch\opatch2019-12-12_13-02-01PM_1.log

OPatch detects the Middleware Home as "E:\app\oracle\oms13c"

Lsinventory Output file location : E:\app\oracle\oms13c\cfgtoollogs\opatch\lsinv\lsinventory2019-12-12_13-02-01PM.txt

--------------------------------------------------------------------------------
Local Machine Information::

Hostname: beijing

ARU platform id: 233

ARU platform description:: NT_AMD64

Interim patches (19) :

Patch 30203518 : applied on Thu Dec 12 12:26:02 PST 2019

Unique Patch ID: 23113846

Patch description: "EMBP Patch Set Update 13.2.0.0.191015"

Created on 13 Sep 2019, 02:02:06 hrs PST8PDT

Bugs fixed:

30062938, 28558071, 29755723, 29122551, 28326998, 29349798, 29662936

25676260, 25035281, 28443062, 28470784, 28877788, 29612473, 29748611

20680159, 29417447, 29746848, 27032132, 29489025, 29666668, 28636669

26658916, 26273487, 27247715, 28634622, 26224920, 29427226, 29295784

28536777, 28524707, 28919063, 29049300, 29132445, 27810593, 28749611

27810608, 26142955, 28818634, 28459757, 27156728, 26477226, 28126885

28247894, 25925447, 28695777, 27549803, 27136340, 26823968, 27551630

27244426, 27804466, 24691913, 25784796, 25221636, 25202643, 28202885


28703948, 27829797, 27721767, 26177710, 27986827, 28194266, 27137831

27958296, 26953483, 25050766, 27213220, 26033832, 27477727, 25229861

27136454, 26122332, 27117371, 26541763, 25954252, 28131895, 24444090

27504469, 28052119, 26626024, 27546911, 26957222, 27047346, 27994582

24949081, 21911786, 27776754, 26869085, 25927977, 26075256, 26040403

25980849, 27657400, 26911158, 27648040, 27186708, 26805603, 26161437

25873874, 27038375, 26831222, 26537486, 23556674, 27219479, 26417289

26799184, 25580610, 25444652, 25868747, 23698997, 26944089, 26901113

26594300, 25994636, 25190630, 26782615, 25570899, 25797731, 26436736

25121269, 26585786, 25551082, 22671015, 25956002, 26782785, 25341210

26090681, 26680573, 25110496, 24953203, 24459731, 26364865, 25861385

26027847, 26542313, 20511097, 25967196, 25230688, 24701883, 25326446

25217253, 25534065, 23506806, 25244726, 25179524, 25136456, 22143858

25354849, 25615522, 25674055, 25219896, 25255429, 23251874, 24334660

24944461, 23743109, 24426862, 25701178, 25268183, 23549064, 25506784

25497731, 25497622, 24789016, 24742172, 25355038, 25163555, 25044101

24608207, 23619694, 24753427, 24734911, 23705752, 24917276, 24614251

22901546, 23196054, 21470098

E:\app\oracle\Patches\30203518>

Vous aimerez peut-être aussi