Deployment Architecture

-bash: /opt/splunk/bin/splunk: No such file or directory

marcogallotta
Explorer

When I try start splunk without sudo (or even logged in as root), I get a "no such file or directory" error. It works with sudo, but then ps shows nothing's running and I can't access it through the web portal.

$ /opt/splunk/bin/splunk start
-bash: /opt/splunk/bin/splunk: No such file or directory
$ sudo /opt/splunk/bin/splunk start
$ ps aux | grep splunk
marco    25963  0.0  0.1   7972   900 pts/0    S+   22:58   0:00 grep splunk

Any ideas what's up? I've accepted the license (sudo splunk start --accept-license) and changed the port to 8001 (sudo ./splunk set web-port 8001).

Tags (3)
1 Solution

marcogallotta
Explorer

Solved it! I had installed the 32 bit deb on a 64 bit server. 😕

View solution in original post

marcogallotta
Explorer

Solved it! I had installed the 32 bit deb on a 64 bit server. 😕

vugo
Engager

Why hasn't this been resolved though? It would take no time to fix that issue and update the text message to say that you are using 32 bit on 64 server

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