卸载Agent 在数据库端或应用端的节点安装Agent后,当不需要停止审计数据库时,您可以在安装Agent的节点卸载Agent。 前提条件 已在安装节点安装了Agent程序。 在Linux操作系统上卸载Agent 1. 使用跨平台远程访问工具(例如PuTTY)以root用户通过SSH方式,登录已安装Agent的节点。 2. 执行以下命令,进入Agent安装包“xxx.tar.gz”解压后所在目录。cd Agent 安装包解压后所在目录。 3. 执行以下命令,查看是否有卸载脚本“uninstall.sh”的执行权限。如果有卸载脚本的执行权限,请执行步骤4。如果没有卸载脚本的执行权限,请执行以下操作: 执行以下命令,添加卸载脚本执行权限。chmod +x uninstall.sh。 确认有安装脚本执行权限后,请执行步骤4。 4. 执行以下命令,卸载Agent。sh uninstall.sh。如果界面回显以下信息,说明卸载成功。 uninstall audit agent... exist osrelease file stopping audit agent audit agent stopped stop auditagent success service auditagent does not support chkconfig uninstall audit agent completed! 在Windows操作系统上卸载Agent 1. 进入Agent安装文件的目录。 2. 双击“uninstall.bat”执行文件,卸载Agent。 3. 验证Agent已卸载成功。 4. 打开任务管理器,查看“dbssauditagent”进程已停止。 5. 查看Agent安装目录,安装目录内容已经全部删除。