Elasticsearch erroring on RaspberryPi 4

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

1 Like

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.

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