Splunk Search

SPLUNK BOOT

dani9
Explorer

The value of env var SPLUNK_OS_USER, "splunk", does not match any user on this system;
Error: Success

This command can only be run by bootstart user.

WHAT I NEED TO RESOLVE IT?

Tags (1)
0 Karma

ivanreis
Builder

When splunk is installed, a user should be created to run splunkd service. By default installation the user is "splunk", so in order to fix the issue, please create a user "splunk" in your environment.
On linux run:
useradd splunk
groupadd splunk

chown -R splunk:splunk $SPLUNK_HOME

Check this document for further information -> https://docs.splunk.com/Documentation/Splunk/8.0.0/Installation/RunSplunkasadifferentornon-rootuser

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...