Deployment Architecture

Why am I unable to execute command "splunk reload deploy-server"? I'm getting error "bash: splunk: command not found".

satya2p
Path Finder
[satya_37@ip-10-0-0-213 bin]$ splunk reload deploy-server
-bash: splunk: command not found
0 Karma

richgalloway
SplunkTrust
SplunkTrust

The message indicates your shell doesn't know where splunk is on your system. Try

$SPLUNK_HOME/bin/splunk reload deploy-server

or

/opt/splunk/bin/splunk reload deploy-server

and consider adding /opt/splunk/bin to your PATH.

---
If this reply helps you, Karma would be appreciated.

justinatpnnl
Communicator

Specifying the path like this should work for you. Also, it looks like you are already in the bin directory, in which case you just need to prepend a ./ in front of the command to tell it to look in the current directory for the splunk command. Try:

./splunk reload deploy-server

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 ...