duniter-gchange / gchange-pod

A Ğchange pod, for data storage
GNU Affero General Public License v3.0
7 stars 6 forks source link

Unrecognized VM option 'UseParNewGC' #11

Open zicmama opened 4 years ago

zicmama commented 4 years ago

trying to install

but with on debian buster

sudo apt-get install openjdk-11-jre
./elasticsearch
Unrecognized VM option 'UseParNewGC'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Is it because of JRE v11?

blavenie commented 4 years ago

Is it because of JRE v11? Probably. You can try:

  • to remove this options, from all Elasticsearch scripts
  • to install a JDK 1.8

Let me know

blavenie commented 4 years ago

@zicmama Alors ? :)

zicmama commented 4 years ago

Yes comment in ./elasticsearch.in.sh

# ES_GC_OPTS="$ES_GC_OPTS -XX:+UseParNewGC"

let it run, do you see it?

else than redirecting output in log file, is there a monitoring port or service? gchange-pod script can be used to add to INITV or systemd?

blavenie commented 4 years ago

else than redirecting output in log file, is there a monitoring port or service? gchange-pod script can be used to add to INITV or systemd?

Please try to get this info from the ElacticSearch documentation. Ghange Pod is just a standard ES v2.4 installation...