Splunk Dev

Problem enabling boot-start with user parameter

marksnelling
Communicator

I'm trying to get splunk running as a user other than root but whenever I try the following command...

splunk enable boot-start -user splunk

I get this error...

First-time-run has not finished.  Ignore this error when previewing migration - exiting.

I can see other questions here with the same problem but none of them have been answered. Does anyone have a fix for this short of manually editing the scripts generated without specifying the user?

Tags (1)
1 Solution

mocallaghan
Engager

In order to use this command, you need to be logged in as root, since you're adding something to /etc/init.d/. To run this command, simply sudo to root, run it again and it'll install.

View solution in original post

0 Karma

mocallaghan
Engager

In order to use this command, you need to be logged in as root, since you're adding something to /etc/init.d/. To run this command, simply sudo to root, run it again and it'll install.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...