unable to enable/disable boot-start in splunk forwarder for RHEL6 "Red Hat Enterprise Linux Server release 6.10 (Santiago)"

Job ID: 31010938

Budget: $30 – $250 USD

Trying to installing 8.0.2.1 version of splunk UF on "Red Hat Enterprise Linux Server release 6.10 (Santiago)".

2.6.32-754.35.1.el6.x86_64

cammand:

"{{ splunk_home }}/bin/splunk enable boot-start-user {{ splunk_user }} -systemd-managed 0 --answer-yes
--auto-ports --no-prompt --accept-license"

"stderr": "execve: No such file or directory\n while running command /sbin/chkconfig", "stderr_lines": ["execve: No such file or directory", " while running command /sbin/chkconfig"],


debug mode:

fatal: [RHEL6servername]: FAILED! => {
"changed": false,
"cmd": [
"/opt/splunkforwarder/bin/splunk",
"disable",
"boot-start"
],
"delta": "0:00:00.013908",
"end": "2021-07-29 10:37:22.942779",
"invocation": {
"module_args": {
"_raw_params": "/opt/splunkforwarder/bin/splunk disable boot-start",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 8,
"start": "2021-07-29 10:37:22.928871",
"stderr": "execve: No such file or directory\\n while running command /sbin/chkconfig",
"stderr_lines": [
"execve: No such file or directory",
" while running command /sbin/chkconfig"
],
"stdout": "",
"stdout_lines": []
}
Related categories: C Programming Linux Shell Script Ubuntu Debian