awstats.pl returned : Can't locate ./virtualmin-awstats-lib.pl in @INC

2 posts / 0 new
Last post
#1 Thu, 01/11/2018 - 22:09
suzyweb

awstats.pl returned : Can't locate ./virtualmin-awstats-lib.pl in @INC

Having trouble posting my error. Going to try leaving it in a comment below. Thanks!

Thu, 01/11/2018 - 22:09
suzyweb

Hello All! I really appreciate any help. I get the following error:

Failed to get the version of AWStats. Command /usr/share/webmin/virtualmin-awstats/awstats.pl returned :

Can't locate ./virtualmin-awstats-lib.pl in @INC (@INC contains: /usr/share/webmin /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/webmin/virtualmin-awstats/awstats.pl line 8.
.
May be your module configuration is incorrect.



Here is the result after generating an AWStats report in webmin:

Create/Update database for config "/etc/awstats/awstats.domainname.conf" by AWStats version 7.4 (build 20150714)
From data in log file "/var/log/apache2/access.log.1"...
Phase 1 : First bypass old records, searching new record...
Direct access after last parsed record (after line 154)
Jumped lines in file: 154
Found 154 already parsed records.
Parsed lines in file: 0
Found 0 dropped records,
Found 0 comments,
Found 0 blank records,
Found 0 corrupted records,
Found 0 old records,
Found 0 new qualified records.
Create/Update database for config "/etc/awstats/awstats.domainname.conf" by AWStats version 7.4 (build 20150714)
From data in log file "/var/log/apache2/access.log"...
Phase 1 : First bypass old records, searching new record...
Direct access to last remembered record is out of file.
So searching it from beginning of log file...
Jumped lines in file: 0
Parsed lines in file: 0
Found 0 dropped records,
Found 0 comments,
Found 0 blank records,
Found 0 corrupted records,
Found 0 old records,
Found 0 new qualified records.


I am able to view the AWStats report, but it shows all zeroes like it hasn't had even one visitor.

SYSTEM INFO:
Operating system Ubuntu Linux 16.04.3
Webmin version 1.872
Usermin version 1.732
Virtualmin version 6.02
Theme version Authentic Theme 19.07

Topic locked