Undeploy any applications protected by the Apache HTTP Server 2.0.x agent.
Stop the Apache HTTP Server instance, if it is running.
Change to the PolicyAgent-base/bin directory. For example:
For example: cd /opt/web_agents/apache_agent/bin
Issue one of the following commands:
# ./agentadmin --uninstall
or
# ./agentadmin --uninstallAll
The --uninstall option 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 Apache HTTP Server configuration directory path.
For example: /opt/apache-2.0.63/conf
The uninstall program displays the path and then asks if you want to continue:
To continue with the uninstallation, select 1 (the default).
The uninstall program uninstalls the agent (or all configured instances, if specified).
/opt/web_agents/apache_agent/installer-logs/audit/uninstall.log
The /config directory is removed from the agent instance directory, but the /installer-logs directory still exists.
The uninstall program creates the uninstall.log file in the PolicyAgent-base/installer-logs/audit directory. For example:
/opt/web_agents/apache_agent/installer-logs/audit/uninstall.log
The agent instance directory is not automatically removed. For example, if you uninstall the agent for Agent_001, a subsequent agent installation creates the Agent_002 instance directory. To remove an agent instance directory, you must manually remove the directory.