GeoIP.dat.gz and GeoLiteCity.dat.gz not longer available? Getting 404 trying to load it
Maxmind no longer supports Geolite legacy, just Geolite2 : https://blog.maxmind.com/2018/01/02/discontinuation-of-the-geolite-legacy-databases/
You can convert MaxMind GeoLite2 Database to the old legacy format with this script:
Example: ./geolite2legacy.py -i GeoLite2-Country-CSV.zip -f geoname2fips.csv -o GeoIP.dat
BTW - there is a site where you can find new data on the legacy format, here: https://www.miyuru.lk/geoiplegacy (the files there were built using with this script)
you can use an alternative cdn site:
https://mirrors-cdn.liferay.com/geolite.maxmind.com/download/geoip/database/
Here you'll find:
https://mirrors-cdn.liferay.com/geolite.maxmind.com/download/geoip/database/GeoIP.dat.gz