Howto set geoip_country for IPv4 and IPv6 databases?

Rancor nginx-forum at
Tue Apr 30 10:14:54 UTC 2013


i'm trying to get this to work with the current NginX package 1.4.0 from (using  --with-ipv6) on a debian squeeze system. When downloading
the GeoIP ipv6 binary from:

and changing:

geoip_country   /etc/nginx/GeoIP.dat;


geoip_country   /etc/nginx/GeoIPv6.dat;

in my nginx.conf i'm getting this message after reload:

nginx: [emerg] invalid GeoIP database "/etc/nginx/GeoIPv6.dat" type:12 in

Any hints what's wrong here? Thanks in advance for a reply.

Posted at Nginx Forum:,235108,238735#msg-238735

More information about the nginx mailing list