You can manually uninstall the Log Insight Linux Agent .bin package if you choose not to use the uninstall script.

Prerequisites

Manually Uninstall the Log Insight Linux Agent bin package
  • Log in as root or use sudo to run console commands.
  • Log in to the Linux machine on which you installed the Log Insight Linux Agent, open a terminal console and run pgrep liagent to verify that the VMware vRealize Log Insight Linux Agent is installed and running.

Procedure

  1. Stop the Log Insight Linux Agent daemon by running the following command
    sudo service liagentd stop or sudo /sbin/service liagentd stop for older Linux distributions.
  2. Manually remove the Log Insight 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 Log Insight Linux Agent.
    • /var/lib/loginsight-agent - Configuration files and database storage directory.
    • /var/log/loginsight-agent - Log directory for the Log Insight Linux Agent.
    • /var/run/liagent/liagent.pid - Log Insight Linux Agent PID file. If it is not deleted automatically, remove the file manually.
    • /etc/init.d/liagentd - Script directory for the Log Insight Linux Agent daemon.
    • /usr/lib/systemd/system/liagentd.service