Friday, June 19, 2009

AWStats and GeoIP Error

Are you receiving the following error even after installing GeoIP while trying to run AWStats with GeoIP enabled?:

Error: Plugin load for plugin 'geoipfree' failed with return code: Error: Can't locate Geo/IPfree.pm in @INC (@INC contains: c:/perl/site/lib c:/perl/lib . ./lib ./plugins ./plugins) at (eval 3) line 1.

Make sure that you're enabling the proper module within your AWStats config file. Once I commented out

LoadPlugin="geoipfree GeoIP.dat"

and then uncommented

LoadPlugin="geoip GEOIP_STANDARD GeoIP.dat"

it started properly working.