Kibana not running in background in unix


(srinivas m) #1

I am using kibana 4.3.1 on unix host.
I have started Kibana from the install directory: bin/kibana.

But when I close my current session of unix box or connection is lost kibana is not running in background. It is getting.

How do we run kibana in background and find the pid using ps -ef | grep kibana ??


(Magnus Bäck) #2

Kibana isn't different from any other service. Run it via an init script, systemd, Upstart, or whatever your OS recommends. If you install the RPM or the Debian package this is taken care of.


(srinivas m) #3

I started using the below command:
nohup ./kibana > /dev/null 2>&1 &

But when I do an ps -ef | grep kibana I cannot find any kibana process running


(Magnus Bäck) #4

Don't use nohup. Again, use an init script, systemd, Upstart, or whatever your operating system recommends. If you're planning on using this seriously don't take any shortcuts like nohup.

Still, Kibana should be visible in the process list. Perhaps it isn't starting up okay?


(srinivas m) #5

It is starting up when started through nohup. I am able to see the UI.
But its not shown in grep kibana.

I am able to see below process for the user which is starting kibana : ps -ef | grep -u user
user 23101 1 0 Mar01 ? 00:21:23 ./../node/bin/node ./../src/cli


(Magnus Bäck) #6

I am able to see below process for the user which is starting kibana : ps -ef | grep -u user
user 23101 1 0 Mar01 ? 00:21:23 ./../node/bin/node ./../src/cli

Yeah, that looks like Kibana.


(Joe Fleming) #7

It's not going to show up as kibana in the process list, because it's not a real binary, it's a node application. bin/kibana is just a bash script that started up the node process, so it'll show up in your process list as node.


(system) #8