- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Cannot Execute Binary File Linux Virtual Machine
I'm running Linux Mint in a VM. When I run ./splunk start in splunk/bin, I get:
bash: ./splunk: cannot executre binary file.
Do I need to install a specific form of java? or something?
Thanks!
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This was my problem and this had the answser. I forgot that I was working with a 'trial' Ubuntu 32 bit system and mistakenly installed the 64 bit UF. Easy fix, just download the right one and unzip the thing & startup. I'm thankful Splunk makes it this easy to fix my mistakes. Out of hundreds of Splunk forwarder installs, this has to be the one 32 bit one off.. bleh.
uname -a is your friend 🙂
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It appears the splunk executable is not correct for this OS. Can you try "file ./splunk" ?
You should get something like this (this is 64bit, but similar):
# file ./splunk
./splunk: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jamshed,
Since you said earlier you are using 32bit Linux, you should have a 32 bit splunk executable, but yours is 64 bit. This could be your problem. (i.e. you need to download the 32 bit splunk install archive if you have 32 bit Linux).
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi alanfinlay!
Yes I did that and got
./splunk: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.0, stripped
This seems to be correct. Should I try a different distro of linux? If so, what?
Thanks!
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Make sure that you have the good binaries ( linux build and 64 or 32 bit).
Otherwise it may be a system dependancy. try ./splunk start --debug
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am running linux mint 32. Everything seems to be fine on it, and --debug gives the same error.
I ran as sudo and got:
./splunk: 1: ./splunk: Syntax error: "(" unexpected
