我有一个带有基于 Web 的系统配置 webmin 的 Ubuntu 14.04 服务器。
所以 awstat 是默认安装的。
我手动安装了插件 geoip 和 GeopIPCity 插件,但它不起作用,我收到以下警告消息:Tried to load plugin "geoip" twice. Fix config file.
并且Tried to load plugin "geoip_city_maxmind" twice. Fix config file.
上面有这两行/etc/awstats/awstats.conf
LoadPlugin="geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat"
LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /usr/share/GeoIP/GeoIPCity.dat"
但也在虚拟主机的 awstat conf 文件中。
.dat 文件的位置很好:
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
我不知道在哪里检查以修复它。
谢谢你的帮助。