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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...