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
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...