# Geoip error (expected database)

**URL:** <https://discuss.elastic.co/t/geoip-error-expected-database/208049>\
**Category:** Elasticsearch\
**Created:** [November 15, 2019, 10:46am UTC](https://discuss.elastic.co/t/geoip-error-expected-database/208049 "2019-11-15T10:46:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pharald](https://avatars.discourse-cdn.com/v4/letter/p/e68b1a/32.png) [@pharald](https://discuss.elastic.co/u/pharald)\
**Post date:** [November 15, 2019, 10:46am UTC](https://discuss.elastic.co/t/geoip-error-expected-database/208049/1 "2019-11-15T10:46:31Z")

</div>

Hello,  
I have installed elasticsearch 7.4.2. I want to use the geoip processor. The documentation says I need to download and copy the geolite DB into dir /etc/elasticsearch/ingest-geoip  
[https://www.elastic.co/guide/en/elasticsearch/reference/7.4/geoip-processor.html](https://www.elastic.co/guide/en/elasticsearch/reference/7.4/geoip-processor.html)

Once I have done this startup of elastic fails:  
`java.lang.RuntimeException: java.io.IOException: expected database [GeoLite2-City.mmdb] to not exist in [/etc/elasticsearch/ingest-geoip]`

How to enable geoip with elasticsearch? Can anybody please assist?

Thanks in advance.

---

<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:** [December 13, 2019, 10:50am UTC](https://discuss.elastic.co/t/geoip-error-expected-database/208049/2 "2019-12-13T10:50:33Z")

</div>

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