Hi,
I have a problem where splunkd services does not start at reboot of the server. The startup type is set to automatic. Can't find any error messages on this. Does anyone have any insight on this?
Wendy
Try this to find out more information about boot:
$SPLUNK_HOME/bin/splunk display boot-start
If this is the output:
Init script is not installed (checked: /etc/init.d/splunk).
Init script is not configured to run at boot.
Run this:
$SPLUNK_HOME/bin/splunk --enable boot-start
HTH.
Hi ddrillic , any thoughts to resolve the issue on windows, in this scenario when "splunk display boot-start" command is giving you the correct output ..
Hi, even we are facing the same issue but the output is fine when I run the command as shown below, can you please tell me by your exp what could be the cause for this. also we did setup the splunkd service startup type to be automatic.
E:\Program Files\Splunk\bin>splunk display boot-start
Windows services installed.
Windows services are configured to run at boot.
I think you mean ".../splunk enable boot-start"
And yes, I don't understand why this doesn't happen as part of the install - at the least it should be an option.
It needs root or sudo root permissions and therefore it's tricky to have it as part of the install (at least on linux).
Oh and for Windows this applies (taken from docs.splunk.com):
By default, Splunk starts automatically when you start your Windows machine. You can configure the Splunk processes (splunkd and splunkweb) to start manually from the Windows Services control panel.
Thank you for this response, it was exactly what I needed. I don't understand why this wasn't done as part of the install.