[mirrorbrain] geoip/database path (was: Re: Installation on Ubuntu ...)

From: Peter Pml <poeml_at_cmdline.net>
Date: Tue, 29 Sep 2009 01:08:57 +0200

Am 28.09.2009 um 23:49 schrieb Peter Pml:
>> Another thing I noticed this morning is that something is wrong with
>> the permission on the GeoIP.dat file.  When installed according to  
>> the
>> directions, I get a file not found error when adding a new mirror via
>> ./mirrordoctor new ....
> Okay, that we need to look into. I guess the path where the  
> mirrordoctor looks for the database file is not good for the place  
> where Ubuntu puts the file. I think I'll be able to reproduce this  
> shortly...

I tried to reproduce this and it didn't happen for me -- or at least  
not *exactly*. I got an error when creating a mirror because the  
geoiplookup_continent wasn't found in the path. That happens if the  
tool is copied to /usr/bin/ but not made executable (as it happens to  
be in the recipe). Making the program executable fixes this for me.  
(Docs updated.) The database seems to be found, as the lookup is then  
successful when creating a mirror.

The GeoIP database should really be found, as the Python module looks  
at the locations listed in
  (see near the top). /usr/share/GeoIP/GeoIP.dat is the correct  
location for Ubuntu, according to dpkg --listfiles output. (If an  
updated database is found in /var/lib/GeoIP, it is preferred.)


mirrorbrain mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain/

Note: To remove yourself from this mailing list, send a mail with the content
to the address mirrorbrain-request_at_mirrorbrain.org
Received on Mon Sep 28 2009 - 23:25:22 GMT

This archive was generated by hypermail 2.3.0 : Thu Mar 25 2010 - 19:30:55 GMT