# Elasticsearch erroring on RaspberryPi 4

**URL:** <https://discuss.elastic.co/t/elasticsearch-erroring-on-raspberrypi-4/205342>\
**Category:** Elasticsearch\
**Created:** [October 26, 2019, 9:05am UTC](https://discuss.elastic.co/t/elasticsearch-erroring-on-raspberrypi-4/205342 "2019-10-26T09:05:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bradfordaemorton](https://avatars.discourse-cdn.com/v4/letter/b/f07891/32.png) [@bradfordaemorton](https://discuss.elastic.co/u/bradfordaemorton)\
**Post date:** [October 26, 2019, 9:05am UTC](https://discuss.elastic.co/t/elasticsearch-erroring-on-raspberrypi-4/205342/1 "2019-10-26T09:05:57Z")

</div>

Hi All,

It has been some time since I have posted but I have a problem I can't resolve. I have recently purchased a Raspberry Pi 4 and have installed BroIDS to monitor my gateway traffic. Bro is working well but I wanted a way to query log data or alert in near realtime. I wanted to install elasticsearch and kibana to do this.

I installed the prerecquisites and Elasticsearch based on the install guide but constantly fails to load and exits after a few seconds.

```
pi@raspberrypi:~ $ sudo systemctl status elasticsearch.service
* elasticsearch.service - LSB: Starts elasticsearch
   Loaded: loaded (/etc/init.d/elasticsearch; generated)
   Active: active (exited) since Sat 2019-10-26 19:57:37 AEDT; 7min ago
     Docs: man:systemd-sysv-generator(8)
    Tasks: 0 (limit: 4915)
   Memory: 0B
   CGroup: /system.slice/elasticsearch.service

Oct 26 19:57:36 raspberrypi systemd[1]: Starting LSB: Starts elasticsearch...
Oct 26 19:57:37 raspberrypi elasticsearch[432]: [warning] /etc/init.d/elasticsearch: JVM flavor 'sun6' not understood
Oct 26 19:57:37 raspberrypi systemd[1]: Started LSB: Starts elasticsearch.

```

Happy to provide any other logs you may need.

Cheers,  
Brad

---

<div class="post-metadata">

**Author:** ![bradfordaemorton](https://avatars.discourse-cdn.com/v4/letter/b/f07891/32.png) [@bradfordaemorton](https://discuss.elastic.co/u/bradfordaemorton)\
**Post date:** [October 26, 2019, 9:24am UTC](https://discuss.elastic.co/t/elasticsearch-erroring-on-raspberrypi-4/205342/2 "2019-10-26T09:24:02Z")

</div>

After doing an upgrade on java I get the following error when lauching ES Any guidance would be apprecaited.

```
pi@raspberrypi:~ $ sudo /usr/share/elasticsearch/bin/elasticsearch
Unrecognized VM option 'UseParNewGC'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
```

---

<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:** [November 23, 2019, 9:30am UTC](https://discuss.elastic.co/t/elasticsearch-erroring-on-raspberrypi-4/205342/3 "2019-11-23T09:30:17Z")

</div>

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