Security

Resolve this Error on starting Splunk on UBUNTU?

ravneet009
Engager

On starting Splunk on UBUNTU, I am getting this error:

./splunk: 1: Syntax error: "(" unexpected

Can anyone help? I used command ' sudo ./splunk start' to start it.

Already installed Splunk on another Ubuntu machine and it is working fine there.

Tags (1)

Pardeep
New Member

I downloaded splunk-5.0.1-143156-Linux-x86_64.tgz and it is working fine on Linux os version -

Linux ip-10-212-65-213 3.2.0-31-virtual #50-Ubuntu SMP Fri Sep 7 16:36:36 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

But same package is not working (Giving above error) on Linux Os version :

Linux domU-12-31-39-06-24-A8 3.0.0-13-virtual #22-Ubuntu SMP Wed Nov 2 17:10:19 UTC 2011 i686 i686 i386 GNU/Linux

Please suggest splunk package which is compatible with i686 Linux version.

0 Karma

Ayn
Legend

You're trying to use a 64-bit package on a 32-bit system. Use the 32-bit package instead.

0 Karma

aad
Loves-to-Learn

Thank you for the answer! I encountered the same error - re-visited and notices 32-bit into 64-bit system

0 Karma

mk_cyber_spunk
Observer

hey, how did you solve it then.

i am having the same issue. is there a way to switch to 32? i am very very new in this

0 Karma

jonuwz
Influencer

On both systems run :

uname -a

Its possible one server is 32 bit and the other is 64 bit, and you've installed the wrong package on one of them ( The output on a 32bit system will not contain the text x86_64 )

(thats assuming its never started though)

You can also run :

ldd /opt/splunk/bin/splunk

on both systems to look for differences

Get Updates on the Splunk Community!

Congratulations to the 2025-2026 SplunkTrust!

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

[Puzzles] Solve, Learn, Repeat: Nested loops in Event Conversion

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Your Guide to Splunk Digital Experience Monitoring

A flawless digital experience isn't just an advantage, it's key to customer loyalty and business success. But ...