We have previously set up ELKStack and it has worked without error for several weeks but since yesterday we cannot start ElasticSearch. Logstash, Filebeat and Kibana works like they should.
But when we try to start ES we get an instant error saying "\Common was unexpected at this time." in the cmd prompt.
We have not made any conscious changes to any part of the configuration and we suspect a Windows update is to blame.
Could this be it and if so, what should we do to fix it?
Hi,
I had the same issue today, but for me it wasnt really caused by the Java version.
In my PATH environment variable on windows i had something like "C:\Program Files (x86)\Common Files\Oracle\Java\javapath" to point to the java version.
After replacing this with the direct path to the JRE bin directory, it started fine for me even with Java 8u172.
Thanks Tom, I had the same problem after updating to Java 8 r171. I had the same path in my system environment variables, but found java.exe in my windows folder. So I simply deleted C:\Program Files (x86)\Common Files\Oracle\Java\javapath from my PATH and elasticsearch fires up now.
Annoyingly I arrived at this situation because I didn't have a recent enough version of Java for elastic search initially!
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.