how to stop kibana (not as a service)?

dagatsoin picture dagatsoin · Nov 24, 2015 · Viewed 13.7k times · Source

I am trying to stop kibana on SSH with kill but it respawns immediatly

[email protected] [~/logstash]# ps aux | grep kibana
533      28778  0.0  0.0   9292   876 pts/2    S+   00:16   0:00 grep kibana
[email protected] [~/logstash]# kill -kill 28778
-bash: kill: (28778) - Aucun processus de ce type
[email protected] [~/logstash]# ps aux | grep kibana
533      28780  0.0  0.0   9292   876 pts/2    S+   00:16   0:00 grep kibana
[email protected] [~/logstash]# 

How do you kill this process ?

Answer

Lodewyk picture Lodewyk · Mar 7, 2016

As mentioned the output that you are seeing is from the ps aux | grep kibana command that you ran. I'm guessing you started kibana using by running the kibana scipt in the bin directory. In this case do something like this:

ps -ef | grep '.*node/bin/node.*src/cli'

Look for the line that looks something like this:

username   5989  2989  1 11:33 pts/1    00:00:05 ./../node/bin/node ./../src/cli

Then run a kill -9 5989 If you have multiple output rows make sure you kill the correct process.