Ntop – GeoIP error

Ntop error
**ERROR** GeoIP: unable to load file GeoLiteCity.dat
**ERROR** GeoIP: unable to load ASN file GeoIPASNum.dat

This error means that GeoIP is not installed in the right location. GeoIP is a database of IP addresses and locations. This is what a top uses to populate the geolocation information of the remote network traffic.

To correct this on a Debian distro you can do the following:

wget -N http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
gunzip GeoLiteCity.dat.gz
wget -N http://geolite.maxmind.com/download/geoip/database/GeoIPASNum.dat.gz
gunzip GeoIPASNum.dat.gz
sudo mkdir -p /usr/share/GeoIP/
sudo mv GeoLiteCity.dat /usr/share/GeoIP/
sudo mv GeoIPASNum.dat /usr/share/GeoIP/

It is a good idea to update the GeoIP monthly to keep the data up to date.

You may also like...

Leave a Reply