Error: "FAILED:Failed to Start Salt Minion. null.Verify Agent installation log for more details" when installing Telegraf agent on RHEL VMs
search cancel

Error: "FAILED:Failed to Start Salt Minion. null.Verify Agent installation log for more details" when installing Telegraf agent on RHEL VMs

book

Article ID: 428996

calendar_today

Updated On:

Products

VMware Aria Operations (formerly vRealize Operations) 8.x

Issue/Introduction

When you install the Telegraf agent on RHEL VMs version 9.2, it fails with the following error:

install agents failed at install:reinstall:12:FAILED:Failed to Start Salt Minion. null.Verify Agent installation log for more details.. please check logs for more detail.

When you check systemctl status ucp-salt-minion on the affected VM, it shows the following error:

ucp-salt-minion.service: Failed to execute /etc/init.d/ucp-salt-minion: Permission denied
ucp-salt-minion.service: Failed at step EXEC spawning /etc/init.d/ucp-salt-minion: Permission denied
ucp-salt-minion.service: Control process exited, code=exited, status=203/EXEC

Running the following command on the RHEL VM shows the error cat: /etc/init.d/ucp-salt-minion: Permission denied:

sudo -u arcuser cat /etc/init.d/ucp-salt-minion | head -n 1

Environment

Aria Operations 8.18.x 

Cause

Incorrect permissions on /etc/init.d or /etc/rc.d/init.d

Resolution

Note: RHEL 9 does not provide a symbolic link to /etc/init.d from /etc/rc.d/init.d.
RHEL 7 and RHEL 8 will automatically create a symbolic link for /etc/init.d from /etc/rc.d/init.d.
Ensure that both the /etc/rc.d/init.d directory and the symbolic link /etc/init.d have execute permission for owner, group, and everyone (chmod 755).


To resolve the issue, log in to the RHEL VM with the issue and follow these steps:

  1. Run this command as user root:
    chmod 755 /etc/init.d
  2. Once directory permissions have been updated, run the below command again. The output should show: #!/bin/bash
    sudo -u arcuser cat /etc/init.d/ucp-salt-minion | head -n 1
  3. Restart the salt-minion service:
    systemctl restart ucp-salt-minion
  4. Check the status of the service:
    systemctl status ucp-salt-minion
  5. Retry the telegraf agent installation on the VM.

Additional Information

Linux file permissions explained