error message from lib/perl5/Lire/Apache.pm
Wytze van der Raay
wytze at nlnet.nl
Fri Mar 30 17:39:10 CEST 2001
Having installed the lire 20010329 release on nlnet.nl's central server,
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.
But could we get rid of those parsing error messages anyway?
-- wytze
--
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