Splunk Enterprise

Where is the splunk start commandline?

winniew13
New Member

I just install Splunk EP 6.6 on my Cne OS VM and install it b following the instruction. However, I can't start it up

due to the following

...
splunk/share/splunk/search_mrsparkle/exposed/fallback/
splunk/share/splunk/search_mrsparkle/exposed/fallback/dashboard.js
splunk/share/splunk/search_mrsparkle/exposed/fallback/dashboard.css
splunk/share/splunk/search_mrsparkle/exposed/xml/
splunk/share/splunk/search_mrsparkle/exposed/xml/print.xml
splunk/share/copyright.txt
[root@splunk opt]# cd /opt/splunk/bin
[root@splunk bin]# ls -ls
total 123564

[root@splunk opt]# cd /opt/splunk/bin
[root@splunk bin]# ls -ls
total 123564
export SPLUNK_HOME=/opt
$SPLUNK_HOME/bin/splunk start
command not found
[root@splunk bin]# splunk enable boot-start -user splunk
-bash: splunk: command not found
[root@splunk bin]# pwd
/opt/splunk/bin
[root@splunk bin]# splunk enable boot-start -user xxx
-bash: splunk: command not found
[root@splunk bin]# splunk
-bash: splunk: command not found
[root@splunk bin]#

any idea?

Tags (1)
0 Karma
1 Solution

woodcock
Esteemed Legend

Do this to update your environment variables and put the splunk bin in your PATH:

export SPLUNK_HOME=/opt/splunk
export PATH=$PATH:/opt/splunk/bin
splunk status

Or you could do full path:

/opt/splunk/bin/splunk status

Or you could use . like this:

cd /opt/splunk/bin/
./splunk status

View solution in original post

0 Karma

woodcock
Esteemed Legend

Do this to update your environment variables and put the splunk bin in your PATH:

export SPLUNK_HOME=/opt/splunk
export PATH=$PATH:/opt/splunk/bin
splunk status

Or you could do full path:

/opt/splunk/bin/splunk status

Or you could use . like this:

cd /opt/splunk/bin/
./splunk status
0 Karma

evermmoreg
Engager

My CentOS server hosted on vmware virtual machine is still throwing error even after implementing what you have just mentioned. Please help.

evermmoreg_2-1648648523916.png

evermmoreg_0-1648648126758.png

 

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...