Installation

Why is there an error when installing splunkforwarder?

splunkuseramit
Engager

hi,

when i am trying to install splunkforwarder getting error. Please help me.

Linux machine: root@client1:/opt/splunkforwarder/bin# uname -r
4.19.0-18-cloud-amd64

package:

splunkforwarder-8.2.3-cd0848707637-Linux-armv8.tgz

error:

root@client1:/opt# cd splunkforwarder
root@client1:/opt/splunkforwarder# cd bin/
root@client1:/opt/splunkforwarder/bin# ./splunk start --accept-license
-bash: ./splunk: cannot execute binary file: Exec format error
root@client1:/opt/splunkforwarder/bin# ./splunk start
-bash: ./splunk: cannot execute binary file: Exec format error
root@client1:/opt/splunkforwarder/bin# ./splunkd start
-bash: ./splunkd: cannot execute binary file: Exec format error

Labels (1)
Tags (1)
0 Karma
1 Solution

scelikok
SplunkTrust
SplunkTrust

Hi @splunkuseramit,

You should use splunkforwarder-8.2.3-cd0848707637-Linux-x86_64.tgz package.

wget -O splunkforwarder-8.2.3-cd0848707637-Linux-x86_64.tgz 'https://download.splunk.com/products/universalforwarder/releases/8.2.3/linux/splunkforwarder-8.2.3-c...

 

If this reply helps you an upvote and "Accept as Solution" is appreciated.

View solution in original post

splunkuseramit
Engager

hi, 

thanks so much. your suggestion is very very good to solve this issue. 

scelikok
SplunkTrust
SplunkTrust

Hi @splunkuseramit,

You should use splunkforwarder-8.2.3-cd0848707637-Linux-x86_64.tgz package.

wget -O splunkforwarder-8.2.3-cd0848707637-Linux-x86_64.tgz 'https://download.splunk.com/products/universalforwarder/releases/8.2.3/linux/splunkforwarder-8.2.3-c...

 

If this reply helps you an upvote and "Accept as Solution" is appreciated.

dhotlosz
Explorer

I'm seeing this error on splunk 9.0.4

Is the a newer version to try?

bash: /opt/splunkforwarder/bin/splunk: cannot execute binary file: Exec format error

splunkforwarder-9.0.4-de405f4a7979-Linux-armv8.tgz -

Thanks

Dave

 

0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @dhotlosz,

You are getting errors because of the wrong operating system installation file. You should reinstall with a package that is compatible with your operating system.  If your system has Intel or AMD CPU you should use the 64-bit version of Linux. 

You can try below;

wget -O splunkforwarder-9.0.4-de405f4a7979-Linux-x86_64.tgz "https://download.splunk.com/products/universalforwarder/releases/9.0.4/linux/splunkforwarder-9.0.4-d...

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...