How Do I Uninstall a Database Audit Agent?
You can uninstall an agent from the database or application if you do not need to audit the database.
Prerequisites
You have installed an agent on the desired node.
Uninstalling the Agent from a Linux OS
- Log in to the node where the agent is installed as user root using SSH through a cross-platform remote access tool (such as PuTTY).
- Run the following command to access the directory where the decompressed xxx.tar.gz agent installation package is stored:
cd directory containing the decompressed agent installation package
- Run the following command to check whether you have the permission for executing the uninstall.sh script:
ll
- If you do, go to 4.
- If you do not, perform the following operations:
- Run the following command to uninstall the agent:
sh uninstall.sh
If the following information is displayed, the agent has been uninstalled successfully:
1 2 3 4 5 6 7
uninstall audit agent... exist os-release file stopping audit agent audit agent stopped stop audit_agent success service audit_agent does not support chkconfig uninstall audit agent completed!
Uninstalling the Agent from a Windows OS
- Enter the directory where the agent installation file is stored.
- Double-click the uninstall.bat file to uninstall the agent.
- Verify the agent has been uninstalled.
- Open the Task Manager and verify the dbss_audit_agent process is stopped.
- Verify the entire agent installation directory has been deleted.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.