Elasticsearch 7.2.* is not detecting its own JVM java binary on CentOS 6.* or Ubuntu Trusty 14.04 #45542
Labels
>bug
:Delivery/Packaging
RPM and deb packaging, tar and zip archives, shell and batch scripts
Team:Delivery
Meta label for Delivery team
Elasticsearch version:
JVM version:
OS version:
Description of the problem including expected versus actual behavior:
Elasticsearch 7.2.* is not detecting its own JVM when starting the service.
Steps to reproduce:
Once
Elasticsearch
is installed, then when trying to start it:Elasticsearch 7.2.* is not detecting its own JVM when starting the service, implying to get an error message:
Solution
As
Elasticsearch
says in the official documentation, there is no need to have JVM installed in the machine where runningElasticsearch
because it has an already installed JVM inElasticsearch
home folder. In this case the home folder isWe have to create a symbolic link to
Java
binary as follows:Then we can detect the changes by checking
Java
version:Provide logs (if relevant):
Not Needed in this case
.Referecnes
Official Docs
: https://www.elastic.co/guide/en/elasticsearch/reference/current/setup.htmlThe text was updated successfully, but these errors were encountered: