Universal Forwarder RHEL 8 or 9 when using systemctl
Error: Failed to start Splunk.service: Unit splunk.service failed to load correctly. Please adjust. Correct and reload service manager: Device or resource busy
Since this is not yet reproducible on other Linux distros/versions, it might be related to the newer systemd version (252) in RHEL 9
ROOT CAUSE - There are two issues here:
When using ./bin/splunk To start/stop the splunk service, it checks if the unit file is the latest; if not, regenerate the unit file. Unfortunately, one check is wrong: check two lines of “ExecStartPost=” in the unit file. However, for some new Linux distros/versions, such as RHEL 9, their cgroup version is v2, so only one “ExecStartPost=” is expected.
When the Splunk unit file is regenerated, systemctl daemon-reload is not called automatically, so that systemctl start splunk fails.
RHEL 9.2 box, reproduce this issue.
Error reading information on the service splunk: No such file or directory
Splunk Engineering has fixed both issues, changed the code, and verified it with RHEL 9.
Upgrade to Splunk v9.0.8, v9.1.3 & v9.2.0, or the latest Splunk version.
There are two possible workarounds.
1. everything will work as expected when using a splunk account
i.e., using '/opt/splunkforwarder/bin/splunk start|stop|restart' without using sudo", it will call systemd to perform the actions.
2 Always try systemctl start/stop splunk other than ./bin/splunk start/stop
When this issue happens, try systemctl daemon-reload and then systemctl start splunk
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
30-Sep-2026
|
Initial Release |