In Cluster mode, on Linux REDHAT 8 , (version NIFI 1.26), we have an error when we are trying to launch NIFI in service mode with command: systemctl start nifi.service.
user to execute systemctl : root
first script executed by systemctl (start) : /etc/rc.d/init.d/nifi
In this script (line 28) will have to execute command : /install_directory/nifi/bin/nifi.sh
Script nifi.sh can be launched by everyone
-rwxrwxr-x. 1 user usrgroup vy9 17308 Jul 24 10:49 nifi.sh
In the journalctl log we have this trace:
Oct 22 10:53:37 Serveur_Name nifi[110953]: /etc/rc.d/init.d/nifi: line 28: /install_directory/nifi/bin/nifi.sh: Permission denied
Oct 22 10:53:37 Serveur_Name systemd[1]: nifi.service: Control process exited, code=exited status=126
Oct 22 10:53:37 Serveur_Name systemd[1]: nifi.service: Failed with result 'exit-code'.
I don't know which is wrong ...