T
TommyT
Guest
Hello!
Any help would be much appreciated for my issue. I've just moved from one dedicated server to a better one. I wanted to see the countries in my awstats, so I followed the following knowledge base post:
http://kb.parallels.com/en/3080
After following these steps, I've check to see that the PurePerl Module is working and updated to the latest. I then changed the following conf files:
/etc/awstats/awstats.conf
/etc/awstats/awstats.model.conf
/usr/local/psa/etc/awstats/awstats.test.net-http.conf
/usr/local/psa/etc/awstats/awstats.test.net-https.conf
/usr/local/psa/etc/awstats/awstats.test.net-ftp.conf
/usr/local/psa/etc/awstats/awstats.test.net-anon_ftp.conf
and enabled the GeoIP plugin in all the above files by updating this line:
LoadPlugin="geoip GEOIP_STANDARD /usr/local/share/GeoIP/GeoIP.dat"
After saving the conf files, this is the following message i get when I enter awstats from my plesk panels:
Error: Plugin load for plugin 'geoip' failed with return code: Error: Can't locate Geo/IP.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /var/www/cgi-bin/awstats/lib /var/www/cgi-bin/awstats/plugins) at (eval 2) line 1. Can't locate Geo/IP/PurePerl.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /var/www/cgi-bin/awstats/lib /var/www/cgi-bin/awstats/plugins) at (eval 3) line 1. Error: Need Perl module Geo::IP or Geo::IP:
urePerl
Setup ('/usr/local/psa/etc/awstats/awstats.test.net-http.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
I tried a few server restarts, and making sure PurePerl is installed by running the command:
perl -MCPAN -e "install Geo::IP:
urePerl"
to which the result says its up to date. I've also made sure the GeoIP.dat was there and permissions are correct on it. To my frustration, I commented out the conf files in hopes I can read my stats again without the countries, but I'm still getting the error message above, which don't make any sense to me because the GeoIP Plugin should be disabled.
I hope someone can enlighten me or give me steps to try. It's driving me insance. Thanks in advance!
Any help would be much appreciated for my issue. I've just moved from one dedicated server to a better one. I wanted to see the countries in my awstats, so I followed the following knowledge base post:
http://kb.parallels.com/en/3080
After following these steps, I've check to see that the PurePerl Module is working and updated to the latest. I then changed the following conf files:
/etc/awstats/awstats.conf
/etc/awstats/awstats.model.conf
/usr/local/psa/etc/awstats/awstats.test.net-http.conf
/usr/local/psa/etc/awstats/awstats.test.net-https.conf
/usr/local/psa/etc/awstats/awstats.test.net-ftp.conf
/usr/local/psa/etc/awstats/awstats.test.net-anon_ftp.conf
and enabled the GeoIP plugin in all the above files by updating this line:
LoadPlugin="geoip GEOIP_STANDARD /usr/local/share/GeoIP/GeoIP.dat"
After saving the conf files, this is the following message i get when I enter awstats from my plesk panels:
Error: Plugin load for plugin 'geoip' failed with return code: Error: Can't locate Geo/IP.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /var/www/cgi-bin/awstats/lib /var/www/cgi-bin/awstats/plugins) at (eval 2) line 1. Can't locate Geo/IP/PurePerl.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /var/www/cgi-bin/awstats/lib /var/www/cgi-bin/awstats/plugins) at (eval 3) line 1. Error: Need Perl module Geo::IP or Geo::IP:
Setup ('/usr/local/psa/etc/awstats/awstats.test.net-http.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
I tried a few server restarts, and making sure PurePerl is installed by running the command:
perl -MCPAN -e "install Geo::IP:
to which the result says its up to date. I've also made sure the GeoIP.dat was there and permissions are correct on it. To my frustration, I commented out the conf files in hopes I can read my stats again without the countries, but I'm still getting the error message above, which don't make any sense to me because the GeoIP Plugin should be disabled.
I hope someone can enlighten me or give me steps to try. It's driving me insance. Thanks in advance!