Error with GeoLite CC database

Post Reply
Tearabite
Junior Member
Posts: 26
Joined: 27 Dec 2008, 00:29
Contact:

Error with GeoLite CC database

Post by Tearabite »

I've noticed this error when the CC database is being updated:
CC Error: Unable to unzip GeoLite CSV Country database /etc/csf/zone/GeoIPCountryCSV.zip - timeout   

how do i go about resolving this?
aww+
Junior Member
Posts: 105
Joined: 27 Aug 2012, 20:53

Re: Error with GeoLite CC database

Post by aww+ »

I also get the timeout problem.

Looking at the directory, I see a freshly downloaded zip file, so it's fetching it properly but the unziped csv is 3 months old, so this has been going on for a few months.

So the question is, how to increase the timeout and how to manually re-run the zone processing.

Ah okay, it looks like if you remove the files inside of /etc/csf/zone
and then service lfd restart
it will redownload and reprocess the zone files.

The question is, why does it "timeout" in the first place. It might be a permissions issue but lfd runs as root so this should not be a problem.
vverloop
Junior Member
Posts: 8
Joined: 07 Feb 2013, 21:56

Re: Error with GeoLite CC database

Post by vverloop »

I have the same problem. Anybody solve this problem?
aww+
Junior Member
Posts: 105
Joined: 27 Aug 2012, 20:53

Re: Error with GeoLite CC database

Post by aww+ »

Only solution I've found is remove the files inside /etc/csf/zone and then do a service lfd restart

I also periodically get a gateway error when downloading the spamhaus blocklist, not sure if these network errors are related.

I'm also concerned the files in side /etc/csf/Geo are a little old, GeoIP.dat is from 2011 and GeoLiteCity.dat is from last month

I had to manually update them from
http://geolite.maxmind.com/download/geo ... oIP.dat.gz
http://geolite.maxmind.com/download/geo ... ity.dat.gz
Note that maxmind will block you for 3 hours if you download more than 300mb
LawsHosting
Junior Member
Posts: 4
Joined: 13 Jan 2018, 12:21

Re: Error with GeoLite CC database

Post by LawsHosting »

I know this is an old thread, but I get this too, the thing is, I don't have a /etc/csf/zone directory.
shunkica
Junior Member
Posts: 6
Joined: 14 Mar 2018, 13:34

Re: Error with GeoLite CC database

Post by shunkica »

I had the same issue on fresh Centos 7 system and fixed it by installing the "unzip" package
Post Reply