In Awstats 90% of my (Domains/Countries) is Unknown from [ip] and other (10%) are from [net], [com], [de] and [uk]
This issue is related to
DNSLookup.
First I edit '/home/apache/etc/conf/httpd.conf' for add "HostnameLookups On" on it but I lend that
enabled DNSLookup will reduce dramatically AWStats update process speed. So I try enable geoip plugin on my Awstats.
I edit '/usr/local/lxlabs/kloxo/file/awstats.model.conf' and add below line on it:
LoadPlugin="geoip GEOIP_STANDARD /pathto/GeoIP.dat"
Before that I must install GeoIP on kloxo-mr.
In php5.4 I try 'yum install php54-pecl-geoip' and:
Downloading Packages:
php54-pecl-geoip-1.0.8-3.ius.el6.x86_64.rpm | 13 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : php54-pecl-geoip-1.0.8-3.ius.el6.x86_64 1/1
Verifying : php54-pecl-geoip-1.0.8-3.ius.el6.x86_64 1/1
Installed:
php54-pecl-geoip.x86_64 0:1.0.8-3.ius.el6
Complete!
In secondary php I try 'sh /script/lxphp-module-install php52-pecl-geoip' but:
No Match for argument php52-pecl-geoip
Nothing to download
rpm2cpio: *.rpm: No such file or directory
cpio: premature end of archive
Now how can I install GeoIP for secondary php and what path should I enter instead "/pathto/GeoIP.dat" for php5.4 and secondary php?