升級opatch工具
檢查當前opatch版本:
oracle@dbbak[/home/oracle]$ $ORACLE_HOME/OPatch/opatch lsinventory
Invoking OPatch 11.2.0.1.7
Oracle Interim Patch Installer version 11.2.0.1.7
Copyright (c) 2011, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/product/11.2.0/dbhome_1
Central Inventory : /oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 11.2.0.1.7
OUI version : 11.2.0.3.0
Log file location : /oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2012-11-06_11-14-
37AM.log
Lsinventory Output file location :
/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2012-11-06_11-14-37AM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1):
Oracle Database 11g 11.2.0.3.0
There are 1 products installed in this Oracle Home.
There are no Interim patches installed in this Oracle Home.
--------------------------------------------------------------------------------
OPatch succeeded.
oracle@dbbak[/home/oracle]$ $ORACLE_HOME/OPatch/opatch version
Invoking OPatch 11.2.0.1.7
OPatch Version: 11.2.0.1.7
OPatch succeeded.
從OMS上下載補丁,opatch補丁號為6880880
升級前先做備份:
oracle@dbbak[/oracle/product/11.2.0/dbhome_1]$ mv OPatch OPatch.bak
上傳補丁及解壓工具到$ORACLE_HOME目錄:
oracle@dbbak[/oracle/product/11.2.0/dbhome_1]$ chmod u+x unzip
oracle@dbbak[/oracle/product/11.2.0/dbhome_1]$ ./unzip p6880880_112000_HPUX-IA64.zip
檢查是否是新版本
oracle@dbbak[/oracle/product/11.2.0/dbhome_1]$ $ORACLE_HOME/OPatch/opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.0
Copyright (c) 2012, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/product/11.2.0/dbhome_1
Central Inventory : /oraInventory
from : /oracle/product/11.2.0/dbhome_1/oraInst.loc
OPatch version : 11.2.0.3.0
OUI version : 11.2.0.3.0
Log file location : /oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2012-11-06_14-18-
01PM_1.log
Lsinventory Output file location :
/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2012-11-06_14-18-01PM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1):
Oracle Database 11g 11.2.0.3.0
There are 1 products installed in this Oracle Home.
There are no Interim patches installed in this Oracle Home.
--------------------------------------------------------------------------------
OPatch succeeded.
oracle@dbbak[/oracle/product/11.2.0/dbhome_1]$ $ORACLE_HOME/OPatch/opatch version
OPatch Version: 11.2.0.3.0
OPatch succeeded.
oracle@dbbak[/home/oracle]$ $ORACLE_HOME/OPatch/opatch lsinventory
Invoking OPatch 11.2.0.1.7
Oracle Interim Patch Installer version 11.2.0.1.7
Copyright (c) 2011, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/product/11.2.0/dbhome_1
Central Inventory : /oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 11.2.0.1.7
OUI version : 11.2.0.3.0
Log file location : /oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2012-11-06_11-14-
37AM.log
Lsinventory Output file location :
/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2012-11-06_11-14-37AM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1):
Oracle Database 11g 11.2.0.3.0
There are 1 products installed in this Oracle Home.
There are no Interim patches installed in this Oracle Home.
--------------------------------------------------------------------------------
OPatch succeeded.
oracle@dbbak[/home/oracle]$ $ORACLE_HOME/OPatch/opatch version
Invoking OPatch 11.2.0.1.7
OPatch Version: 11.2.0.1.7
OPatch succeeded.
從OMS上下載補丁,opatch補丁號為6880880
升級前先做備份:
oracle@dbbak[/oracle/product/11.2.0/dbhome_1]$ mv OPatch OPatch.bak
上傳補丁及解壓工具到$ORACLE_HOME目錄:
oracle@dbbak[/oracle/product/11.2.0/dbhome_1]$ chmod u+x unzip
oracle@dbbak[/oracle/product/11.2.0/dbhome_1]$ ./unzip p6880880_112000_HPUX-IA64.zip
檢查是否是新版本
oracle@dbbak[/oracle/product/11.2.0/dbhome_1]$ $ORACLE_HOME/OPatch/opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.0
Copyright (c) 2012, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/product/11.2.0/dbhome_1
Central Inventory : /oraInventory
from : /oracle/product/11.2.0/dbhome_1/oraInst.loc
OPatch version : 11.2.0.3.0
OUI version : 11.2.0.3.0
Log file location : /oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2012-11-06_14-18-
01PM_1.log
Lsinventory Output file location :
/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2012-11-06_14-18-01PM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1):
Oracle Database 11g 11.2.0.3.0
There are 1 products installed in this Oracle Home.
There are no Interim patches installed in this Oracle Home.
--------------------------------------------------------------------------------
OPatch succeeded.
oracle@dbbak[/oracle/product/11.2.0/dbhome_1]$ $ORACLE_HOME/OPatch/opatch version
OPatch Version: 11.2.0.3.0
OPatch succeeded.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26194851/viewspace-748443/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- $ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithOracleAI
- 資料庫升級和工具資料庫
- win10升級遮蔽工具怎麼使用_win10升級遮蔽工具如何操作Win10
- Opatch - Where Can I Find the Latest Version of Opatch?
- Spring Cloud Alibaba IDE 工具重大升級SpringCloudIDE
- 分散式工具的一次小升級⏫分散式
- WSUS Offline Update離線補丁升級工具
- java 自動升級sql指令碼 flyway 工具JavaSQL指令碼
- Nacos 爆重大 Bug!!不要升級,不要升級,不要升級
- mediacreationtool升級win10操作步驟_mediacreationtool工具怎麼升級win10系統Win10
- Truffle 2.0升級3.0升級指南
- win10升級工具打不開怎麼處理_win10電腦升級工具打不開解決方法Win10
- OPatch install "Missing command :fuser"
- OPatch failed with error code 73AIError
- 好用的專案初始化工具 SCION 升級啦!
- 【UP_ORACLE】使用AutoUpgrade工具升級Oracle 11.2.0.4至12.2.0.1Oracle
- oracle 10 rac 升級 10.2.0.1升級到10.2.0.5Oracle
- (十二).NET6 + React :升級!升級!還是***升級!!!+ IdentityServer4實戰ReactIDEServer
- Nginx升級Nginx
- ES升級
- Jenkins升級Jenkins
- 升級pythonPython
- 【ERROR】OPatch failed with error code 73ErrorAI
- Oracle的OPatch補丁更新Oracle
- Oracle更新Opatch故障處理Oracle
- 資料庫升級之-Dataguard滾動升級資料庫
- mongodb單機從3.2升級到4.0.4升級MongoDB
- 升級Win11專業版只需一秒無需工具,Win11專業版升級金鑰
- 全站HTTPS升級系列(一)升級前的科普工作HTTP
- macOS 11.0怎麼升級?macOS Big Sur 升級教程Mac
- win10升級11102升級失敗怎麼辦_win10升級11102升級一直失敗修復方法Win10
- Zurmo – – 升級指南
- 升級APEX 元件元件
- gcc版本升級GC
- node 版本升級
- python版本升級Python
- godot shader 升級Go
- Ubuntu升級opensshUbuntu
- Windows 升級 powershellWindows