Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #195252

Re: how to keep geoip database uptodate

From Henning Follmann <hfollmann@itcfollmann.com>
Newsgroups linux.debian.user
Subject Re: how to keep geoip database uptodate
Date 2018-05-02 13:10 +0200
Message-ID <vKXO2-rv-5@gated-at.bofh.it> (permalink)
References <vKMIW-1ca-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, May 01, 2018 at 07:14:47PM -0400, kamaraju kusumanchi wrote:
> How do I keep geoip database up to date on Debian stable? Currently, I
> am not able to get information on some IP addresses. For example,
> 
>  % geoiplookup 45.229.2.42
> GeoIP Country Edition: IP Address not found
> 
> I tried geoipupdate, but it is looking for a license.
> 
>  % geoipupdate -v
> geoipupdate 2.3.1
> Can't open license file /etc/GeoIP.conf
>  % ls -al /etc/GeoIP.conf
> ls: cannot access '/etc/GeoIP.conf': No such file or directory
> 
> % dpkg -l \*geoip\* | grep ^ii
> ii  geoip-bin       1.6.9-4      amd64        IP lookup command line
> tools that use the GeoIP library
> ii  geoip-database  20170512-1   all          IP lookup command line
> tools that use the GeoIP library (country database)
> ii  geoipupdate     2.3.1-1      amd64        MaxMind GeoIP/GeoIP2
> database updates
> ii  libgeoip1:amd64 1.6.9-4      amd64        non-DNS IP-to-country
> resolver library
> 
> % cat /etc/debian_version
> 9.4
> 
> 
Hello,

you could download the latest file manually.
>From here:
http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
- backup your old GeoIP.dat
- move the new version into /usr/share/GeoIP.dat


-H
 



-- 
Henning Follmann           | hfollmann@itcfollmann.com

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

how to keep geoip database uptodate kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2018-05-02 01:20 +0200
  Re: how to keep geoip database uptodate Henning Follmann <hfollmann@itcfollmann.com> - 2018-05-02 13:10 +0200
    Re: how to keep geoip database uptodate kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2018-05-02 13:30 +0200

csiph-web