If /opt/splunk/bin/splunk doesn't exist, then perhaps the installation was not successful.
all my test / dev servers are on Ubuntu 14 and no problem anywhere. I start them as user
splunk which was created during install:
if this is not working follow @richgalloway and try to re-install Splunk
hello my dear , if are sure you are install your splunk well on opt directory
go to bin directory like this: cd /opt/splunk/bin/
now run this command from your bin directory: ./splunk start or ./splunk restart
When you first install splunk, it doesnt install it as a system server. This means a 'service splunk start' will not work. The first time you start Splunk, you need to run the command:
After this starts, if you want to be able to run this via services, you'll need to do a:
/opt/splunk/bin/splunk enable boot-start
That will enable the neccesary service and runtime commands for Linux. After this you can do a service splunk re/start/status.
fwiw I tried those commands and they failed...
what wound up working is to go to the folder /opt/splunk/bin and from there typing this command: sudo ./splunk start (note the ./ )
@MuS in other words they weren't in the right directory...
Looking at above comment, didnt do the CD prior to starting