How to uninstall Grid Control 11g agents
Shutdown the agent: export AGENT_HOME=/u01/app/oracle/agent11g $AGENT_HOME/bin/emctl stop agent Delete the related targets from Enterprise Manager. Run the deinstaller (silent mode): $AGENT_HOME/oui/bin/runInstaller -invPtrLoc $AGENT_HOME/oraInst.loc -deinstall -silent “REMOVE_HOMES={$AGENT_HOME}” -removeallfiles NOTE: I’ve included the ‘invPtrLoc’ flag above. This is optional, but if you ever come across a server where multiple inventories are used, you’re going to have to