# How to stop kibana in RHEL

**URL:** <https://discuss.elastic.co/t/how-to-stop-kibana-in-rhel/83494>\
**Category:** Kibana\
**Created:** [April 25, 2017, 6:04am UTC](https://discuss.elastic.co/t/how-to-stop-kibana-in-rhel/83494 "2017-04-25T06:04:32Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![bvnages](https://avatars.discourse-cdn.com/v4/letter/b/ecccb3/32.png) [@bvnages](https://discuss.elastic.co/u/bvnages)\
**Post date:** [April 25, 2017, 6:04am UTC](https://discuss.elastic.co/t/how-to-stop-kibana-in-rhel/83494/1 "2017-04-25T06:04:32Z")

</div>

How to stop kibana .  
We are download tar file and unzipped after i will run kibana.  
cd kibana/bin  
./kibana

Above start kibana.

But how to stop kibana.  
Could you please tell me.

---

<div class="post-metadata">

**Author:** ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)\
**Post date:** [April 25, 2017, 6:13am UTC](https://discuss.elastic.co/t/how-to-stop-kibana-in-rhel/83494/2 "2017-04-25T06:13:43Z")

</div>

ctrl+c would normally stop it.

you could also find the process `ps -af | grep kibana` and then kill it `kill KIBANAPID`

---

<div class="post-metadata">

**Author:** ![bvnages](https://avatars.discourse-cdn.com/v4/letter/b/ecccb3/32.png) [@bvnages](https://discuss.elastic.co/u/bvnages)\
**Post date:** [April 25, 2017, 6:16am UTC](https://discuss.elastic.co/t/how-to-stop-kibana-in-rhel/83494/3 "2017-04-25T06:16:05Z")

</div>

Thanks ,

Some times not stoping. I will shows already runing.  
ps -af | grep kibana

above one i am already tried. But not stoping.

---

<div class="post-metadata">

**Author:** ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)\
**Post date:** [April 25, 2017, 6:18am UTC](https://discuss.elastic.co/t/how-to-stop-kibana-in-rhel/83494/4 "2017-04-25T06:18:13Z")

</div>

ps will just list your processes ... you need to find the PID of the right one and then send it a signal to stop with kill command.

---

<div class="post-metadata">

**Author:** ![bvnages](https://avatars.discourse-cdn.com/v4/letter/b/ecccb3/32.png) [@bvnages](https://discuss.elastic.co/u/bvnages)\
**Post date:** [April 25, 2017, 6:19am UTC](https://discuss.elastic.co/t/how-to-stop-kibana-in-rhel/83494/5 "2017-04-25T06:19:22Z")

</div>

Yes , I tried , But its not working

---

<div class="post-metadata">

**Author:** ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)\
**Post date:** [April 25, 2017, 6:19am UTC](https://discuss.elastic.co/t/how-to-stop-kibana-in-rhel/83494/6 "2017-04-25T06:19:42Z")

</div>

assuming you are using red hat linux, you might be interested in this guide:  
[https://www.elastic.co/guide/en/kibana/current/rpm.html](https://www.elastic.co/guide/en/kibana/current/rpm.html)

on how to use rpm modules, which will also create a service for you and then you can start/stop kibana just like you do other services with

```auto
sudo -i service kibana start
sudo -i service kibana stop

```

---

<div class="post-metadata">

**Author:** ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)\
**Post date:** [April 25, 2017, 6:20am UTC](https://discuss.elastic.co/t/how-to-stop-kibana-in-rhel/83494/7 "2017-04-25T06:20:31Z")

</div>

what do you mean its not working ? output from your command ? if kill is not working that's a problem with your linux i guess.

---

<div class="post-metadata">

**Author:** ![bvnages](https://avatars.discourse-cdn.com/v4/letter/b/ecccb3/32.png) [@bvnages](https://discuss.elastic.co/u/bvnages)\
**Post date:** [April 25, 2017, 6:24am UTC](https://discuss.elastic.co/t/how-to-stop-kibana-in-rhel/83494/8 "2017-04-25T06:24:35Z")

</div>

i know how to create rpm.  
But my manager saying you need to install tar file only.some time we need to backup easily.  
thats why i am using tar file only.

I can use kill command it will showing working fine.But i run it again it showing already runing.

that s the reason.  
Could you please help me.

---

<div class="post-metadata">

**Author:** ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)\
**Post date:** [April 25, 2017, 6:38am UTC](https://discuss.elastic.co/t/how-to-stop-kibana-in-rhel/83494/9 "2017-04-25T06:38:44Z")

</div>

after you kill it will it still show up in ps -af ?

---

<div class="post-metadata">

**Author:** ![bvnages](https://avatars.discourse-cdn.com/v4/letter/b/ecccb3/32.png) [@bvnages](https://discuss.elastic.co/u/bvnages)\
**Post date:** [April 25, 2017, 6:40am UTC](https://discuss.elastic.co/t/how-to-stop-kibana-in-rhel/83494/10 "2017-04-25T06:40:33Z")

</div>

yes , but no process is runing it showing.  
after kill .  
we need to start again kibana. it will showing its already runing.

---

<div class="post-metadata">

**Author:** ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)\
**Post date:** [April 25, 2017, 6:42am UTC](https://discuss.elastic.co/t/how-to-stop-kibana-in-rhel/83494/11 "2017-04-25T06:42:21Z")

</div>

i don't understand you well ..... but if `ps -af` doesn't show any kibana process after you kill it .... then its obviously not running anymore.

maybe something else using its port ? `netstat -natp | grep 5601` do you see anything using that port ? kill that PID.

also `kill -9 PID` will kill the process even if its not responding.

---

<div class="post-metadata">

**Author:** ![bvnages](https://avatars.discourse-cdn.com/v4/letter/b/ecccb3/32.png) [@bvnages](https://discuss.elastic.co/u/bvnages)\
**Post date:** [April 25, 2017, 6:44am UTC](https://discuss.elastic.co/t/how-to-stop-kibana-in-rhel/83494/12 "2017-04-25T06:44:33Z")

</div>

ps -af

above command i runned. it will showing bellow.

UID PID PPID C STIME TTY TIME CMD  
venkata+ 2741 1 1 04:56 pts/0 00:01:03 /bin/java -Xms2g -Xmx2g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOc  
venkata+ 2849 1 0 04:57 pts/0 00:00:31 /bin/java -Xms256m -Xmx1g -Djava.awt.headless=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiating  
root 3036 2655 0 04:58 pts/0 00:00:00 sudo su -  
root 3067 3036 0 04:58 pts/0 00:00:00 su -  
root 3069 3067 0 04:58 pts/0 00:00:00 -bash  
root 3147 3069 1 04:59 pts/0 00:01:50 ./../node/bin/node --no-warnings ./../src/cli  
root 3424 1 0 05:01 pts/1 00:00:54 //bin/java -Djava.util.logging.config.file=/apache-tomcat-8.5.13/conf/logging.properties -Dj  
root 3680 3310 0 05:02 pts/1 00:00:00 sudo ./logstash -f data.json  
root 3681 3680 3 05:02 pts/1 00:03:35 /bin/java -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatin  
root 4691 4481 0 05:11 pts/2 00:00:00 sudo ./logstash -f /elk/logstash/logstash-5.2.0/config/github.conf  
root 4697 4691 3 05:11 pts/2 00:03:18 /bin/java -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatin  
root 5032 4969 0 05:13 pts/3 00:00:00 sudo su -  
root 5046 5032 0 05:13 pts/3 00:00:00 su -  
root 5052 5046 0 05:13 pts/3 00:00:00 -bash  
root 14176 5052 0 06:42 pts/3 00:00:00 ps -af

above output not showing kibana.  
But kibana runing in my linux box.

---

<div class="post-metadata">

**Author:** ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)\
**Post date:** [April 25, 2017, 8:55am UTC](https://discuss.elastic.co/t/how-to-stop-kibana-in-rhel/83494/13 "2017-04-25T08:55:36Z")

</div>

> [@bvnages](#):
>
> root 3147 3069 1 04:59 pts/0 00:01:50 ./../node/bin/node --no-warnings ./../src/cli

this one is kibana

---

<div class="post-metadata">

**Author:** ![bvnages](https://avatars.discourse-cdn.com/v4/letter/b/ecccb3/32.png) [@bvnages](https://discuss.elastic.co/u/bvnages)\
**Post date:** [April 25, 2017, 10:24am UTC](https://discuss.elastic.co/t/how-to-stop-kibana-in-rhel/83494/14 "2017-04-25T10:24:24Z")

</div>

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 23, 2017, 10:30am UTC](https://discuss.elastic.co/t/how-to-stop-kibana-in-rhel/83494/15 "2017-05-23T10:30:51Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
