[Upgrade] Oracle 10.2.0.5 opatch utility upgrade

tolilong發表於2017-10-15
Oracle 10.2.0.5 opatch utility upgrade.
E:\oracle\product\10.2.0\db_1\OPatch>set ORACLE_HOME=E:\oracle\product\10.2.0\db_1

E:\oracle\product\10.2.0\db_1\OPatch>echo %ORACLE_HOME%
E:\oracle\product\10.2.0\db_1

E:\oracle\product\10.2.0\db_1\OPatch>opatch version
Invoking OPatch 10.2.0.4.9

OPatch Version: 10.2.0.4.9

OPatch succeeded.

E:\oracle\product\10.2.0\db_1\OPatch>opatch lsinv
Invoking OPatch 10.2.0.4.9

Oracle 中間補丁程式安裝程式版本 10.2.0.4.9
版權所有 (c) 2009, Oracle Corporation。保留所有權利。


Oracle 主目錄       : E:\oracle\product\10.2.0\db_1
主產品清單: C:\Program Files\Oracle\Inventory
   從           : n/a
OPatch 版本    : 10.2.0.4.9
OUI 版本       : 10.2.0.5.0
OUI 位置      : E:\oracle\product\10.2.0\db_1\oui
日誌檔案位置 : E:\oracle\product\10.2.0\db_1\cfgtoollogs\opatch\opatch2017-04-08_13-12-01下午.log

Patch history file: E:\oracle\product\10.2.0\db_1\cfgtoollogs\opatch\opatch_history.txt

Lsinventory Output file location : E:\oracle\product\10.2.0\db_1\cfgtoollogs\opatch\lsinv\lsinventory2017-04-08_13-12-01下午.txt

--------------------------------------------------------------------------------
已安裝的頂級產品 (2):

Oracle Database 10g                                                  10.2.0.1.0
Oracle Database 10g Release 2 Patch Set 4                            10.2.0.5.0
此 Oracle 主目錄中已安裝 2 個產品。


此 Oracle 主目錄中未安裝任何中間補丁程式。


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

OPatch succeeded.

#####we must upgrade opatch tool,because we can find information in the readme file of PSU upgrade.
#####"You must use the OPatch utility release 10.2.0.5.0 or later. You can download it from My Oracle Support with patch 6880880."
#####So,we need to upgrade opatch tool version to 10.2.0.5.
#####and wo download the new version of opatch version from oracle support website:
#####
#####1.first we need to extract the zipped file using unzip tool.
#####
#####2.backup the old opatch version,so we can rollback.
#####mv opatch opatch_20170408
#####
#####3.move the new version of opatch tool file to %ORACLE_HOME%/Opatch
#####
#####This is done.


E:\oracle\product\10.2.0\db_1\OPatch>opatch version
Invoking OPatch 10.2.0.5.1

OPatch Version: 10.2.0.5.1

OPatch succeeded.

E:\oracle\product\10.2.0\db_1\OPatch>opatch lsinv
Invoking OPatch 10.2.0.5.1

Oracle 中間補丁程式安裝程式版本 10.2.0.5.1
版權所有 (c) 2010, Oracle Corporation。保留所有權利。


Oracle 主目錄       : E:\oracle\product\10.2.0\db_1
主產品清單: C:\Program Files\Oracle\Inventory
   從           : n/a
OPatch 版本    : 10.2.0.5.1
OUI 版本       : 10.2.0.5.0
OUI 位置      : E:\oracle\product\10.2.0\db_1\oui
日誌檔案位置 : E:\oracle\product\10.2.0\db_1\cfgtoollogs\opatch\opatch2017-04-08_13-29-34下午.log

Patch history file: E:\oracle\product\10.2.0\db_1\cfgtoollogs\opatch\opatch_history.txt

Lsinventory Output file location : E:\oracle\product\10.2.0\db_1\cfgtoollogs\opatch\lsinv\lsinventory2017-04-08_13-29-34下午.txt

--------------------------------------------------------------------------------
已安裝的頂級產品 (2):

Oracle Database 10g                                                  10.2.0.1.0
Oracle Database 10g Release 2 Patch Set 4                            10.2.0.5.0
此 Oracle 主目錄中已安裝 2 個產品。


此 Oracle 主目錄中未安裝任何中間補丁程式。


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

OPatch succeeded.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24237320/viewspace-2145996/,如需轉載,請註明出處,否則將追究法律責任。

相關文章