Hi, I found some bugs under Webalizer, cliking on View previously generated report, only shows single summary table, clicking on per date to view Pies/Charts /History makes Webmin to get into an infinite loop, also the relevant "files not found" are actually present on the directory, furthermore locally copied the generated reports and works ok after opening the index.html with FireFox from workstation.
Here are some configuration info for reference:
Webalizer version: 2.23-08
Pkg info output: webalizer-2.23.8_6
Location for generated reports: "/var/log/webmin/webalizer"
FreeBSD 11.1 P11 amd64
Full miniserv.error log file HERE <<< Includes a "fail2ban-lib.pl" error flooding as well.
A chunk of the Webalizer error below, (for complete error log, please click previous link):
[01/Jul/2018:06:49:22 -0400] [192.168.1.200] /webalizer/usage.png : File not found Argument "2.23-08" isn't numeric in numeric lt (<) at /usr/local/lib/webmin/webalizer/index.cgi line 41. Use of uninitialized value in concatenation (.) or string at /usr/local/lib/webmin/webalizer/index.cgi line 112. Use of uninitialized value in concatenation (.) or string at /usr/local/lib/webmin/webalizer/index.cgi line 112. [01/Jul/2018:06:49:39 -0400] [192.168.1.200] /webalizer/usage.png : File not found [01/Jul/2018:06:49:47 -0400] [192.168.1.200] /webalizer/usage_201807.html : File not found [01/Jul/2018:06:49:47 -0400] [192.168.1.200] /webalizer/usage.png : File not found Use of uninitialized value $bind8::config{"pid_file"} in split at /usr/local/lib/webmin/bind8/bind8-lib.pl line 1674.
Regards
Update, for after a while, the Webalizer Status Charts/Pies etc started to shown as it should with just some minor cosmetic table related forms but nothing serious, just noticed that it sems that Webmin/Auth-Theme? takes a bit of time for some data to became actualized quickly, similar wen Upgrading the OS from FreeBSD Pxx to P11 for example, it takes asome time for this data to be displayed rather tha on real-time, overall just cosmetics.
Only log flooding now is still a problem with "fail2ban-lib.pl", error is detailed in the link above by the way.
Ragards
Last edit: J.M. Rivera 2018-07-01
I don't think those fail2ban messages are related to anything happening in the Webalizer module.
What do you mean by it going into an infinite loop exactly?
Hello Jamie, the "fail2ban" log error flooding was an extra I wanted to post here to avoid creating another ticket, though indeed I should create a new one instead.
As for the infinite loop, I mean wen clicking on any date link on webalizer, the red bar on top of the Webmin page keeps bouncinf from side to side looping, only escape is to click on any module, however after a while the webalizer tarted to work as intended besides minor cosmetic bugs in the tables it draws.
Also regarding the log file link I attached, it was down for a bit as I migrated to FreeBSD 11.2 and see how it goes, I will update on any finds, though Webmin is working as expected, exept for the fail2ban error log keep flooding. but thats another topic indeed.
Ragdards
When this infinite loop happens, does any error message get logged to
/var/webmin/miniserv.error
?Hi, wen this infinite loop happened to me(wen I acceced webalizer too early after setup), the logs shown the below posted errors, I guess that webalizer tok some time buildng the coleted data images/charts/pies etc, so wen they where ready, the loop stopped and I accessed the data without problems right after few mins.
Regards
Last edit: J.M. Rivera 2018-07-07
Those log messages look unrelated. But if you have a large log file and no regular webalizer processing run has happened yet, it may spend a lot of time reading logs when first accessed.