2023年12月23日发(作者:)
今天在打一个patch的时候,已经是用opatch执行到了最后一个patch,一时手欠,没看清楚telnet的窗口,不小心按下了ctrl+C,于是,opatch被中断了。汗了,晚节不保啊!
再次执行opatch apply,报错:
$ opatch apply 6163771
Invoking OPatch 10.2.0.4.6
Oracle Interim Patch Installer version 10.2.0.4.6
Copyright (c) 2009, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/10.2.0/db_1
Central Inventory : /oracle/app/oracle/oraInventory
from : /var/opt/oracle/
OPatch version : 10.2.0.4.6
OUI version : 10.2.0.4.0
OUI location : /oracle/app/oracle/product/10.2.0/db_1/oui
Log file location :
/oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2009-04-08_
Patch history file:
/oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_
ApplySession applying interim patch '6163771' to OH
'/oracle/app/oracle/product/10.2.0/db_1'
Running
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 = '/oracle/app/oracle/product/10.2.0/db_1')
Is the local system ready for patching? [y|n]
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 '6163771' for restore. This might
take
Backing up files affected by the patch '6163771' for rollback. This might
take
Patching component , 10.2.0.
Updating archive file
"/oracle/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with
"lib/libserver10.a/kfc.o"
Updating archive file
"/oracle/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with
"lib/libserver10.a/kfcb.o"
Updating archive file
"/oracle/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with
"lib/libserver10.a/kfcl.o"
Updating archive file
"/oracle/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with
"lib/libserver10.a/kfr.o"
Updating archive file
"/oracle/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with
"lib/libserver10.a/kfrb.o"
The following actions have failed:
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfc.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfcb.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfcl.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfr.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfrb.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Do you want to proceed? [y|n]
Y
User Responded with: Y
Running make for target ioracle
Make failed to invoke "/usr/ccs/bin/make -f ins_ ioracle
ORACLE_HOME=/oracle/app/oracle/product/10.2.0/db_1"....'ld: I/O error,
file "/oracle/app/oracle/product/10.2.0/db_1/lib//libserver10.a":
Fatal error.
Stop.
'
The following make actions have failed :
Re-link fails on target "ioracle".
Do you want to proceed? [y|n]
Y
User Responded with: Y
ApplySession adding interim patch '6163771' to inventory
Verifying
Inventory check OK: Patch ID 6163771 is registered in Oracle Home
inventory with proper meta-data.
ApplySession failed: ApplySession failed in system
'Verification of patch failed: Error verification failed: ar: kfc.o not
found
'
OPatch will attempt to restore
Restoring the
Checking if OPatch needs to invoke 'make' to restore
Make failed to invoke "/usr/ccs/bin/make -f ins_ ioracle
ORACLE_HOME=/oracle/app/oracle/product/10.2.0/db_1"....'ld: I/O error,
file "/oracle/app/oracle/product/10.2.0/db_1/lib//libserver10.a":
Fatal error.
Stop.
'
--------------------------------------------------------------------------------
Failed to run make commands. They are stored in file
'/oracle/app/oracle/product/10.2.0/db_1/.patch_storage/6163771_Jun_19_2008_17_41_45/'
Invoke these commands manually to restore the binaries in the Oracle Home.
OPatch failed to restore OH '/oracle/app/oracle/product/10.2.0/db_1'.
Consult OPatch document to restore the home manually before proceeding.
--------------------------------------------------------------------------------
The following warnings have occurred during OPatch execution:
1) OUI-67124:Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfc.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfcb.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfcl.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfr.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfrb.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
2) OUI-67200:Make failed to invoke "/usr/ccs/bin/make -f ins_
ioracle ORACLE_HOME=/oracle/app/oracle/product/10.2.0/db_1"....'ld:
I/O error, file
"/oracle/app/oracle/product/10.2.0/db_1/lib//libserver10.a":
Fatal error.
Stop.
'
3) OUI-67124:Re-link fails on target "ioracle".
4) OUI-67200:Make failed to invoke "/usr/ccs/bin/make -f ins_
ioracle ORACLE_HOME=/oracle/app/oracle/product/10.2.0/db_1"....'ld:
I/O error, file
"/oracle/app/oracle/product/10.2.0/db_1/lib//libserver10.a":
Fatal error.
Stop.
'
--------------------------------------------------------------------------------
OPatch failed with error code 115
$
用opatch lsinventory检查,发现这个patch还是已经安装上去了的:
$ opatch lsinventory
Invoking OPatch 10.2.0.4.6
Oracle Interim Patch Installer version 10.2.0.4.6
Copyright (c) 2009, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/10.2.0/db_1
Central Inventory : /oracle/app/oracle/oraInventory
from : /var/opt/oracle/
OPatch version : 10.2.0.4.6
OUI version : 10.2.0.4.0
OUI location : /oracle/app/oracle/product/10.2.0/db_1/oui
Log file location :
/oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2009-04-08_
Patch history file:
/oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_
Lsinventory Output file location :
/oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2009-04-08_
--------------------------------------------------------------------------------
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 (18) :
Patch 6163771 : applied on Wed Apr 08 17:12:16 SGT 2009
Created on 19 Jun 2008, 17:41:45 hrs US/Pacific
Bugs fixed:
6163771
Patch 6052226 : applied on Wed Apr 08 17:11:53 SGT 2009
Created on 15 Sep 2008, 03:10:44 hrs PST8PDT
Bugs fixed:
6052226
……
Patch 5868257 : applied on Wed Apr 08 16:24:42 SGT 2009
Created on 21 Oct 2008, 11:41:00 hrs PST8PDT
Bugs fixed:
5868257
--------------------------------------------------------------------------------
OPatch succeeded.
$
ok,既然你已经在完成安装的列表中了,那我卸载可以不?
$ opatch rollback -id 6163771
Invoking OPatch 10.2.0.4.6
Oracle Interim Patch Installer version 10.2.0.4.6
Copyright (c) 2009, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/10.2.0/db_1
Central Inventory : /oracle/app/oracle/oraInventory
from : /var/opt/oracle/
OPatch version : 10.2.0.4.6
OUI version : 10.2.0.4.0
OUI location : /oracle/app/oracle/product/10.2.0/db_1/oui
Log file location :
/oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2009-04-08_
Patch history file:
/oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_
RollbackSession rolling back interim patch '6163771' from OH
'/oracle/app/oracle/product/10.2.0/db_1'
Running
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 = '/oracle/app/oracle/product/10.2.0/db_1')
Is the local system ready for patching? [y|n]
Y
User Responded with: Y
Backing up files affected by the patch '6163771' for restore. This might
take
Patching component , 10.2.0.
Updating archive file
"/oracle/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with
"lib/libserver10.a/kfc.o"
Updating archive file
"/oracle/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with
"lib/libserver10.a/kfcb.o"
Updating archive file
"/oracle/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with
"lib/libserver10.a/kfcl.o"
Updating archive file
"/oracle/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with
"lib/libserver10.a/kfr.o"
Updating archive file
"/oracle/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with
"lib/libserver10.a/kfrb.o"
The following actions have failed:
Archive not rolled back
/oracle/app/oracle/product/10.2.0/db_1/.patch_storage/6163771_Jun_19_2008_17_41_45/files/lib/libserver10.a/kfc.o to
/oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not rolled back
/oracle/app/oracle/product/10.2.0/db_1/.patch_storage/6163771_Jun_19_
2008_17_41_45/files/lib/libserver10.a/kfcb.o to
/oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not rolled back
/oracle/app/oracle/product/10.2.0/db_1/.patch_storage/6163771_Jun_19_2008_17_41_45/files/lib/libserver10.a/kfcl.o to
/oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not rolled back
/oracle/app/oracle/product/10.2.0/db_1/.patch_storage/6163771_Jun_19_2008_17_41_45/files/lib/libserver10.a/kfr.o to
/oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not rolled back
/oracle/app/oracle/product/10.2.0/db_1/.patch_storage/6163771_Jun_19_2008_17_41_45/files/lib/libserver10.a/kfrb.o to
/oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Do you want to proceed? [y|n]
Y
User Responded with: Y
Running make for target ioracle
Make failed to invoke "/usr/ccs/bin/make -f ins_ ioracle
ORACLE_HOME=/oracle/app/oracle/product/10.2.0/db_1"....'ld: I/O error,
file "/oracle/app/oracle/product/10.2.0/db_1/lib//libserver10.a":
Fatal error.
Stop.
'
The following make actions have failed :
Re-link fails on target "ioracle".
Do you want to proceed? [y|n]
N
User Responded with: N
RollbackSession failed: RollbackSession failed in system modification
'Re-link fails on target "ioracle".
'
OPatch will attempt to restore
Restoring the
Checking if OPatch needs to invoke 'make' to restore
Make failed to invoke "/usr/ccs/bin/make -f ins_ ioracle
ORACLE_HOME=/oracle/app/oracle/product/10.2.0/db_1"....'ld: I/O error,
file "/oracle/app/oracle/product/10.2.0/db_1/lib//libserver10.a":
Fatal error.
Stop.
'
--------------------------------------------------------------------------------
Failed to run make commands. They are stored in file
'/oracle/app/oracle/product/10.2.0/db_1/.patch_storage/6163771_Jun_19_2008_17_41_45/'
Invoke these commands manually to restore the binaries in the Oracle Home.
OPatch failed to restore OH '/oracle/app/oracle/product/10.2.0/db_1'.
Consult OPatch document to restore the home manually before proceeding.
--------------------------------------------------------------------------------
The following warnings have occurred during OPatch execution:
1) OUI-67124:Archive not rolled back
/oracle/app/oracle/product/10.2.0/db_1/.patch_storage/6163771_Jun_19_2008_17_41_45/files/lib/libserver10.a/kfc.o to
/oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not rolled back
/oracle/app/oracle/product/10.2.0/db_1/.patch_storage/6163771_Jun_19_2008_17_41_45/files/lib/libserver10.a/kfcb.o to
/oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not rolled back
/oracle/app/oracle/product/10.2.0/db_1/.patch_storage/6163771_Jun_19_2008_17_41_45/files/lib/libserver10.a/kfcl.o to
/oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not rolled back
/oracle/app/oracle/product/10.2.0/db_1/.patch_storage/6163771_Jun_19_2008_17_41_45/files/lib/libserver10.a/kfr.o to
/oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not rolled back
/oracle/app/oracle/product/10.2.0/db_1/.patch_storage/6163771_Jun_19_2008_17_41_45/files/lib/libserver10.a/kfrb.o to
/oracle/app/oracle/product/10.2.0/db_1/lib/ ''
2) OUI-67200:Make failed to invoke "/usr/ccs/bin/make -f ins_
ioracle ORACLE_HOME=/oracle/app/oracle/product/10.2.0/db_1"....'ld:
I/O error, file
"/oracle/app/oracle/product/10.2.0/db_1/lib//libserver10.a":
Fatal error.
Stop.
'
3) OUI-67124:Re-link fails on target "ioracle".
4) OUI-67200:Make failed to invoke "/usr/ccs/bin/make -f ins_
ioracle ORACLE_HOME=/oracle/app/oracle/product/10.2.0/db_1"....'ld:
I/O error, file
"/oracle/app/oracle/product/10.2.0/db_1/lib//libserver10.a":
Fatal error.
Stop.
'
--------------------------------------------------------------------------------
OPatch failed with error code 115
$
完蛋了,无论是重新apply还是rollback,都失败了。
在这个情况下,我们可以在$ORACLE_HOME找到一个隐含的文件夹,里面的和文件,来清楚已经安装的信息,从而让我们重新安装。因为在进行opatch的过程在,在$ORACLE_HOME下有个隐含目录.patch_storage,在这个目录下的对应的目录,
$ cat
#!/bin/sh
# Copyright (c) 2009, Oracle Corporation. All rights reserved
echo This script is going to rollback the changes made to system files
on
echo this Oracle Home only. It does not perform any of the following:
echo - Inventory update
echo - Oracle binary re-link
echo - Running init/pre/post scripts
echo - Customized steps performed manually by user
echo Please use this script with supervision from Oracle Technical Support.
echo To rollback a patch, please use "'opatch rollback'".
echo NOTE: JDK should be present in the Oracle Home to rollback Java
Archives.
# Get ORACLE_HOME from environment variable "ORACLE_HOME"
OH=${ORACLE_HOME}
# Error out if OH is not set
if [ "$OH" = "" ]; then
echo Oracle Home is not set.
echo Please set env. variable ORACLE_HOME and try again.
echo Script failed to proceed.
exit 1
fi
echo "About to modify Oracle Home( $OH )"
echo "Do you want to proceed? [Y/N]"
if [ "$1" = "-silent" ]; then
response="Y"
else
read response;
fi
if [ $response = "y" ] || [ $response = "Y" ]; then
echo "User responded with : Y"
else
echo "User responded with : $response"
exit 0
fi
echo Date Time : `date` >> $OH/cfgtoollogs/opatch/opatch_
echo Oracle Home : $OH >> $OH/cfgtoollogs/opatch/opatch_
echo Command : >>
$OH/cfgtoollogs/opatch/opatch_
cd $OH/lib
/usr/ccs/bin/ar -rc $OH/lib/libserver10.a
$OH/.patch_storage/6163771_Jun_19_2008_17_41_45/files/lib/libserver10.a/kfc.o
cd $OH/lib
/usr/ccs/bin/ar -rc $OH/lib/libserver10.a
$OH/.patch_storage/6163771_Jun_19_2008_17_41_45/files/lib/libserver10.a/kfcb.o
cd $OH/lib
/usr/ccs/bin/ar -rc $OH/lib/libserver10.a
$OH/.patch_storage/6163771_Jun_19_2008_17_41_45/files/lib/libserver10.a/kfcl.o
cd $OH/lib
/usr/ccs/bin/ar -rc $OH/lib/libserver10.a
$OH/.patch_storage/6163771_Jun_19_2008_17_41_45/files/lib/libserver10
.a/kfr.o
cd $OH/lib
/usr/ccs/bin/ar -rc $OH/lib/libserver10.a
$OH/.patch_storage/6163771_Jun_19_2008_17_41_45/files/lib/libserver10.a/kfrb.o
echo Rollback script completed.
另一个脚本用于回滚失败的opatch执行过程,和一个脚本用于回滚编译ioracle的过程:
cd $ORACLE_HOME/rdbms/lib;/usr/ccs/bin/make -f ins_ ioracle
ORACLE_HOME=$ORACLE_HOME
其实我们从回滚脚本可以具体的看到,第一个是将一些kfc.o,kfcb.o,kfcl.o的文件从libserver10.a中抽取出类备份且还原出来。也就是说,在执行opatch的过程是将kfc.o,kfcb.o,kfcl.o等文件写入到libserver10.a文件中的。第二步,重新编译ioracle。
因此,我们可以利用这2个脚本,和利用原来在opatch的时候,做的备份(注意,这里一定要用原来的备份,一定要做原来的kfc.o,kfcb.o,kfcl.o的文件,在后续的操作步骤中,请注意这点。),我们来进行还原操作。
操作步骤为:
情况1,如果你的没有再次执行opatch脚本,即在.patch_storage目录下的rollbak脚本没有被覆盖,你可以:
1.运行rollback脚本:
% sh $ORACLE_HOME/.patch_storage/1234567/rollback_1234567 .sh
注意,可以能会如下报错
./rollback_[89]: System: not found.
./rollback_[97]: System: not found.
这个可以不必忽略。
2.运行make脚本
% sh $ORACLE_HOME/.patch_storage/1234567/1234567_
注,make脚本仅在relink阶段出错的时候才需要使用。
3.重命名脚本的原目录
% mv $ORACLE_HOME/.patch_storage/1234567
$ORACLE_HOME/.patch_storage/
情况2,如果你已经再次执行opatch脚本,即在.patch_storage目录下的rollbak脚本被覆盖了,你需要:
1.从命名你的原路径:
% mv $ORACLE_HOME/.patch_storage/1234567 $ORACLE_HOME
2.重新生成rolback脚本,注意用no_inventory和on_relink参数
% cd
% opatch apply -no_inventory -no_relink
3.将生产的rollback脚本和make脚本移动至原路径,以便利用原来的备份。
% cp $ORACLE_HOME/.patch_storage/1234567/rollback_
$ORACLE_HOME/1234567
% cp $ORACLE_HOME/.patch_storage/1234567/1234567_
$ORACLE_HOME/1234567
% mv $ORACLE_HOME/.patch_storage/1234567 $ORACLE_HOME/
% mv $ORACLE_HOME/1234567$ORACLE_HOME/.patch_storage
4.执行rollback脚本和make脚本,注意执行的时候可能会出现和情况1一样的报错,可以忽略。
% sh $ORACLE_HOME/.patch_storage/1234567/rollback_
% sh $ORACLE_HOME/.patch_storage/1234567/1234567_
5.重命名原路径
% mv
$ORACLE_HOME/.patch_storage/1234567$ORACLE_HOME/.patch_storage/
我们是属于情况2,因此采用情况2的方法进行回滚:
$
$ pwd
/oracle/app/oracle/product/10.2.0/db_1/.patch_storage
$ mv $ORACLE_HOME/.patch_storage/6163771_Jun_19_2008_17_41_45
$ORACLE_HOME
$ cd /arch/ora_patch/patch_ia/7409356/6163771
$ opatch apply -no_inventory -no_relink
Invoking OPatch 10.2.0.4.6
Oracle Interim Patch Installer version 10.2.0.4.6
Copyright (c) 2009, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/10.2.0/db_1
Central Inventory : n/a
from : n/a
OPatch version : 10.2.0.4.6
OUI version : n/a
OUI location : n/a
Log file location :
/oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2009-04-09_
Patch history file:
/oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_
ApplySession applying interim patch '6163771' to OH
'/oracle/app/oracle/product/10.2.0/db_1'
Running
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 = '/oracle/app/oracle/product/10.2.0/db_1')
Is the local system ready for patching? [y|n]
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 '6163771' for restore. This might
take
Backing up files affected by the patch '6163771' for rollback. This might
take
Patching component , 10.2.0.
Updating archive file
"/oracle/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with
"lib/libserver10.a/kfc.o"
Updating archive file
"/oracle/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with
"lib/libserver10.a/kfcb.o"
Updating archive file
"/oracle/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with
"lib/libserver10.a/kfcl.o"
Updating archive file
"/oracle/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with
"lib/libserver10.a/kfr.o"
Updating archive file
"/oracle/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with
"lib/libserver10.a/kfrb.o"
The following actions have failed:
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfc.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfcb.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfcl.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfr.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfrb.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Do you want to proceed? [y|n]
Y
User Responded with: Y
No relink requested, skip running make for target ioracle
ApplySession skipping inventory update.
Verifying
Inventory update verification is skipped.
ApplySession failed: ApplySession failed in system
'Verification of patch failed: Error verification failed: ar: kfc.o not
found
'
OPatch will attempt to restore
Restoring the
Checking if OPatch needs to invoke 'make' to restore
No relink requested, skipping 'make'.
OPatch was able to restore your system. Look at log file and timestamp
of each file to make sure your system is in the state prior to applying
the patch.
--------------------------------------------------------------------------------
The following warnings have occurred during OPatch execution:
1) OUI-67124:Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfc.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfcb.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfcl.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfr.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfrb.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
--------------------------------------------------------------------------------
OPatch failed with error code 73
$ cp
$ORACLE_HOME/.patch_storage/6163771_Jun_19_2008_17_41_45/
$ORACLE_HOME/6163771_Jun_19_2008_17_41_45
$ cp $ORACLE_HOME/.patch_storage/6163771_Jun_19_2008_17_41_45/
$ORACLE_HOME/6163771_Jun_19_2008_17_41_45
$
$ mv $ORACLE_HOME/.patch_storage/6163771_Jun_19_2008_17_41_45
$ORACLE_HOME/6163771_Jun_19_2008_17_41__20090409
$ mv $ORACLE_HOME/6163771_Jun_19_2008_17_41_45
$ORACLE_HOME/.patch_storage
$ cd 6163771_Jun_19_2008_17_41_45
$ cd
/oracle/app/oracle/product/10.2.0/db_1/.patch_storage/6163771_Jun_19_2008_17_41_45
$ ll
total 12
drwxrwxrwx 5 oracle dba 96 Apr 9 09:42 backup
-rw-rw-rw- 1 oracle dba 93 Apr 9 09:49
drwxrwxrwx 4 oracle dba 96 Apr 9 09:42
original_patch
drwxrwxrwx 2 oracle dba 1024 Apr 9 09:42 rac
-rwxr-xr-x 1 oracle dba 1401 Apr 9 09:42
-rw-rw-rw- 1 oracle dba 1401 Apr 9 09:49
drwxrwxrwx 2 oracle dba 96 Apr 9 09:29 scratch
$ sh
This script is going to rollback the changes made to system files on
this Oracle Home only. It does not perform any of the following:
- Inventory update
- Oracle binary re-link
- Running init/pre/post scripts
- Customized steps performed manually by user
Please use this script with supervision from Oracle Technical Support.
To rollback a patch, please use 'opatch rollback'.
NOTE: JDK should be present in the Oracle Home to rollback Java Archives.
About to modify Oracle Home( /oracle/app/oracle/product/10.2.0/db_1 )
Do you want to proceed? [Y/N]
Y
User responded with : Y
Rollback script completed.
$
$
$ sh
chmod 755 /oracle/app/oracle/product/10.2.0/db_1/bin
- Linking Oracle
rm -f /oracle/app/oracle/product/10.2.0/db_1/rdbms/lib/oracle
cc +DD64 -Wl,+s -Wl,+n +DD64 -o
/oracle/app/oracle/product/10.2.0/db_1/rdbms/lib/oracle
-L/oracle/app/oracle/product/10.2.0/db_1/rdbms/lib/
-L/oracle/app/oracle/product/10.2.0/db_1/lib/ /oracle/app/oracle/product/10.2.0/db_1/rdbms/lib/ssoident.o `if /usr/bin/getconf
KERNEL_BITS | grep "64" > /dev/null ;
then echo "-Wl,+pi,64M -Wl,+pd,L -Wl,+padtext,16M
-Wl,+paddata,1M" ;
else echo "" ; fi` -Wl,-E -Wl,-PF,linkorderfile +FPd
/oracle/app/oracle/product/10.2.0/db_1/rdbms/lib/opimai.o
/oracle/app/oracle/product/10.2.0/db_1/rdbms/lib/ssoraed.o
/oracle/app/oracle/product/10.2.0/db_1/rdbms/lib/ttcsoi.o /oracle/app/oracle/product/10.2.0/db_1/rdbms/lib/defopt.o -Wl,+forceload
-lperfsrv10 -Wl,+noforceload
/oracle/app/oracle/product/10.2.0/db_1/lib/nautab.o
/oracle/app/oracle/product/10.2.0/db_1/lib/naeet.o
/oracle/app/oracle/product/10.2.0/db_1/lib/naect.o
/oracle/app/oracle/product/10.2.0/db_1/lib/naedhs.o
/oracle/app/oracle/product/10.2.0/db_1/rdbms/lib/config.o -lserver10
-lodm10 -lnnet10 -lskgxp10 -lsnls10 -lnls10 -lcore10
-lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10
-lsnls10 -lnls10 -lcore10 -lnls10 -lhasgen10 -lcore10 -lskgxn2 -locr10
-locrb10 -locrutl10 -lhasgen10 -lcore10
-lskgxn2 -lclient10 -lvsn10 -lcommon10 -lgeneric10 -lknlopt `if
/usr/ccs/bin/ar tv
/oracle/app/oracle/product/10.2.0/db_1/rdbms/lib/libknlopt.a | grep
xsyeolap.o > /dev/null 2>&1 ; then echo "-loraolap10" ; fi` -lslax10
-lpls10 -lplp10 -lserver10 -lclient10 -lvsn10 -lcommon10
-lgeneric10 `if [ -f
/oracle/app/oracle/product/10.2.0/db_1/lib/libavserver10.a ] ; then
echo "-lavserver10" ; else echo "-lavstub10"; fi` `if [ -f
/oracle/app/oracle/product/10.2.0/db_1/lib/libavclient10.a ] ; then
echo "-lavclient10" ; fi` -lknlopt -lslax10 -lpls10 -lplp10 -ljox10
-lserver10 /oracle/app/oracle/product/10.2.0/db_1/has/lib/libclsra10.a -ldbcfg10 -locijdbcst10 -lwwg `cat
/oracle/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10
-lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat
/oracle/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10
-lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lmm -lsnls10
-lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10
-lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat
/oracle/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10
-lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat
/oracle/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10
-lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lsnls10
-lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10
-lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `if
/usr/ccs/bin/ar tv
/oracle/app/oracle/product/10.2.0/db_1/rdbms/lib/libknlopt.a | grep
"kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo10"; fi`
-lctxc10 -lctx10 -lzx10 -lgx10 -lctx10 -lzx10 -lgx10
-lordimt10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10
-lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10
-lnls10 -lsnls10 -lunls10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10
-lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10
-lcore10 -lnls10 `cat
/oracle/app/oracle/product/10.2.0/db_1/lib/sysliblist` -lm `cat
/oracle/app/oracle/product/10.2.0/db_1/lib/sysliblist` -lm -lpthread -lpthread
ld: I/O error, file
"/oracle/app/oracle/product/10.2.0/db_1/lib//libserver10.a":
Fatal error.
*** Error exit code 1
Stop.
$
$
$ mv $ORACLE_HOME/.patch_storage/6163771_Jun_19_2008_17_41_45
$ORACLE_HOME/.patch_storage/6163771_Jun_19_2008_17_41_
我们用lsinventory来查看回滚情况:
$ opatch lsinventory
Invoking OPatch 10.2.0.4.6
Oracle Interim Patch Installer version 10.2.0.4.6
Copyright (c) 2009, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/10.2.0/db_1
Central Inventory : /oracle/app/oracle/oraInventory
from : /var/opt/oracle/
OPatch version : 10.2.0.4.6
OUI version : 10.2.0.4.0
OUI location : /oracle/app/oracle/product/10.2.0/db_1/oui
Log file location :
/oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2009-04-09_
Patch history file:
/oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_
Lsinventory Output file location :
/oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2009-04-09_
--------------------------------------------------------------------------------
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 (16) :
Patch 7375644 : applied on Wed Apr 08 16:49:19 SGT 2009
Created on 19 Sep 2008, 03:40:43 hrs PST8PDT
Bugs fixed:
7375644, 7150470
Patch 7375617 : applied on Wed Apr 08 16:49:14 SGT 2009
Created on 19 Sep 2008, 03:40:41 hrs PST8PDT
Bugs fixed:
7375617
Patch 7375613 : applied on Wed Apr 08 16:49:10 SGT 2009
Created on 19 Sep 2008, 03:40:40 hrs PST8PDT
Bugs fixed:
7375613
Patch 7375611 : applied on Wed Apr 08 16:49:05 SGT 2009
Created on 19 Sep 2008, 03:40:37 hrs PST8PDT
Bugs fixed:
7375611
Patch 7197583 : applied on Wed Apr 08 16:48:51 SGT 2009
Created on 2 Jul 2008, 05:50:52 hrs PST8PDT
Bugs fixed:
7197583
Patch 7155254 : applied on Wed Apr 08 16:48:41 SGT 2009
Created on 2 Jul 2008, 05:55:42 hrs PST8PDT
Bugs fixed:
7155254
Patch 7155253 : applied on Wed Apr 08 16:46:48 SGT 2009
Created on 2 Jul 2008, 05:55:29 hrs PST8PDT
Bugs fixed:
7155253
Patch 7155252 : applied on Wed Apr 08 16:45:15 SGT 2009
Created on 2 Jul 2008, 04:38:30 hrs PST8PDT
Bugs fixed:
7155252
Patch 7155251 : applied on Wed Apr 08 16:45:09 SGT 2009
Created on 2 Jul 2008, 04:37:07 hrs PST8PDT
Bugs fixed:
7155251
Patch 7155250 : applied on Wed Apr 08 16:44:58 SGT 2009
Created on 2 Jul 2008, 04:36:18 hrs PST8PDT
Bugs fixed:
7155250
Patch 7155249 : applied on Wed Apr 08 16:44:48 SGT 2009
Created on 2 Jul 2008, 04:34:23 hrs PST8PDT
Bugs fixed:
7155249
Patch 7155248 : applied on Wed Apr 08 16:44:43 SGT 2009
Created on 2 Jul 2008, 04:35:32 hrs PST8PDT
Bugs fixed:
7155248
Patch 7278117 : applied on Wed Apr 08 16:25:38 SGT 2009
Created on 13 Aug 2008, 23:13:23 hrs US/Pacific
Bugs fixed:
7155655, 6917874, 7278117
Patch 7123643 : applied on Wed Apr 08 16:25:31 SGT 2009
Created on 16 Jul 2008, 23:55:13 hrs US/Pacific
Bugs fixed:
7123643
Patch 6327692 : applied on Wed Apr 08 16:24:49 SGT 2009
Created on 9 Jun 2008, 02:23:15 hrs US/Pacific
Bugs fixed:
6327692
Patch 5868257 : applied on Wed Apr 08 16:24:42 SGT 2009
Created on 21 Oct 2008, 11:41:00 hrs PST8PDT
Bugs fixed:
5868257
--------------------------------------------------------------------------------
OPatch succeeded.
$
发现确实已经清楚掉了6163771的安装信息!我们再次尝试安装opatch:
$ pwd
/arch/ora_patch/patch_ia/7409356/6163771
$ opatch apply
Invoking OPatch 10.2.0.4.6
Oracle Interim Patch Installer version 10.2.0.4.6
Copyright (c) 2009, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/10.2.0/db_1
Central Inventory : /oracle/app/oracle/oraInventory
from : /var/opt/oracle/
OPatch version : 10.2.0.4.6
OUI version : 10.2.0.4.0
OUI location : /oracle/app/oracle/product/10.2.0/db_1/oui
Log file location :
/oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2009-04-09_
Patch history file:
/oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_
ApplySession applying interim patch '6163771' to OH
'/oracle/app/oracle/product/10.2.0/db_1'
Running
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 = '/oracle/app/oracle/product/10.2.0/db_1')
Is the local system ready for patching? [y|n]
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 '6163771' for restore. This might
take
Backing up files affected by the patch '6163771' for rollback. This might
take
Patching component , 10.2.0.
Updating archive file
"/oracle/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with
"lib/libserver10.a/kfc.o"
Updating archive file
"/oracle/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with
"lib/libserver10.a/kfcb.o"
Updating archive file
"/oracle/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with
"lib/libserver10.a/kfcl.o"
Updating archive file
"/oracle/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with
"lib/libserver10.a/kfr.o"
Updating archive file
"/oracle/app/oracle/product/10.2.0/db_1/lib/libserver10.a" with
"lib/libserver10.a/kfrb.o"
The following actions have failed:
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfc.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfcb.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfcl.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfr.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfrb.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Do you want to proceed? [y|n]
Y
User Responded with: Y
Running make for target ioracle
Make failed to invoke "/usr/ccs/bin/make -f ins_ ioracle
ORACLE_HOME=/oracle/app/oracle/product/10.2.0/db_1"....'ld: I/O error,
file "/oracle/app/oracle/product/10.2.0/db_1/lib//libserver10.a":
Fatal error.
Stop.
'
The following make actions have failed :
Re-link fails on target "ioracle".
Do you want to proceed? [y|n]
Y
User Responded with: Y
ApplySession adding interim patch '6163771' to inventory
Verifying
Inventory check OK: Patch ID 6163771 is registered in Oracle Home
inventory with proper meta-data.
ApplySession failed: ApplySession failed in system
'Verification of patch failed: Error verification failed: ar: kfc.o not
found
'
OPatch will attempt to restore
Restoring the
Checking if OPatch needs to invoke 'make' to restore
Make failed to invoke "/usr/ccs/bin/make -f ins_ ioracle
ORACLE_HOME=/oracle/app/oracle/product/10.2.0/db_1"....'ld: I/O error,
file "/oracle/app/oracle/product/10.2.0/db_1/lib//libserver10.a":
Fatal error.
Stop.
'
--------------------------------------------------------------------------------
Failed to run make commands. They are stored in file
'/oracle/app/oracle/product/10.2.0/db_1/.patch_storage/6163771_Jun_19_2008_17_41_45/'
Invoke these commands manually to restore the binaries in the Oracle Home.
OPatch failed to restore OH '/oracle/app/oracle/product/10.2.0/db_1'.
Consult OPatch document to restore the home manually before proceeding.
--------------------------------------------------------------------------------
The following warnings have occurred during OPatch execution:
1) OUI-67124:Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfc.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfcb.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfcl.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfr.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
Archive not applied
/arch/ora_patch/patch_ia/7409356/6163771/files/lib/libserver10.a/kfrb.o to /oracle/app/oracle/product/10.2.0/db_1/lib/ ''
2) OUI-67200:Make failed to invoke "/usr/ccs/bin/make -f ins_
ioracle ORACLE_HOME=/oracle/app/oracle/product/10.2.0/db_1"....'ld:
I/O error, file
"/oracle/app/oracle/product/10.2.0/db_1/lib//libserver10.a":
Fatal error.
Stop.
'
3) OUI-67124:Re-link fails on target "ioracle".
4) OUI-67200:Make failed to invoke "/usr/ccs/bin/make -f ins_
ioracle ORACLE_HOME=/oracle/app/oracle/product/10.2.0/db_1"....'ld:
I/O error, file
"/oracle/app/oracle/product/10.2.0/db_1/lib//libserver10.a":
Fatal error.
Stop.
'
--------------------------------------------------------------------------------
OPatch failed with error code 115
$
我们发现还是报错了!
难道是libserver10.a文件已经被破坏了?因为这个文件已经被破坏,所以在从这个文件读取备份文件信息的时候,会报错I/O error。也就是说,我是在opatch正在修改libserver10.a这个文件的时候,按下了ctrl+C,导致写文件到一半被中断,所以导致这个文件被破坏了!
用ar来测试一下:
$ cp $ORACLE_HOME/lib/libserver10.a /tmp/diags
$ cd /tmp/diags
$ ls
kcc.o kcra.o kct.o krbo.o krci.o
krh.o ksc.o ksp.o
kccr.o kcrf.o kcv.o krbr.o krcl.o
krpi.o ksct.o ksst.o
kcf.o kcrfr.o kiem.o krbtdb.o krcp.o
krsc.o ksdc.o kst.o
kck.o kcrfw.o krb.o krbx.o krcr.o
krsf.o ksdf.o ksucln.o
kckt.o kcrlc.o krbb.o krby.o krd.o
krsl.o kse.o ksuxs.o
kcm.o kcrp.o krbc.o krbz.o krf.o
krsm.o ksf.o libserver10.a
kco.o kcrr.o krbd.o krc.o krff.o
krsr.o ksl.o
kcot.o kcrrt.o krbi.o krc0.o krfg.o
krt.o kslt.o
kcp.o kcrx.o krbm.o krcc.o krfr.o
ksa.o ksmst.o
kcq.o kcs.o krbn.o krcg.o krfw.o
ksbt.o ksmuf.o
$ ar xv libserver10.a
x - kcrfr.o
x - kcrrt.o
x - kcrr.o
x - kcf.o
x - kckt.o
x - kcrfw.o
x - kcrf.o
x - kco.o
x - kcm.o
x - kck.o
x - kcot.o
x - kcra.o
x - kcrp.o
x - kcv.o
x - kct.o
x - kcc.o
x - krbi.o
x - krbd.o
x - krby.o
x - krbc.o
x - krbb.o
x - krbr.o
x - krb.o
x - krbm.o
x - krt.o
x - kccr.o
x - krpi.o
x - krh.o
x - kcs.o
x - kcp.o
x - krbx.o
x - krd.o
x - kcrlc.o
x - kcq.o
x - krsm.o
x - krsf.o
x - krsl.o
x - krsr.o
x - krsc.o
x - kcrx.o
x - krc.o
x - krc0.o
x - krci.o
x - krcl.o
x - krcg.o
x - krcc.o
x - krcp.o
x - krcr.o
x - krf.o
x - krff.o
x - krfr.o
x - krfg.o
x - krfw.o
x - krbn.o
x - krbtdb.o
x - krbz.o
x - krbo.o
x - ksst.o
x - kse.o
x - ksbt.o
x - kst.o
x - ksmuf.o
x - ksc.o
x - ksa.o
x - ksp.o
x - ksmst.o
x - ksdc.o
x - ksl.o
x - ksuxs.o
x - kiem.o
x - ksct.o
x - ksucln.o
x - ksdf.o
x - ksf.o
ar: read error
$
唉,果真如此啊!在这情况下,我们也有两种方式来处理:
情况1:如果libserver10.a之前没有被其他patch修改过,我们可以用当前这个patch包中的文件进行编译和替换。
1.进patch包的目录:
$ cd
2.查找文件:
$ for f in `find . -type f -name '*.jar'`; do unzip -l $f | grep -i
"libserver10.a" && echo "was found in $f"; done
162678516 04-04-08 04:09 libserver10.a
%s_patchLocation%/lib/libserver10.a
was found
in ./stage/Patches//10.2.0.4.0/1/DataFiles/
3.解压覆盖:
$ rm -rf /tmp/diags/*
$ cp /tmp/diags
$ cd /tmp/diags
$ export PATH=$ORACLE_HOME/jdk/bin:$PATH
$ jar xvf
$ cd $ORACLE_HOME/lib
$ mv libserver10.a
$ cp /tmp/diags/libserver10.a .
情况2,也是最坏的情况,libserver10.a文件已经之前被其他的patch所修改过,我们检查我也确实属于了这个情况:
$ opatch lsinventory -detail
Invoking OPatch 10.2.0.4.6
Oracle Interim Patch Installer version 10.2.0.4.6
Copyright (c) 2009, Oracle Corporation. All rights reserved.
Oracle Home : /oracle/app/oracle/product/10.2.0/db_1
Central Inventory : /oracle/app/oracle/oraInventory
from : /var/opt/oracle/
OPatch version : 10.2.0.4.6
OUI version : 10.2.0.4.0
OUI location : /oracle/app/oracle/product/10.2.0/db_1/oui
Log file location :
/oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2009-04-09_
Patch history file:
/oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_
Lsinventory Output file location :
/oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2009-04-09_
--------------------------------------------------------------------------------
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.
Installed Products (188):
Agent Required Support
Files 10.2.0.1.0
Agent Required Support Files
Patch 10.2.0.4.0
Assistant Common
Files 10.2.0.1.0
Assistant Common Files
Patch 10.2.0.4.0
Bali
Share 1.1.18.0.0
Buildtools Common
Files 10.2.0.1.0
Character Set Migration
Utility 10.2.0.1.0
Character Set Migration Utility
Patch 10.2.0.4.0
Database Configuration and Upgrade
Assistants 10.2.0.1.0
Database Configuration and Upgrade Assistants
Patch 10.2.0.4.0
Database SQL
Scripts 10.2.0.1.0
Database SQL Scripts
Patch 10.2.0.4.0
Database Workspace
Manager 10.2.0.1.0
Database Workspace
Manager 10.2.0.4.0
DBJAVA Required Support
Files 10.2.0.1.0
DBJAVA Required Support Files
Patch 10.2.0.4.0
Enterprise Edition
Options 10.2.0.1.0
Enterprise Manager Agent
Core 10.2.0.1.0
Enterprise Manager Agent Core
Patch 10.2.0.4.0a
Enterprise Manager Agent
DB 10.2.0.1.0
Enterprise Manager Agent
DB 10.2.0.4.0
Enterprise Manager
Baseline 10.2.0.1.0
Enterprise Manager
Baseline 10.2.0.4.0
Enterprise Manager Common Core
Patch 10.2.0.4.0a
Enterprise Manager Common
Files 10.2.0.1.0
Enterprise Manager Minimal
Integration 10.2.0.1.0
Enterprise Manager plugin Common
Files 10.2.0.1.0
Enterprise Manager plugin Common
Files 10.2.0.1.0
Enterprise Manager plugin Common Files
Patch 10.2.0.4.0
Enterprise Manager Repository
Core 10.2.0.1.0
Enterprise Manager Repository Core
patch 10.2.0.4.0a
Enterprise Manager Repository
DB 10.2.0.1.0
Enterprise Manager Repository
DB 10.2.0.4.0
Generic Connectivity Common
Files 10.2.0.1.0
Generic Connectivity Common Files
Patch 10.2.0.4.0
HAS Common
Files 10.2.0.1.0
HAS Common Files
Patch 10.2.0.4.0
HAS Files for
DB 10.2.0.1.0
HAS Files for DB
Patch 10.2.0.4.0
Installation Common
Files 10.2.0.1.0
Installation Common Files
Patch 10.2.0.4.0
Installer SDK
Component 10.2.0.4.0
Java Runtime
Environment 1.4.2.14.0
JDBC Common Files
发布评论