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!

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

Industry Solutions for Supply Chain and OT, Amazon Use Cases, Plus More New Articles ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Enterprise Security Content Update (ESCU) | New Releases

In November, the Splunk Threat Research Team had one release of new security content via the Enterprise ...