Article ID: 120247, created on Feb 20, 2014, last review on Oct 17, 2016

  • Applies to:
  • Plesk 12.0 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.5 for Windows


The following error appears when you try to open web-statistics page :

Error: Plugin load for plugin 'geoip' failed with return code: Error: Can't locate Geo/ in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . /usr/share/awstats/lib /usr/share/awstats/plugins) at (eval 3) line 1. Can't locate Geo/IP/ in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . /usr/share/awstats/lib /usr/share/awstats/plugins) at (eval 4) line 1. Error: Need Perl module Geo::IP or Geo::IP::PurePerl 

Setup ('/opt/psa/etc/awstats/' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).


Perl plugins Geo::IP and Geo::IP::PurePerl are not installed.


Awstats Geoip plugin uses perl modules to resolve IP addresses in countries. If you have Geoip plugin enabled in awstats config file with the line LoadPlugin="geoip GEOIP_STANDARD", you should make sure that corresponding Perl modules are installed on the system, because original AWStats package does not contain them.

This error message indicates missing required Perl module: Error: Can't locate Geo/IP/ in ...

To resolve the issue it's necessary to install Perl module required by this plugin. Installation commands:

# perl -MCPAN -e "install Geo::IP::PurePerl" 
# perl -MCPAN -e "install Geo::IP" 

or you can install Perl modules in traditional way by downloading and compiling tarballs:

# wget geoip-xxx.tar.gz 
# tar -xzf geoip-xxx.tar.gz 
# cd geoip-xxx 
# perl Makefile.PL 
# make && make install 

Here is the link where you can find geoip Perl modules:

Two packages, Geo::IP and Geo::IP::PurePerl should be installed, because Geo::IP::PurePerl depends on Geo::IP. Sometimes GeoIP C API should be installed before adding perl Geo::IP module. It can be downloaded here:

Once all this staff is installed on the server, Awstats statistics page for domains with enabled GEOIP plugin should function well after next statistics recalculation, or you could recalculate it manually.

Search Words


Plugin load for plugin 'geoip' failed with return code

Can't locate Geo/



fail statistics

Error: pmm utility 'Conflict Resolver' raised an exception. Error code is: 1 See pmmcli.log to find out detailed information on this


a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f aea4cd7bfd353ad7a1341a257ad4724a 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079 8b661cab116c79dbe6c4ac5bbdf1c8cb 85a92ca67f2200d36506862eaa6ed6b8 a766cea0c28e23e978fa78ef81918ab8

Email subscription for changes to this article
Save as PDF