vRealize Operations Manager unable to write to the liagent.ini file after li-agent deletion and re-installation
search cancel

vRealize Operations Manager unable to write to the liagent.ini file after li-agent deletion and re-installation

book

Article ID: 339595

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Reinstalling, or upgrading the vRealize Log Insight agent on a vRealize Operations Manager node is not supported.
In the event the vRealize Log Insight agent has undergone any of the above actions, complete the steps below to restore functionality to the vRealize Log Insight agent.

Symptoms:
  • The vRealize Log Insight agent has been reinstalled, or upgraded on a vRealize Operations Manager node.
  • Changes to the vRealize Log Insight agent made in the vRealize Operations Manager UI from Administration > Support > Logs, or Administration > Management > Log Forwarding are not reflected.


Environment

VMware vRealize Operations Manager 6.5.x
VMware vRealize Log Insight 4.0.x
VMware vRealize Log Insight 4.x
VMware vRealize Log Insight 4.6.x
VMware vRealize Log Insight 3.x
VMware vRealize Log Insight 3.6.x
VMware vRealize Log Insight 4.5.x
VMware vRealize Operations Manager 6.6.x
VMware vRealize Log Insight 3.0.x
VMware vRealize Operations Manager 6.3.x
VMware vRealize Log Insight 4.3.x
VMware vRealize Log Insight 3.3.x
VMware vRealize Operations Manager 6.4.x
VMware vRealize Operations Manager 6.7.x

Resolution

To resolve the issue, the local admin user must own and be granted the write permissions on the /var/lib/loginsight-agent/liagent.ini file.
  1. Log into the affected vRealize Operations Manager node as root via SSH or Console.
  2. Run the following command to change the owner and set permissions on the liagent.ini file:
chown admin:admin /var/lib/loginsight-agent/liagent.ini && chmod 644 /var/lib/loginsight-agent/liagent.ini
  1. Repeat steps 1-2 on all other affected vRealize Operations Manager nodes.
The vRealize Log Insight agent will now accept changes made from the vRealize Operations Manager UI from Administration > Support > Logs, or Administration > Management > Log Forwarding pages.