Problema
maq01:oratst 18> $ORACLE_HOME/OPatch/opatch
lsinventory
Invoking OPatch 10.2.0.4.3
Oracle Interim Patch Installer version 10.2.0.4.3
Copyright (c) 2007, Oracle Corporation. All rights reserved.
Oracle Home
: /oracle/TST/102_64
Central Inventory : /oracle/oraInventory
from : /etc/oraInst.loc
OPatch version
: 10.2.0.4.3
OUI version
: 10.2.0.4.0
OUI location
: /oracle/TST/102_64/oui
Log file location :
/oracle/TST/102_64/cfgtoollogs/opatch/opatch2012-08-22_10-35-42AM.log
List of Homes on this system:
Home name= TSB_102_64, Location= "/oracle/TSB/102_64"
Home name=
OraDb11g_home1, Location= "/oracle/TST/112_64"
Inventory load failed... OPatch cannot load inventory
for the given Oracle Home.
Possible causes are:
Oracle Home
dir. path does not exist in Central Inventory
Oracle Home
is a symbolic link
Oracle Home
inventory is corrupted
LsInventorySession failed: OracleHomeInventory gets
null oracleHomeInfo
OPatch failed with error code 73
Solução
maq01:oratsa 32> cd $ORACLE_HOME/oui/bin
maq01:oratsa 33> ./attachHome.sh
Starting Oracle Universal Installer...
No pre-requisite checks found in oraparam.ini, no
system pre-requisite checks will be executed.
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /oracle/oraInventory
'AttachHome'
was successful.
Obs: Se a instalação for originada de um restore, edite o script attachHome.sh e altere os SID dos diretórios.
Abraços