You can manually uninstall the VMware Aria Operations for Logs Linux Agent .bin package if you choose not to use the uninstall script.
Prerequisites
- Log in as root or use sudo to run console commands.
- Log in to the Linux machine on which you installed the VMware Aria Operations for Logs Linux Agent, open a terminal console and run pgrep liagent to verify that the VMware Aria Operations for Logs Linux Agent is installed and running.
Procedure
- Stop the VMware Aria Operations for Logs Linux Agent daemon by running the following command
sudo service liagentd stop or
sudo /sbin/service liagentd stop for older Linux distributions.
- Manually remove the VMware Aria Operations for Logs Linux Agent files
- /usr/lib/loginsight-agent - Daemon binary and license files directory.
- /usr/bin/loginsight-agent-support - Used to generate the support bundle for the VMware Aria Operations for Logs Linux Agent.
- /var/lib/loginsight-agent - Configuration files and database storage directory.
- /var/log/loginsight-agent - Log directory for the VMware Aria Operations for Logs Linux Agent.
- /var/run/liagent/liagent.pid - VMware Aria Operations for Logs Linux Agent PID file. If it is not deleted automatically, remove the file manually.
- /etc/init.d/liagentd - Script directory for the VMware Aria Operations for Logs Linux Agent daemon.
- /usr/lib/systemd/system/liagentd.service