Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to stop kibana (not as a service)?

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 ?

like image 344
dagatsoin Avatar asked Nov 23 '15 23:11

dagatsoin


2 Answers

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.

like image 118
Lodewyk Avatar answered Oct 16 '22 13:10

Lodewyk


You try to kill your grep process, not kibana service who is not running currently.

like image 2
Calumah Avatar answered Oct 16 '22 14:10

Calumah