# Error in the installation Elasticsearch process

**URL:** <https://discuss.elastic.co/t/error-in-the-installation-elasticsearch-process/328607>\
**Category:** Elasticsearch\
**Created:** [March 27, 2023, 10:49am UTC](https://discuss.elastic.co/t/error-in-the-installation-elasticsearch-process/328607 "2023-03-27T10:49:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hubert\_Homaei](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hubert_homaei/32/118979_2.png) [@Hubert\_Homaei](https://discuss.elastic.co/u/Hubert_Homaei)\
**Post date:** [March 27, 2023, 10:49am UTC](https://discuss.elastic.co/t/error-in-the-installation-elasticsearch-process/328607/1 "2023-03-27T10:49:43Z")

</div>

Hi, I wanted to install Elastic search on a local system; I checked all requirements, installed JDK, and set the variable path for java.exe. But when I execute elasticsearch.bat in CMD, I got this warning:  
`warning: ignoring JAVA_HOME=C:\Program Files\Java\jdk-20\bin\java.exe; using bundled JDK`

Also, I get this error at the end of the process:

`[2023-03-27T12:45:56,806][ERROR][o.e.i.g.GeoIpDownloader] [LAPTOP-4KS3NIJD] exception during geoip databases updateorg.elasticsearch.ElasticsearchException: not all primary shards of [.geoip_databases] index are active`

My logs are as follows:

See logs for more details.

```auto
[2023-03-27T12:45:56,843][INFO][o.e.c.r.a.AllocationService] [LAPTOP-4KS3NIJD] current.health="GREEN" message="Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[.geoip_databases][0]]])." previous.health="RED" reason="shards started [[.geoip_databases][0]]"
[2023-03-27T12:45:57,149][INFO][o.e.i.g.DatabaseNodeService] [LAPTOP-4KS3NIJD] successfully loaded geoip database file [GeoLite2-Country.mmdb]
[2023-03-27T12:45:57,182][INFO][o.e.i.g.DatabaseNodeService] [LAPTOP-4KS3NIJD] successfully loaded geoip database file [GeoLite2-ASN.mmdb]
[2023-03-27T12:45:58,002][INFO][o.e.i.g.DatabaseNodeService] [LAPTOP-4KS3NIJD] successfully loaded geoip database file [GeoLite2-City.mmdb]

```

Could you help me, please?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 27, 2023, 10:28pm UTC](https://discuss.elastic.co/t/error-in-the-installation-elasticsearch-process/328607/2 "2023-03-27T22:28:48Z")

</div>

Welcome to our community! 😃

You can ignore that error as it goes on to automatically resolve it later in the startup process.

---

<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:** [April 24, 2023, 10:29pm UTC](https://discuss.elastic.co/t/error-in-the-installation-elasticsearch-process/328607/3 "2023-04-24T22:29:43Z")

</div>

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