You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by Sam Corbett <sa...@cloudsoftcorp.com> on 2014/09/10 13:20:10 UTC

Update to geo-ip database

Hi all,

The database Brooklyn uses to geo-locate IP addresses was changed 
recently. You should consider following the instructions logged by 
MaxMind2HostGeoLookup:

    "MaxMind geo lookup unavailable; either download and unpack the
    latest binary from
    http://dev.maxmind.com/geoip/geoip2/geolite2/#Downloads into
    /Users/sam/.brooklyn/GeoLite2-City.mmdb, or specify a different
    HostGeoLookup implementation with the key
    brooklyn.location.geo.HostGeoLookup (error trying to read:
    java.io.FileNotFoundException:
    /Users/sam/.brooklyn/GeoLite2-City.mmdb (No such file or directory))"


Swapping /Users/sam/.brooklyn for wherever your Brooklyn directory lives.

If you do not do this Brooklyn will fall back to requesting lat/long 
information from http://xml.utrace.de/ (in UtraceHostGeoLookup), a 
service that may arbitrarily block you if you use it too much, where 
"too much" is defined with hand waving.

Sam