Windows Oracle 打patch(11.2.0.4)
1.安装Oracle 11.2.0.4选择仅安装软件
2.更新OPatch包
解压p6880880_112000_MSWIN-x86-64
备份原OPatch包
C:\app\Administrator\product\11.2.0\dbhome_1\OPatch 为C:\app\Administrator\product\11.2.0\dbhome_1\OPatch_BAK
将解压后OPatch 复制到C:\app\Administrator\product\11.2.0\dbhome_1下
3.更新path
C:\app\Administrator\product\11.2.0\dbhome_1\OPatch>opatch lsinventory
Oracle 中间补丁程序安装程序版本 11.2.0.3.16
版权所有 (c) 2017, Oracle Corporation。保留所有权利。
MOS文档参考: 文档 ID 1989295.1
Oracle Home : C:\app\ADMINI~1\product\112~1.0\dbhome_1
Central Inventory : C:\Program Files\Oracle\Inventory
from :
OPatch version : 11.2.0.3.16
OUI version : 11.2.0.4.0
Log file location : C:\app\ADMINI~1\product\112~1.0\dbhome_1\cfgtoollogs\opatch\opatch2017-05-31_00-23-12上午_1.log
Lsinventory Output file location : C:\app\ADMINI~1\product\112~1.0\dbhome_1\cfgtoollogs\opatch\lsinv\lsinventory2017-05-31_00-23-12上午
--------------------------------------------------------------------------------
Local Machine Information::
Hostname: WIN-U52J2ES8DP0
ARU platform id: 233
ARU platform description:: Microsoft Windows (64-bit AMD)
已安装的顶级产品 (1):
Oracle Database 11g 11.2.0.4.0
此 Oracle 主目录中已安装 1 个产品。
此 Oracle 主目录中未安装任何中间补丁程序。
--------------------------------------------------------------------------------
OPatch succeeded.
解压C:\soft\p25632525_112040_MSWIN-x86-64
打patch
C:\soft\25632525>C:\app\Administrator\product\11.2.0\dbhome_1\OPatch\opatch apply
Oracle 中间补丁程序安装程序版本 11.2.0.3.16
版权所有 (c) 2017, Oracle Corporation。保留所有权利。
Oracle Home : C:\app\ADMINI~1\product\112~1.0\dbhome_1
Central Inventory : C:\Program Files\Oracle\Inventory
from :
OPatch version : 11.2.0.3.16
OUI version : 11.2.0.4.0
Log file location : C:\app\ADMINI~1\product\112~1.0\dbhome_1\cfgtoollogs\opatch\opatch2017-05-31_00-33-01上午_1.log
Verifying environment and performing prerequisite checks...
Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are:
Following files are active :
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oracell11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oraasmclnt11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\orapls11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\orageneric11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oraclient11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oracommon11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\rdbms\mesg\diaus.msb
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oraplc11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oraplp11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oraxml11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\orannzsbb11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\orazt11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oraztkg11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oran11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\orantcp11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oranl11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\orancrypt11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\orahasgen11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oraocr11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oraocrb11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oraocrutl11.dll
UtilSession 失败: Prerequisite check "CheckActiveFilesAndExecutables" failed.
Log file location: C:\app\ADMINI~1\product\112~1.0\dbhome_1\cfgtoollogs\opatch\opatch2017-05-31_00-33-01上午_1.log
OPatch failed with error code = 73
有程序调用
C:\soft\25632525>tasklist /M ora*
映像名称 PID 模块
========================= ======== ============================================
RemoteExecService.exe 1456 orauts.dll
omtsreco.exe 3724 OraClient11.Dll, oracore11.dll,
1.安装Oracle 11.2.0.4选择仅安装软件
2.更新OPatch包
解压p6880880_112000_MSWIN-x86-64
备份原OPatch包
C:\app\Administrator\product\11.2.0\dbhome_1\OPatch 为C:\app\Administrator\product\11.2.0\dbhome_1\OPatch_BAK
将解压后OPatch 复制到C:\app\Administrator\product\11.2.0\dbhome_1下
3.更新path
C:\app\Administrator\product\11.2.0\dbhome_1\OPatch>opatch lsinventory
Oracle 中间补丁程序安装程序版本 11.2.0.3.16
版权所有 (c) 2017, Oracle Corporation。保留所有权利。
MOS文档参考: 文档 ID 1989295.1
Oracle Home : C:\app\ADMINI~1\product\112~1.0\dbhome_1
Central Inventory : C:\Program Files\Oracle\Inventory
from :
OPatch version : 11.2.0.3.16
OUI version : 11.2.0.4.0
Log file location : C:\app\ADMINI~1\product\112~1.0\dbhome_1\cfgtoollogs\opatch\opatch2017-05-31_00-23-12上午_1.log
Lsinventory Output file location : C:\app\ADMINI~1\product\112~1.0\dbhome_1\cfgtoollogs\opatch\lsinv\lsinventory2017-05-31_00-23-12上午
--------------------------------------------------------------------------------
Local Machine Information::
Hostname: WIN-U52J2ES8DP0
ARU platform id: 233
ARU platform description:: Microsoft Windows (64-bit AMD)
已安装的顶级产品 (1):
Oracle Database 11g 11.2.0.4.0
此 Oracle 主目录中已安装 1 个产品。
此 Oracle 主目录中未安装任何中间补丁程序。
--------------------------------------------------------------------------------
OPatch succeeded.
解压C:\soft\p25632525_112040_MSWIN-x86-64
打patch
C:\soft\25632525>C:\app\Administrator\product\11.2.0\dbhome_1\OPatch\opatch apply
Oracle 中间补丁程序安装程序版本 11.2.0.3.16
版权所有 (c) 2017, Oracle Corporation。保留所有权利。
Oracle Home : C:\app\ADMINI~1\product\112~1.0\dbhome_1
Central Inventory : C:\Program Files\Oracle\Inventory
from :
OPatch version : 11.2.0.3.16
OUI version : 11.2.0.4.0
Log file location : C:\app\ADMINI~1\product\112~1.0\dbhome_1\cfgtoollogs\opatch\opatch2017-05-31_00-33-01上午_1.log
Verifying environment and performing prerequisite checks...
Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are:
Following files are active :
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oracell11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oraasmclnt11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\orapls11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\orageneric11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oraclient11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oracommon11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\rdbms\mesg\diaus.msb
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oraplc11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oraplp11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oraxml11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\orannzsbb11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\orazt11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oraztkg11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oran11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\orantcp11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oranl11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\orancrypt11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\orahasgen11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oraocr11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oraocrb11.dll
C:\app\ADMINI~1\product\112~1.0\dbhome_1\bin\oraocrutl11.dll
UtilSession 失败: Prerequisite check "CheckActiveFilesAndExecutables" failed.
Log file location: C:\app\ADMINI~1\product\112~1.0\dbhome_1\cfgtoollogs\opatch\opatch2017-05-31_00-33-01上午_1.log
OPatch failed with error code = 73
有程序调用
C:\soft\25632525>tasklist /M ora*
映像名称 PID 模块
========================= ======== ============================================
RemoteExecService.exe 1456 orauts.dll
omtsreco.exe 3724 OraClient11.Dll, oracore11.dll,