When you execute the awstats script for update your domain stats from logs  get an Error Plugin load for plugin geoipfree failed with return code: Error: Can't locate  IPfree.pm. ( WHM / cPanel )

Command:

/usr/bin/perl /usr/local/cpanel/3rdparty/bin/awstats.pl -config=/home/username/tmp/awstats/awstats.your-domain.conf -LogFile=/usr/local/apache/domlogs/your-domain.com -update

Output:

Error: Plugin load for plugin 'geoipfree' failed with return code: Error: Can't locate Geo/IPfree.pm in @INC
(@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/lib64/perl5 /usr/share/perl5 . /usr/local/cpanel/3rdparty/bin/lib /usr/local/cpanel/3rdparty/bin/plugins
/usr/local/cpanel/3rdparty/bin/plugins) at (eval 4) line 1.


Solutions:

Script can not found the IPfree.pm at specific lcoation "Geo/IPfree.pm"  you need to download  the GeoIP package from the Link  and copy that files to specific location,

Download the package: Geo.zip
 
# unzip Geo.zip

# mv  Geo /usr/local/cpanel/3rdparty/bin/plugins/.

Now, execute the command again, you will get reports,

Command:
/usr/bin/perl /usr/local/cpanel/3rdparty/bin/awstats.pl -config=/home/username/tmp/awstats/awstats.your-domain.conf -LogFile=/usr/local/apache/domlogs/your-domain.com -update

Output:

Create/Update database for config "/home/mycutyco/tmp/awstats/awstats.your-domain.com.conf" by AWStats version 7.4 (build 20140726)
From data in log file "/usr/local/apache/domlogs/your-domain.com"...
Phase 1 : First bypass old records, searching new record...
Direct access to last remembered record has fallen on another record.
So searching new records from beginning of log file...
Phase 2 : Now process new records (Flush history on disk after 20000 hosts)...
Jumped lines in file: 0
Parsed lines in file: 726
 Found 0 dropped records,
 Found 0 comments,
 Found 0 blank records,
 Found 0 corrupted records,
 Found 0 old records,
 Found 726 new qualified records.