You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Stas Bekman <st...@stason.org> on 2004/09/06 18:29:23 UTC
Re: mod_perl (1.99_16) fails to begin tests because of assertion
"rv == APR_SUCCESS" failed in vhost.c -- More Information
RenquistIsMe@comcast.net wrote:
> So, I ran the t/TEST -conf and t/TEST tests separately, replacing
> "_default_" with the actual name of the
> host machine. LOTS of errors and ultimately a completely wedged test
> script. I was also able to run
> some tests after, as individual tests.
You broke the vhosts configuration when changing things and that's why you
get all these tests failures. If you look at the error log, the error:
File does not exist:
/opt/local/pkg/mod_perl-1.99_16/t/htdocs/TestFilter__in_bbs_inject_header
is all over. The client and the server don't match (hostname/port). It's
not a mod_perl problem. More below:
>
>>RenquistIsMe@comcast.net wrote:
>>
>>>% t/REPORT
>>>-------------8<---------- Start Bug Report ------------8<----------
>>>1. Problem Description:
>>>
>>>The mod_perl module (version 1.99_16 aka 2.0 beta) fails to begin tests
>>>because of the following error:
>>>=====================
>>>waiting 120 seconds for server to start: .[Tue Aug 24 16:58:02 2004] [crit]
>>>[Tue Aug 24 16:58:02 2004] file vhost.c, line 189, assertion "rv ==
>>
>>APR_SUCCESS" failed
Stas wrote:
>>>The guilty section of vhost.c is:
>>>
>>>182 if (strcmp(host, "*") == 0) {
>>>183 rv = apr_sockaddr_info_get(&my_addr, "0.0.0.0", APR_INET, port, 0,
>>
>>p);
>>
>>>184 ap_assert(rv == APR_SUCCESS); /* must be bug or out of storage */
>>>185 }
>>>186 else if (strcasecmp(host, "_default_") == 0
>>>187 || strcmp(host, "255.255.255.255") == 0) {
>>>188 rv = apr_sockaddr_info_get(&my_addr, "255.255.255.255", APR_INET,
>>
>>port, 0, p);
>>
>>>189 ap_assert(rv == APR_SUCCESS); /* must be bug or out of storage */
So you need to take this to the httpd developers and figure out why
_default_ in vhosts doesn't work on your machine, sounds like a problem
that httpd needs to fix.
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html