[AWFFULL] GeoIP
Steve McInerney
steve at stedee.id.au
Tue Apr 28 20:52:11 EST 2009
Hey Greg,
on 27/04/09 13:33 Gregory P. Ennis said the following:
> Dear List,
>
> I am a new user of awffull, and just switched two websites from
> webalizer to awffull. I used the same config file for awfful that I had
> been using for webalizer and have added the folllowing entries :
>
> GeoIP yes
> GeoIPDatabase /usr/local/share/GeoIP/GeoIP.dat
>
> I downloaded GeoIP.dat from www.maxmind and installed it in the above
> directory.
>
> I have turned also set
> HostnameLookups Off
> in the apache httpd.conf file
>
> When I look at the graphs related to various countries I am not getting
> any results other than "Other" which amounts to 99%.
>
> Does the GeoIP function work?
Gawd I hope so, else we have a nasty bug :-)
> Any suggestions for me?
couple of possibilities.
1. fwiw, which version of awffull? Shouldn't matter, but just in case.
2. how are you getting the logs read by awffull? piped?
3. check that the logs don't have the names in them - I have no idea how/why
this happens, but I have often seen apache do this. Even with hostnamelookups
off. :-/
4. make sure you have no configs loaded at all; and go for a really reduced
test. eg:
awffull -o OUT --use_geoip access.log.gz
ie. nothing in /etc/awffull.conf, or ./awffull.conf
5. If still no joy? just process ~ 10 lines of logfile, but use '-vv' when you
run awffull. that will dump a full config that you've grabbed.
See how we go with that, and go from there.
Cheers!
- Steve
More information about the AWFFull
mailing list