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?
Error with GeoLite CC database
Re: Error with GeoLite CC database
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.
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.
Re: Error with GeoLite CC database
I have the same problem. Anybody solve this problem?
Re: Error with GeoLite CC database
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
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
-
- Junior Member
- Posts: 4
- Joined: 13 Jan 2018, 12:21
Re: Error with GeoLite CC database
I know this is an old thread, but I get this too, the thing is, I don't have a /etc/csf/zone directory.
Re: Error with GeoLite CC database
I had the same issue on fresh Centos 7 system and fixed it by installing the "unzip" package