1. Check that the
Oracle home exist in the $AGENT_INST/sysman/emd/targets.xml
2. Check that the
Oracle home exist in the oraInventory
Here is the resolution:
Missing home in oraInventory
1. Attach home to
oraInventory
$cd $AGENT_HOME
$AGENT_HOME/oui/bin/runInstaller
-silent -attachHome -invPtrLoc $AGENT_HOME/oraInst.loc
ORACLE_HOME_NAME="agent1_home"
oracle_home="$AGENT_HOME"
"cluster_nodes={}"
2. Run emctl
collection
$cd $AGENT_HOME
$./emctl control
agent runCollection <TARGET_ORACLE_HOME_NAME>:oracle_home
oracle_home_config
Missing Home in Targets.xml
1. Run emctl
collection
$cd $AGENT_HOME
$./emctl control
agent runCollection <TARGET_ORACLE_HOME_NAME>:oracle_home
oracle_home_config
You're welcome
ReplyDeleteJavier! My man! How do you determine when the value is missing from the targets.xml file? I tried guessing what it should be and got this error:
ReplyDeleteEMD runCollection error:no target collection
sorry it looks like the string got stripped. How do you determine the "TARGET_ORACLE_HOME_NAME"?
DeleteHay David how's it going. The target Oracle home name would be found in OEM.
DeleteYou also check if the patch for that home exist in the Oracle inventory file.