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!

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 ...