I tried to setup awstat to resolve countrie by enabling the modules in the config page but then I get this:
Error: Plugin load for plugin ‘geoip’ failed with return code: Error: Can’t locate Geo/IP.pm in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 . /usr/share/awstats/lib /usr/share/view.cgi?config=braindamagemtl.comugins) at (eval 2) line 1. Can’t locate Geo/IP/PurePerl.pm in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 . /usr/share/awstats/lib /usr/share/view.cgi?config=braindamagemtl.comugins) at (eval 3) line 1. Error: Need Perl module Geo::IP or Geo::IP::PurePerl
I then try to install the required modules but it fails all the time (many missing stuff).
Last login: Sat Mar 8 04:07:50 2014 from x.x.x.x
[root@jackson ~]# yum install perl-Geo-IP
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Ah, good question, thanks for asking before updating all those packages
Now that the dependency you needed is installed, my suggestion would be to go back and disable the EPEL repo.
Then, you’d have only the package that you need from that repo, that won’t cause any problems… but if all those updates come through, it risks causing some issues.
I disabled the repo right after. So far it does not help as no country names are displayed so the geoip option is not yet working. I will wait for more data before troubleshouting again.