Hi Jamie,
in all webmin versions i have seen,
there are a mass of "Redefined Errors" filling up the miniserv.error log.
these are related to:
webmin\acl\md5-lib.pl
webmin\fail2ban\fail2ban-lib.pl
webmin\htaccess-htpasswd\md5-lib.pl
webmin\nis\md5-lib.pl
webmin\useradmin\md5-lib.pl
webmin\webmin\gnupg-lib.pl
webmin\webmin\webmin-lib.pl
in all of these libs the errors can be disabled by replacing:
"use strict" wth "require strict"
"use Socket" with "require Socket"
"use warnings" with "require warnings"
this is a recommended handling for this type of errors by experts.
Just saying these errors are harmless is no solution from my point of view.
So why are they logged then?
I think it would be a good idea to get the miniserv.error log clean from these pseudo errors,
either by replacing "use" with "Require" like said above,
or repair the redifined issues or filter them out otherway.
Atleast the log file should only content real errors.
Otherwise it's a nightmare analyzing the log file for helping you to sort out webmin errors.
Hope i could make my points clear, and hope this helps.
cheers mike
I've never seen "require strict" before. How does it differ from "use strict" ?
Note that these warnings are logged by Perl itself, so I can't easily turn them off .
when you replace the word "use strict" with "require strict" perl ignores the redefinitions and don't log them as errors anymore.
this is from a perl forum by an expert.
i have done this in the related libs and everything works fine.
in fact, it's ignoring these harmless redefintions.
cheers mike
ps.
in the attached error log file you see in which libs this has to be done just at the top of the lib.