Silent uninstallation of 11.1 Agent
If you have decided not to have oracle agent home any more then you can use below sample script to uninstall in silent mode. Before you start uninstallation you must stop the agent.
Stop the Agent and ensure you have exported proper home of AGENT or run the command from $AGENT_HOME
$emctl stop agent
After the agent is down and now we are very much fine to remove the AGENT_HOME, If you are using Unix/Linux then binary will be runInstaller and in case of windows the binary file should be setup.exe
-bash-3.2$ ./runInstaller -silent -deinstall "REMOVE_HOMES={/u01/app/oracle/agent11g}" -removeallfiles Starting Oracle Universal Installer... Checking swap space: must be greater than 500 MB. Actual 4959 MB Passed Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-06-17_08-20-38PM. Please wait ...-bash-3.2$ Oracle Universal Installer, Vers ion 11.1.0.8.0 Production Copyright (C) 1999, 2010, Oracle. All rights reserved. Starting deinstall Deinstall in progress (Tuesday, June 17, 2013 8:20:51 PM IST) Configuration assistant "Agent Deinstall Assistant" succeeded Configuration assistant "Oracle Configuration Manager Deinstall" succeeded ............................................................... 100% Done. Deinstall successful End of install phases.(Tuesday, June 17, 2013 8:21:27 PM IST) End of deinstallations Please check '/u01/app/oraInventory/logs/silentInstall2013-06-17_08-20-38PM.log' for more details.
Further if you want to review deinstallation procedure, anytime we can refer the log file.
-bash-3.2$ cat /u01/app/oraInventory/logs/silentInstall2013-06-17_08-20-38PM.log silentInstall2013-06-17_08-20-38PM.log Starting deinstall This deinstallation was successful End of deinstallations -bash-3.2$