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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...