# Kibana crashes with default installation with FreeBSD

**URL:** <https://discuss.elastic.co/t/kibana-crashes-with-default-installation-with-freebsd/98909>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [August 30, 2017, 7:23pm UTC](https://discuss.elastic.co/t/kibana-crashes-with-default-installation-with-freebsd/98909 "2017-08-30T19:23:53Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![GregTheHun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregthehun/32/21682_2.png) [@GregTheHun](https://discuss.elastic.co/u/GregTheHun)\
**Post date:** [August 30, 2017, 7:23pm UTC](https://discuss.elastic.co/t/kibana-crashes-with-default-installation-with-freebsd/98909/1 "2017-08-30T19:23:53Z")

</div>

Hello all,

There appears to be an issue and I didn't know if anybody had any experience with Kibana on FreeBSD.

Elasticsearch seems to install just fine after using the instructions with the package installer, but apparently even after being able to get a curl response from elastic. Also, setup the kibana.yml file with the only option added was "elasticsearch.url: [http://localhost:9200](http://localhost:9200)". It appears to crash everytime I start the service after doing the first onestart.

Any help would be great.

Thanks all! 😃

---

<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:** [August 30, 2017, 9:37pm UTC](https://discuss.elastic.co/t/kibana-crashes-with-default-installation-with-freebsd/98909/2 "2017-08-30T21:37:12Z")

</div>

Technically we don't support FreeBSD, but it should still work..

Providing the version of things you are using (OS, Kibana) as well as any logs would be helpful 🙂

---

<div class="post-metadata">

**Author:** ![GregTheHun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregthehun/32/21682_2.png) [@GregTheHun](https://discuss.elastic.co/u/GregTheHun)\
**Post date:** [August 31, 2017, 12:07am UTC](https://discuss.elastic.co/t/kibana-crashes-with-default-installation-with-freebsd/98909/3 "2017-08-31T00:07:24Z")

</div>

Ah, currently, I'm running FreeBSD 11.1, running Kibana 5.3.0. Copy of the last few lines of /var/log/kibana.log :

{"type":"log","@timestamp":"2017-08-26T18:37:06Z","tags":["info","optimize"],"pid":17473,"message":"Optimizing and caching bundles for kibana, timelion and status\_page. This may take a few minutes"}  
{"type":"log","@timestamp":"2017-08-26T18:37:16Z","tags":["info","optimize"],"pid":28593,"message":"Optimizing and caching bundles for kibana, timelion and status\_page. This may take a few minutes"}  
{"type":"log","@timestamp":"2017-08-26T18:38:25Z","tags":["info","optimize"],"pid":56413,"message":"Optimizing and caching bundles for kibana, timelion and status\_page. This may take a few minutes"}  
{"type":"log","@timestamp":"2017-08-26T18:38:41Z","tags":["info","optimize"],"pid":68214,"message":"Optimizing and caching bundles for kibana, timelion and status\_page. This may take a few minutes"}  
{"type":"log","@timestamp":"2017-08-26T18:42:45Z","tags":["info","optimize"],"pid":16907,"message":"Optimizing and caching bundles for kibana, timelion and status\_page. This may take a few minutes"}  
{"type":"log","@timestamp":"2017-08-26T18:43:01Z","tags":["info","optimize"],"pid":33850,"message":"Optimizing and caching bundles for kibana, timelion and status\_page. This may take a few minutes"}  
{"type":"log","@timestamp":"2017-08-26T20:52:57Z","tags":["info","optimize"],"pid":30448,"message":"Optimizing and caching bundles for kibana, timelion and status\_page. This may take a few minutes"}  
{"type":"log","@timestamp":"2017-08-26T21:02:07Z","tags":["info","optimize"],"pid":68507,"message":"Optimizing and caching bundles for kibana, timelion and status\_page. This may take a few minutes"}  
{"type":"log","@timestamp":"2017-08-26T21:27:19Z","tags":["info","optimize"],"pid":37410,"message":"Optimizing and caching bundles for kibana, timelion and status\_page. This may take a few minutes"}  
{"type":"log","@timestamp":"2017-08-27T16:59:29Z","tags":["info","optimize"],"pid":78511,"message":"Optimizing and caching bundles for kibana, timelion and status\_page. This may take a few minutes"}  
{"type":"log","@timestamp":"2017-08-27T19:53:27Z","tags":["info","optimize"],"pid":51287,"message":"Optimizing and caching bundles for kibana, timelion and status\_page. This may take a few minutes"}  
{"type":"log","@timestamp":"2017-08-27T20:07:12Z","tags":["info","optimize"],"pid":21963,"message":"Optimizing and caching bundles for kibana, timelion and status\_page. This may take a few minutes"}  
{"type":"log","@timestamp":"2017-08-27T20:07:39Z","tags":["info","optimize"],"pid":37926,"message":"Optimizing and caching bundles for kibana, timelion and status\_page. This may take a few minutes"}  
{"type":"log","@timestamp":"2017-08-27T20:07:56Z","tags":["info","optimize"],"pid":51410,"message":"Optimizing and caching bundles for kibana, timelion and status\_page. This may take a few minutes"}  
{"type":"log","@timestamp":"2017-08-27T20:08:24Z","tags":["info","optimize"],"pid":69149,"message":"Optimizing and caching bundles for kibana, timelion and status\_page. This may take a few minutes"}  
{"type":"log","@timestamp":"2017-08-27T20:08:42Z","tags":["info","optimize"],"pid":87011,"message":"Optimizing and caching bundles for kibana, timelion and status\_page. This may take a few minutes"}  
{"type":"log","@timestamp":"2017-08-27T20:09:27Z","tags":["info","optimize"],"pid":3585,"message":"Optimizing and caching bundles for kibana, timelion and status\_page. This may take a few minutes"}  
{"type":"log","@timestamp":"2017-08-30T13:14:39Z","tags":["info","optimize"],"pid":15257,"message":"Optimizing and caching bundles for kibana, timelion and status\_page. This may take a few minutes"}

Any other information needed, please feel free to ask.

---

<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:** [August 31, 2017, 12:34am UTC](https://discuss.elastic.co/t/kibana-crashes-with-default-installation-with-freebsd/98909/4 "2017-08-31T00:34:26Z")

</div>

It looks like it's being restarted pretty regularly, is there something in the OS logs that might line up with these?

---

<div class="post-metadata">

**Author:** ![GregTheHun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregthehun/32/21682_2.png) [@GregTheHun](https://discuss.elastic.co/u/GregTheHun)\
**Post date:** [August 31, 2017, 5:40pm UTC](https://discuss.elastic.co/t/kibana-crashes-with-default-installation-with-freebsd/98909/5 "2017-08-31T17:40:41Z")

</div>

This was probably my attempts at trying to restart it.

However, I don't appear to have any other logs that I can see that has any activity about Kibana at all, but if someone can point me in the right direction to look I can dump the logs here.

Thanks all! 😃

---

<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:** [August 31, 2017, 11:28pm UTC](https://discuss.elastic.co/t/kibana-crashes-with-default-installation-with-freebsd/98909/6 "2017-08-31T23:28:13Z")

</div>

So how do you know it crashes? What do you mean by crash as well?

---

<div class="post-metadata">

**Author:** ![GregTheHun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregthehun/32/21682_2.png) [@GregTheHun](https://discuss.elastic.co/u/GregTheHun)\
**Post date:** [September 1, 2017, 2:34pm UTC](https://discuss.elastic.co/t/kibana-crashes-with-default-installation-with-freebsd/98909/7 "2017-09-01T14:34:16Z")

</div>

The main reason I know it does, because not only do I not get a response from the server even if I disable it's firewall. (don't worry, this is super alpha non-prod) I also can see when I use htop that it tries to start the service as www user, but then it disappears.

---

<div class="post-metadata">

**Author:** ![GregTheHun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregthehun/32/21682_2.png) [@GregTheHun](https://discuss.elastic.co/u/GregTheHun)\
**Post date:** [September 1, 2017, 4:53pm UTC](https://discuss.elastic.co/t/kibana-crashes-with-default-installation-with-freebsd/98909/8 "2017-09-01T16:53:27Z")

</div>

From the looks of things in /var/log/messages, I'm getting this when I try "sudo service kibana restart':

Sep 1 16:43:35 freebsd kernel: pid 26735 (node), uid 80: exited on signal 6  
Sep 1 16:48:32 freebsd kernel: pid 86116 (node), uid 80: exited on signal 6

Which according to this: [https://lists.freebsd.org/pipermail/freebsd-questions/2004-April/042665.html](https://lists.freebsd.org/pipermail/freebsd-questions/2004-April/042665.html)

Means this:

Signal 6 is SIGABRT -- see /usr/include/sys/signal.h. A process dying  
with this signal is usually due to it calling the abort(3) function.  
That generally indicates that the process itself has found that some  
essential pre-requisite for correct function is not available and  
voluntarily killing itself, rather than the process being killed by  
the kernel because it ran over resource limits or looked at memory  
addresses funny or something.

So, besides kibana.yml having the elasticsearch.url being set to "[http://localhost:9200](http://localhost:9200)", what else is required after install?

---

<div class="post-metadata">

**Author:** ![GregTheHun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregthehun/32/21682_2.png) [@GregTheHun](https://discuss.elastic.co/u/GregTheHun)\
**Post date:** [September 3, 2017, 3:53am UTC](https://discuss.elastic.co/t/kibana-crashes-with-default-installation-with-freebsd/98909/9 "2017-09-03T03:53:13Z")

</div>

If there are any other logs that might be found to help with this I would be glad to present them.

Thank you all! 😃

---

<div class="post-metadata">

**Author:** ![GregTheHun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregthehun/32/21682_2.png) [@GregTheHun](https://discuss.elastic.co/u/GregTheHun)\
**Post date:** [September 13, 2017, 8:57pm UTC](https://discuss.elastic.co/t/kibana-crashes-with-default-installation-with-freebsd/98909/10 "2017-09-13T20:57:18Z")

</div>

Maybe if I took this from a different route.

If anybody has a kibana.yml configuration that works on FreeBSD that they are willing to share here, I can take a look at it and try one change at a time to see if it works out for me.

Thanks all! 😃

---

<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:** [September 13, 2017, 8:58pm UTC](https://discuss.elastic.co/t/kibana-crashes-with-default-installation-with-freebsd/98909/11 "2017-09-13T20:58:49Z")

</div>

If it runs it shouldn't really matter what OS is it.  
But what does your config look like now, minus comments?

---

<div class="post-metadata">

**Author:** ![GregTheHun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregthehun/32/21682_2.png) [@GregTheHun](https://discuss.elastic.co/u/GregTheHun)\
**Post date:** [September 14, 2017, 1:57am UTC](https://discuss.elastic.co/t/kibana-crashes-with-default-installation-with-freebsd/98909/12 "2017-09-14T01:57:52Z")

</div>

The only thing minus comments should be:

elasticsearch.url: "[http://localhost:9200](http://localhost:9200)"

There's also no firewall or anything enabled as this is a testbed.

---

<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:** [September 15, 2017, 2:25am UTC](https://discuss.elastic.co/t/kibana-crashes-with-default-installation-with-freebsd/98909/13 "2017-09-15T02:25:42Z")

</div>

> [@GregTheHun](#):
>
> The only thing minus comments should be

Is it though?

---

<div class="post-metadata">

**Author:** ![GregTheHun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregthehun/32/21682_2.png) [@GregTheHun](https://discuss.elastic.co/u/GregTheHun)\
**Post date:** [September 16, 2017, 4:41am UTC](https://discuss.elastic.co/t/kibana-crashes-with-default-installation-with-freebsd/98909/14 "2017-09-16T04:41:40Z")

</div>

Yes, it is, which is what's confusing me. I'm trying to setup a basic installation, but it doesn't appear to be working.

I made a backup of the original file and removed all other text besides the aforementioned setting that was added.

---

<div class="post-metadata">

**Author:** ![GregTheHun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregthehun/32/21682_2.png) [@GregTheHun](https://discuss.elastic.co/u/GregTheHun)\
**Post date:** [September 27, 2017, 12:07am UTC](https://discuss.elastic.co/t/kibana-crashes-with-default-installation-with-freebsd/98909/15 "2017-09-27T00:07:58Z")

</div>

Welp, I hate beating a dead horse, but I guess no one else has had experience with the problem of my kind. So, I will close this in a week if no one else responds.

Thanks anybody who helped get me along.

---

<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:** [October 25, 2017, 12:08am UTC](https://discuss.elastic.co/t/kibana-crashes-with-default-installation-with-freebsd/98909/16 "2017-10-25T00:08:01Z")

</div>

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