error message from lib/perl5/Lire/Apache.pm
Joost van Baal
joostvb at logreport.org
Fri Mar 30 19:50:14 CEST 2001
Hello Wytze,
Thanks a lot for your bugreport!
On Fri, Mar 30, 2001 at 05:39:10PM +0200, Wytze van der Raay wrote:
> Having installed the lire 20010329 release on nlnet.nl's central server,
That's nice. Are you processing just apache and bind logs? Or also
other types? BTW: Egon is working on a exim convertor. In a while,
we'll be able to process also logfiles from the exim MTA.
> I am observing a load of error messages being logged to syslog like this:
>
> Mar 30 12:05:40 bell lire: bogus message: Use of uninitialized value at
> /village/wytze/logreport/software/lib/perl5/Lire/Apache.pm line 135, <> chunk
> 21854.
>
> On inspection of the perl code:
>
> $domain = join(".",$d[-2],$d[-1]);
>
> and the "offending" logfile lines, it seems that the Apache.pm script
> assumes that an alphanumeric string in the hostname field will always be
> of the form xxx.subdomain.topdomain. I would like this to be true, but
> in practice, our webserver is visited by systems with IP addresses
> which resolve to something like "host130-26" after reverse DNS resolution
> (which is done on the fly if possible).
> Bad DNS setup on the client provider site I guess, outside our control.
You are absolutely right.
> But could we get rid of those parsing error messages anyway?
The error message shouldn't be there: a "bogus" message should never
occur, not even when random noise is fed to the scripts.
I just fixed it. I'll upload a new tarball one of these days (so that
we finally get decent time handling in our release.... (see my previous
message to this list.))
Bye,
Joost
--
Joost van Baal . . http://www.logreport.org/
. .
/^LogReport$/ . . joostvb at logreport.org
--
To UNSUBSCRIBE, email to development-request at logreport.org with a subject of
"unsubscribe". Trouble? Send an email with subject "help" to
development-request at logreport.org
More information about the Development
mailing list