Problem with awstats:Can’t locate Geo/IP.pm in @INC
The problem:
Error: Plugin load for plugin 'geoip' failed with return code: Error: Can't locate Geo/IP.pm in @INC (@INC contains: /usr/local/lib/perl5/5.10.1/BSDPAN /usr/local/lib/perl5/site_perl/5.10.1/mach /usr/local/lib/perl5/site_perl/5.10.1 /usr/local/lib/perl5/5.10.1/mach /usr/local/lib/perl5/5.10.1 . /usr/local/www/awstats/cgi-bin/lib /usr/local/www/awstats/cgi-bin/plugins) at (eval 4) line 1. Can't locate Geo/IP/PurePerl.pm in @INC (@INC contains: /usr/local/lib/perl5/5.10.1/BSDPAN /usr/local/lib/perl5/site_perl/5.10.1/mach /usr/local/lib/perl5/site_perl/5.10.1 /usr/local/lib/perl5/5.10.1/mach /usr/local/lib/perl5/5.10.1 . /usr/local/www/awstats/cgi-bin/lib /usr/local/www/awstats/cgi-bin/plugins) at (eval 5) line 1. Error: Need Perl module Geo::IP or Geo::IP::PurePerl
solution(as root):
#cpan Geo::IP::PurePerl Geo::IP
Posted on Июнь 15th, 2010 by admin
Filed under: Solutions
Hello
That appears to be a third-party plugin for Awstats that you have configured. The error message indicates there is a missing Perl module. You can try installing it manually via a command such as:
cpan -i Geo::IP