# Kibana shuts itseself

**URL:** https://discuss.elastic.co/t/kibana-shuts-itseself/56121
**Category:** Kibana
**Created:** [July 21, 2016, 5:11pm UTC](https://discuss.elastic.co/t/kibana-shuts-itseself/56121 "2016-07-21T17:11:00Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![bishaka](https://avatars.discourse-cdn.com/v4/letter/b/e480ec/32.png) [@bishaka](https://discuss.elastic.co/u/bishaka)
#### Post date: [July 21, 2016, 5:11pm UTC](https://discuss.elastic.co/t/kibana-shuts-itseself/56121/1 "2016-07-21T17:11:00Z")

</div>

Hi,

Why does Kibana shuts itself down after a while even when I start it as a service?

I used ./bin/kibana & to run it all times in the background unless shut down by the PID #.

I am using linux machine

How can I make it so that it runs in background at all times?

---

<div class="post-metadata">

### Author: ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)
#### Post date: [July 21, 2016, 7:01pm UTC](https://discuss.elastic.co/t/kibana-shuts-itseself/56121/2 "2016-07-21T19:01:57Z")

</div>

Hi Bishaka,

What version of Kibana are you running?

Are there any log messages either in `/var/log/kibana` or `journalctl -u kibana.service` ?

Or if you start it with `./bin/kibana` the last output should be in your console. Can you paste that here?

Thanks,  
Lee

---

<div class="post-metadata">

### Author: ![bishaka](https://avatars.discourse-cdn.com/v4/letter/b/e480ec/32.png) [@bishaka](https://discuss.elastic.co/u/bishaka)
#### Post date: [July 21, 2016, 7:53pm UTC](https://discuss.elastic.co/t/kibana-shuts-itseself/56121/3 "2016-07-21T19:53:34Z")

</div>

I am running Kibana Version 4.4.1

When I start kibana, I get the following output:

log [12:50:32.119] [info][status][plugin:kibana] Status changed from uninitialized to green - Ready  
log [12:50:32.144] [info][status][plugin:elasticsearch] Status changed from uninitialized to yellow - Waiting for Elasticsearch  
log [12:50:32.154] [info][status][plugin:kbn\_vislib\_vis\_types] Status changed from uninitialized to green - Ready  
log [12:50:32.161] [info][status][plugin:markdown\_vis] Status changed from uninitialized to green - Ready  
log [12:50:32.166] [info][status][plugin:metric\_vis] Status changed from uninitialized to green - Ready  
log [12:50:32.175] [info][status][plugin:spyModes] Status changed from uninitialized to green - Ready  
log [12:50:32.178] [info][status][plugin:statusPage] Status changed from uninitialized to green - Ready  
log [12:50:32.181] [info][status][plugin:elasticsearch] Status changed from yellow to green - Kibana index ready  
log [12:50:32.182] [info][status][plugin:table\_vis] Status changed from uninitialized to green - Ready  
log [12:50:32.198] [info][listening] Server running at [http://0.0.0.0:5601](http://0.0.0.0:5601)

I do not see any messages under /var/log/kibana

---

<div class="post-metadata">

### Author: ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)
#### Post date: [July 21, 2016, 9:10pm UTC](https://discuss.elastic.co/t/kibana-shuts-itseself/56121/4 "2016-07-21T21:10:16Z")

</div>

What are the last messages you see when Kibana "shuts itself down"? An error or reason?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [July 21, 2016, 9:16pm UTC](https://discuss.elastic.co/t/kibana-shuts-itseself/56121/5 "2016-07-21T21:16:21Z")

</div>

Wh not use the packaged installer and the service file?

---

<div class="post-metadata">

### Author: ![xiaozhuqq48](https://avatars.discourse-cdn.com/v4/letter/x/97f17d/32.png) [@xiaozhuqq48](https://discuss.elastic.co/u/xiaozhuqq48)
#### Post date: [July 24, 2016, 3:43am UTC](https://discuss.elastic.co/t/kibana-shuts-itseself/56121/6 "2016-07-24T03:43:32Z")

</div>

I have the same problem. It happened dozens of times.  
I use "bin/kibana &" to start.  
It shut down itself , and i have nothing new from the log file. The last one is something like "log [12:50:32.198] [info][listening] Server running at [http://0.0.0.0:5601](http://0.0.0.0:5601)".  
Hope someone could help.

---

<div class="post-metadata">

### Author: ![xiaozhuqq48](https://avatars.discourse-cdn.com/v4/letter/x/97f17d/32.png) [@xiaozhuqq48](https://discuss.elastic.co/u/xiaozhuqq48)
#### Post date: [July 24, 2016, 3:50am UTC](https://discuss.elastic.co/t/kibana-shuts-itseself/56121/7 "2016-07-24T03:50:44Z")

</div>

What's more , when I set logging.verbose: true, the last one of the output is something like "\*\*\*\*\* statusCode : 200 \*\*\*".  
I don't think it's unusual.

---

<div class="post-metadata">

### Author: ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)
#### Post date: [July 24, 2016, 4:36pm UTC](https://discuss.elastic.co/t/kibana-shuts-itseself/56121/8 "2016-07-24T16:36:16Z")

</div>

Could you both reply with details of your OS, Kibana version, any plugins installed, and hardware (bare metal or VM, RAM, CPUs, etc).

Also, could you check `/var/log/syslog` or `/var/log/messages` (depending on OS) to see if there's any messages there regarding Kibana.

1. Do you have any estimates for how long Kibana is up before it shuts down?
2. Is this a production Kibana installation, demo, development?
3. Are there many users accessing this Kibana?
4. Is there someone using it at the time when you think Kibana shuts down? If so, what is the user doing?

Could you also try running Kibana something like this;

`time bin/kibana; date`

so that if Kibana exits we can see how long it was up and the exact timestamp when it exited. This might make it easier to look for anything around that time in logs.

Thanks,  
Lee

---

<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: [July 6, 2017, 1:44pm UTC](https://discuss.elastic.co/t/kibana-shuts-itseself/56121/9 "2017-07-06T13:44:29Z")

</div>


