[oracle@oem 6512039]$ ../opatch apply
Invoking OPatch 10.2.0.3.0
Oracle interim Patch Installer version 10.2.0.3.0
Copyright (c) 2005, Oracle Corporation. All rights reserved..
Oracle Home : /oracle/OracleHomes/db10g
Central Inventory : /oracle/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.3.0
OUI version : 10.2.0.3.0
OUI location : /oracle/OracleHomes/db10g//oui
Log file location : /oracle/OracleHomes/db10g/cfgtoollogs/opatch/opatch2008-04-22_10-14-24AM.log
ApplySession applying interim patch '6512039' to OH '/oracle/OracleHomes/db10g'
ApplySession failed: ApplySession failed to prepare the system. ApplySession: Required component(s) [ oracle.sysman.common, 10.2.0.3.0 ] not present in the Oracle Home or a higher version found.
System intact, OPatch will not attempt to restore the system
OPatch failed with error code 73
****************************Solution****************************
The default Oracle Home Name when carrying out a 10Gr2 Grid Control installation is oms10g - this is the Grid Control Oracle Home. You will also have a repository Oracle Home which by default is called db10g.
You can search the oms10g to see if this includes oracle.sysman.common below the $OH/inventory.
If one exists then this is the Oracle Home against which you should apply Grid Control patches.
OEM 10g GC中的home directory 變數有兩個,一個是ORACLE_HOME一個是REPOSITORY_HOME.
ORACLE_HOME指向oms10g所在的目錄,REPOSITORY_HOME指向db10g的目錄.
****************************Solution END****************************
[oracle@oem 6512039]$ pwd
/oracle/OracleHomes/oms10g/OPatch/6512039
[oracle@oem 6512039]$ export ORACLE_HOME=/oracle/OracleHomes/oms10g
[oracle@oem 6512039]$ echo $ORACLE_HOME
/oracle/OracleHomes/oms10g
[oracle@oem 6512039]$ ../opatch apply
Invoking OPatch 10.2.0.3.0
Oracle interim Patch Installer version 10.2.0.3.0
Copyright (c) 2005, Oracle Corporation. All rights reserved..
Oracle Home : /oracle/OracleHomes/oms10g
Central Inventory : /oracle/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.3.0
OUI version : 10.2.0.3.0
OUI location : /oracle/OracleHomes/oms10g/oui
Log file location : /oracle/OracleHomes/oms10g/cfgtoollogs/opatch/opatch2008-04-22_10-34-42AM.log
ApplySession applying interim patch '6512039' to OH '/oracle/OracleHomes/oms10g'
OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.
Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files affected by the patch '6512039' for restore. This might take a while...
Backing up files affected by the patch '6512039' for rollback. This might take a while...
Patching component oracle.sysman.common, 10.2.0.3.0...
Updating jar file "/oracle/OracleHomes/oms10g/sysman/jlib/emCORE.jar" with "/sysman/jlib/emCORE.jar/oracle/sysman/eml/ecm/patch/repaccess/ARUTableSql.class"
ApplySession adding interim patch '6512039' to inventory
Verifying the update...
Inventory check OK: Patch ID 6512039 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 6512039 are present in Oracle Home.
OPatch succeeded.
- Apr 22 Tue 2008 10:42
OEM apply patch error
全站熱搜
留言列表
發表留言