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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...