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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...