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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...