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/EXECRunning 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
Aria Operations 8.18.x
Incorrect permissions on /etc/init.d or /etc/rc.d/init.d
/etc/init.d from /etc/rc.d/init.d./etc/init.d from /etc/rc.d/init.d./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:
root:chmod 755 /etc/init.dsudo -u arcuser cat /etc/init.d/ucp-salt-minion | head -n 1salt-minion service:systemctl restart ucp-salt-minionsystemctl status ucp-salt-minion