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!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...