Thursday, July 30, 2009

How to restart Splunk service on Ubuntu Server

Recently I installed a splunk package on one of my ubuntu servers. Everything goes well except after I restarted the server. The splunk service doesn't start automatically. So what I did is add the splunk daemon to ubuntu startup .

On ubuntu menu bar click on System --> Preferences then navigate to Startup Applications.

On Start up Applications Preferences window click on Add.


Name it as Splunk Daemon then add the command to run splunk on startup which is /opt/splunk/bin splunk start


Splunk will now start automatically everytime the server is restarted. Splunk admin page can now be access using this link - http://server-ip-address:8000.

1 comment:

Anonymous said...

As an alternative, you can simply run ./splunk enable boot-start (as root, and from the $SPLUNK_HOME/bin account)