All Apps and Add-ons

Splunk Add-on for Unix and Linux: What do I do if I get "/bin/splunk: No such file or directory" using the ./setup.sh command?

josefa123
Explorer

First, I install it on ubuntu server. When I use the command ./setup.sh this is what happens.

alt text

I don't know what should I do next. I already searched for different websites, but still I got no luck. If anyone could help, it would be so much appreciated.

0 Karma

ColinCH
Path Finder

http://docs.splunk.com/Documentation/UnixAddOn/5.2.3/User/Enabledataandscriptedinputs#Enable_the_dat...

Worked for me: $SPLUNK_HOME/bin/splunk cmd $SPLUNK_HOME/etc/apps/Splunk_TA_nix/bin/setup.sh

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

It looks like somebody Symlinked the splunk binary to the /bin folder.

Run this command:

sudo ln -s /opt/splunk/bin/splunk /bin/splunk

And then rerun the script.

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

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...