Change to the following directory:
PolicyAgent-base/bin
Issue one of the following commands:
# ./agentadmin --uninstall
or
# ./agentadmin --uninstallAll
The --uninstall removes only one instance of the agent, while the --uninstallAll option prompts you to remove all configured instances of the agent.
The uninstall program prompts you for the Web Server configuration directory path. For example:
/opt/sun/proxyserver40/proxy-server1/config
The uninstall program displays the path and then asks if you want to continue:
To continue with the uninstallation, select 1 (the default).
************************************************************************ Welcome to the OpenSSO Policy Agent for Sun Java System Proxy Server. ************************************************************************ Enter the complete path to the directory which is used by Sun Java System Proxy Server to store its configuration Files. This directory uniquely identifies the Sun Java System Proxy Server instance that is secured by this Agent. [ ? : Help, ! : Exit ] Enter the Sun Java System Proxy Server Config Directory Path [/opt/sun/proxyserver40/proxy-server1/config]: ----------------------------------------------- SUMMARY OF YOUR RESPONSES ----------------------------------------------- Sun Java System Proxy Server Config Directory : /opt/sun/proxyserver40/proxy-server1/config Verify your settings above and decide from the choices below. 1. Continue with Uninstallation 2. Back to the last interaction 3. Start Over 4. Exit Please make your selection [1]: Deleting the config directory /opt/web_agents/proxy40_agent/Agent_001/config ...DONE. Removing Agent parameters from /opt/sun/proxyserver40/proxy-server1/config/obj.conf file ...DONE. Uninstall log file location: /opt/web_agents/proxy40_agent/installer-logs/audit/uninstall.log Thank you for using OpenSSO Policy Agent. INSTALL NOTE: Installer modifies obj.conf file in the config directory you specified. UNINSTALL NOTE: Uninstall removes agent settings from obj.conf file in the config directory you specified. If there are multiple obj.conf files configured manually in the same config directory, then please remove them manually. For more information, please refer agent documentation. |