#818 Error 500, due geoip_city_maxmind


I installed Advanced Web Statistics 7.0 (build 1.964) but it doesn't work with geoip_city_madmind:

Error (one or the other):
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.

Error: Plugin init for plugin 'geoip' failed with return code: Not a CODE reference at (eval 56) line 1. (A module required by plugin might be missing).
Setup ('/etc/awstats/awstats.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).

Apache error log:
[Mon Jul 05 13:27:44 2010] [error] Can't locate auto/Geo/IP/get_city_re.al in @INC (@INC contains: /home/httpd/perl /etc/perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux /usr/lib64/perl5/vendor_perl/5.8.8 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux /usr/lib64/perl5/site_perl/5.8.8 /usr/lib64/perl5/site_perl /usr/lib64/perl5/5.8.8/x86_64-linux /usr/lib64/perl5/5.8.8 /usr/local/lib/site_perl . /usr/lib64/apache2 /usr/share/webapps/awstats/wwwroot/cgi-bin/lib /usr/share/webapps/awstats/wwwroot/cgi-bin/plugins) at /usr/share/webapps/awstats/wwwroot/cgi-bin/plugins/geoip_city_maxmind.pm line 4623\n
Prototype mismatch: sub ModPerl::ROOT::ModPerl::PerlRun::usr_share_webapps_awstats_wwwroot_cgi_2dbin_awstats_2epl::decode: none vs ($$;$) at /usr/lib64/perl5/5.8.8/Exporter.pm line 65.
at /usr/share/webapps/awstats/wwwroot/cgi-bin/awstats.pl line 20
Prototype mismatch: sub ModPerl::ROOT::ModPerl::PerlRun::usr_share_webapps_awstats_wwwroot_cgi_2dbin_awstats_2epl::decode_utf8: none vs ($;$) at /usr/lib64/perl5/5.8.8/Exporter.pm line 65.
at /usr/share/webapps/awstats/wwwroot/cgi-bin/awstats.pl line 20
Prototype mismatch: sub ModPerl::ROOT::ModPerl::PerlRun::usr_share_webapps_awstats_wwwroot_cgi_2dbin_awstats_2epl::encode: none vs ($$;$) at /usr/lib64/perl5/5.8.8/Exporter.pm line 65.
at /usr/share/webapps/awstats/wwwroot/cgi-bin/awstats.pl line 20
Prototype mismatch: sub ModPerl::ROOT::ModPerl::PerlRun::usr_share_webapps_awstats_wwwroot_cgi_2dbin_awstats_2epl::encode_utf8: none vs ($) at /usr/lib64/perl5/5.8.8/Exporter.pm line 65.
at /usr/share/webapps/awstats/wwwroot/cgi-bin/awstats.pl line 20
Prototype mismatch: sub ModPerl::ROOT::ModPerl::PerlRun::usr_share_webapps_awstats_wwwroot_cgi_2dbin_awstats_2epl::find_encoding: none vs ($;$) at /usr/lib64/perl5/5.8.8/Exporter.pm line 65.
at /usr/share/webapps/awstats/wwwroot/cgi-bin/awstats.pl line 20
Prototype mismatch: sub ModPerl::ROOT::ModPerl::PerlRun::usr_share_webapps_awstats_wwwroot_cgi_2dbin_awstats_2epl::clone_encoding: none vs ($) at /usr/lib64/perl5/5.8.8/Exporter.pm line 65.
at /usr/share/webapps/awstats/wwwroot/cgi-bin/awstats.pl line 20

Strangely it all works fine with 6.5 version ... no problems at all. For the time being I disable the geoip_city_madmind and it's now working fine.
Another note to make .. I also use geoip plugin and this is also working fine in the 7 version.



  • matthys

    matthys - 2010-07-05

    Ps .. it also works fine under 6.95 (not only the old 6.5 version) ... but 7.0 has above problems.

  • Chris Larsen

    Chris Larsen - 2010-07-06

    I posted a fix in the CVS. Could you try downloading that version of the geoip_city plugin and give it a try please? Thanks!

  • matthys

    matthys - 2010-07-06

    Thanks, it seems to work fine now.

    No more error messages in log, so you could close this ticket.

    Again, thanks for the quick fix :-)



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks