n. All rights reserved. Oracle Home : /u01/oracle/product/db10gr2 Central Inventory : /u01/oracle/oraInventory from : /etc/oraInst.loc OPatch version : 10.2.0.4.2 OUI version : 10.2.0.4.0 OUI location : /u01/oracle/product/db10gr2/oui Log file location : /u01/oracle/product/db10gr2/cfgtoollogs/opatch/opatch2010-07-30_11-16-16AM.log ApplySession applying interim patch 6139856 to OH /u01/oracle/product/db10gr2 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/oracle/product/db10gr2) 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 6139856 for restore. This might take a while... Backing up files affected by the patch 6139856 for rollback. This might take a while... Patching component oracle.rdbms, 10.2.0.4.0... Updating archive file "/u01/oracle/product/db10gr2/lib/libn10.a" with "lib/libn10.a/nsev.o" Updating archive file "/u01/oracle/product/db10gr2/lib32/libn10.a" with "lib32/libn10.a/nsev.o" Patching component oracle.rdbms.rsf, 10.2.0.4.0... Updating archive file "/u01/oracle/product/db10gr2/lib/libn10.a" with "lib/libn10.a/nsev.o" Updating archive file "/u01/oracle/product/db10gr2/lib32/libn10.a" with "lib32/libn10.a/nsev.o" Running make for target client_sharedlib Running make for target ioracle ApplySession adding interim patch 6139856 to inventory Verifying the update... Inventory check OK: Patch ID 6139856 is registered in Oracle Home inventory with proper meta-data. Files check OK: Files from Patch ID 6139856 are present in Oracle Home. The local system has been patched and can be restarted. OPatch succeeded. #补丁更新成功 4.5. 检查核实 最后,我们要看一下,补丁安装情况,同样我们通过opatch lsinventory命令进行查看,如下: [oracle@wzy01 6139856]$ opatch lsinventory Invoking OPatch 10.2.0.4.2 Oracle Interim Patch Installer version 10.2.0.4.2 Copyright (c) 2007, Oracle Corporation. All rights reserved. Oracle Home : /u01/oracle/product/db10gr2 Central Inventory : /u01/oracle/oraInventory from : /etc/oraInst.loc OPatch version : 10.2.0.4.2 OUI version : 10.2.0.4.0 OUI location : /u01/oracle/product/db10gr2/oui Log file location : /u01/oracle/product/db10gr2/cfgtoollogs/opatch/opatch2010-07-30_11-23-32AM.log Lsinventory Output file location : /u01/oracle/product/db10gr2/cfgtoollogs/opatch/lsinv/lsinventory2010-07-30_11-23-32AM.txt -------------------------------------------------------------------------------- Installed Top-level Products (2): Oracle Database 10g 10.2.0.1.0 Oracle Database 10g Release 2 Patch Set 3 10.2.0.4.0 There are 2 products installed in this Oracle Home. Interim patches (1) : Patch 6139856 : applied on Fri Jul 30 11:21:01 CST 2010 Created on 28 Jul 2008, 01:14:03 hrs PST8PDT Bugs fixed: 6139856 #这里可以看到,补丁已经安装成功 -------------------------------------------------------------------------------- O |