Awstats, geoip and virtualmin

2 posts / 0 new
Last post
#1 Tue, 03/01/2016 - 21:56

Awstats, geoip and virtualmin

Hi, i installed geoip and i had problems because keep saying

Error: Plugin init for plugin 'geoip' failed with return code: Error opening geoip.dat at (eval 5) line 4973, line 717. (A module required by plugin might be missing). Setup ('/etc/awstats/' file, web server or permissions) may be wrong.

i go to the /etc/awstats/ and then i find that its only adds


so i change to this LoadPlugin=geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat and work

but if i go to awstats configuration and then i click on the Save Save and Re-Generate Report button, it put it this at the end of the file

#LoadPlugin=geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat

anybody know why this happen? i have to do change awstats file on every domain manually? it happens with every new domain that i dont change the .conf file

Sun, 02/05/2017 - 17:10

Howdy! Maybe this is a old topic, but this is happening to me too. So maybe a fix would be nice? Or a small explanation why this happening and the solution for it would be nice too.

Topic locked