Closed fxfitz closed 6 years ago
No, the dat
format is the legacy database format.
@oschwald Ah, ok. So does the geoipupdate
utility fetch the mmdb format at all?
Yes, it does. What edition IDs are specified in your GeoIP.conf
file?
ProductIds GeoIP2-Country
Based on the output above, it sounds like another GeoIP.conf
file is being used. I'd suggest going to our website and starting a live chat. They should be able to help you figure out what is going on.
Hah! Yup! That was totally it.
Thanks for answering that question! I'm looking into why this is failing now, but I'll probably just ping support about it tomorrow.
$ sudo geoipupdate
/usr/share/GeoIP/GeoIP2-Country.mmdb can't be opened, proceeding to download database
Updating /usr/share/GeoIP/GeoIP2-Country.mmdb
Received Error -21 (Sanity check database_info string failed) when attempting to update GeoIP Database
That error is from a 1.x version of geoipupdate
, which doesn't support GeoIP2 databases. You will need to upgrade to a 2.x version.
Perfect! Thanks for the info!
On Mon, Jan 29, 2018 at 4:49 PM Gregory Oschwald notifications@github.com wrote:
That error is from a 1.x version of geoipupdate, which doesn't support GeoIP2 databases. You will need to upgrade to a 2.x version.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/maxmind/geoipupdate/issues/92#issuecomment-361414175, or mute the thread https://github.com/notifications/unsubscribe-auth/AGD7co-1O-SNJqjqiFa4tXwr48IGhHwoks5tPkr1gaJpZM4RxVAc .
Just a quick question about the .dat files that the updater downloaded...
Output:
The .dat file that was downloaded/updated... is that the same format as the "mmdb" file?