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.

Labels (1)
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

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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...