This is probably a very easy question. I'm running Kibana on a linux VM. I started Kibana with the following command so it won't exit when I kill my SSH session:
sh kibana-4.0.1-linux-x64/bin/kibana >> /dev/null &
Now I'm trying to upgrade to 4.1 so I need to kill the current instance and start the new one. Any idea how to do that?
That won't do. The process will be killed when your shell terminates. To run Kibana in the background you should start it like a daemon. Consult the documentation of your Linux distribution.
Now I'm trying to upgrade to 4.1 so I need to kill the current instance and start the new one. Any idea how to do that?
You can for example find the pid of the process in the output of ps aux and pass the pid to kill.
The command that I posted actually does work for me for whatever reason. When I exit ssh Kibana is still running and has been for a few days.
I tried ps aux but didn't see kibana in there. I did see a bunch of kthread and kworker ones and the following one:
17545 0.0 0.0 1073340 0 ? S Jun23 0:57 ./../node/bin/node ./../src/bin/kibana.js
That's surprising. Don't rely on it. If you want to run Kibana all the time you should start it as a daemon.
I tried ps aux but didn't see kibana in there. I did see a bunch of kthread and kworker ones and the following one:
17545 0.0 0.0 1073340 0 ? S Jun23 0:57 ./../node/bin/node ./../src/bin/kibana.js
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.