well, i edited the /etc/hosts file and it seemed to've done the trick.
but now it seems i'm taking heaps of test failures from 'make test' run.
if apache is inactive, would that cause these failures? for instance,
most of my failures resulted from the 'apr/perlio.t',
'modules/cgiupload.t', and 'modules/cgi.t'. 

ben

----- Original message -----
From: "Stas Bekman" <[EMAIL PROTECTED]>
To: "benjamin mccall" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Date: Mon, 27 Jan 2003 15:29:22 +1100
Subject: Re: glitched install of mod_perl (1.99.08)

benjamin mccall wrote:
> Thanks for the quick reply on this one, Stas.
> 
> I ran the script, 'localhost' resulted. I applied the patch as you
> advised, and it seems as though (i'm building as i composed this)
> resolved the issue absolutely. Thanks a heap!

That's weird. Because my patch doesn't solve the problem, it only asserts
if 
the default servername wasn't found. Could it be a temporary glitch on
your 
system? What happens if you reverse the patch and try again? Does it
still 
fail as before?

> could you point me to some documentation that my relate to this problem?
> i'm quite new to perl. i surmise it was network-related from some of the
> modules and patch work applied. 

The problem was at Apache-Test/lib/Apache/TestConfig.pm:

sub our_remote_addr {
     my $self = shift;
     my $name = $self->default_servername;
     $remote_addr ||= Socket::inet_ntoa((gethostbyname($name))[-1]);
}

$name was undef. Socket::inet_ntoa() has died because of that.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



-- 
http://fastmail.fm - Access all of your messages and folders wherever you
are

Reply via email to