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.
これらの2行があります/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
私はそれを修正するためにチェックする場所がありません。
ご協力いただきありがとうございます。