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

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...