Unable to start service using systemctl in RHEL 8
Issue
-
Unable to start service using systemctl. This same service with same configuration works fine in RHEL 7 but do not work in RHEL 8.
Oct 05 18:30:09 example.com systemd[1]: Starting CLJ... Oct 05 18:30:09 example.com systemd[1027127]: clj.service: Failed to execute command: Permission denied Oct 05 18:30:09 example.com systemd[1027127]: clj.service: Failed at step EXEC spawning /path/test.sh: Permission denied Oct 05 18:30:09 example.com systemd[1]: clj.service: Control process exited, code=exited status=203 Oct 05 18:30:09 example.com systemd[1]: clj.service: Failed with result 'exit-code'. Oct 05 18:30:09 example.com systemd[1]: Failed to start CLJ.
Environment
- Red Hat Enterprise Linux (RHEL) 8
- Systemd
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.