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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...