I have an Ubuntu 14.04 server with the web-based system configuration webmin.
So awstat is install by default.
I installed manually the plug-ins geoip and GeopIPCity plug-in but it's not working and I get this warning message: Tried to load plugin "geoip" twice. Fix config file.
and Tried to load plugin "geoip_city_maxmind" twice. Fix config file.
There are these two lines on /etc/awstats/awstats.conf
LoadPlugin="geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat"
LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /usr/share/GeoIP/GeoIPCity.dat"
But also in the awstat conf files of virtual hosts.
The .dat files are in the good location:
root@Ubuntu-14LTS-NY1:/etc/awstats# ll /usr/share/GeoIP/GeoIP.dat
-rw-r--r-- 1 root root 827301 Apr 7 2014 /usr/share/GeoIP/GeoIP.dat
root@Ubuntu-14LTS-NY1:/etc/awstats# ll /usr/share/GeoIP/GeoIPCity.dat
-rw-r--r-- 1 root root 19756029 Apr 16 04:18 /usr/share/GeoIP/GeoIPCity.dat
I don't where to check to fix it.
Thanks for your help.