[EMAIL PROTECTED] 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
.........................................................................................................................
waiting 120 seconds for server to start: not ok
=====================

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 */
190     }
191     else {
192         rv = apr_sockaddr_info_get(&my_addr, host, APR_UNSPEC, port, 0, p);
193         if (rv != APR_SUCCESS) {
194             ap_log_error(APLOG_MARK, APLOG_ERR, rv, NULL,
195                 "Cannot resolve host name %s --- ignoring!", host);
196             return NULL;
197         }
198     }

and the server never starts. No core dump is produced and no error log either.
Attempts to install (without testing) succeed but the resulting mod_perl
refuses to run.

Here is the configuration of httpd-2.0.50:

./configure --prefix=/var/apache  --enable-mime-magic --enable-usertrack --enable-ssl
--enable-dav --enable-info --enable-cgi --enable-speling --enable-so
--enable-rule=SSL_SDBM  --with-ssl=/opt/local/openssl --with-mpm=prefork

Httpd-2.0.50 runs fine (without mod_perl) but since the entire application
is perl code, it runs soooo sloooowly. Perl version is 5.8.4 and the OS is
Solaris 9 on Sun Sparc.

This error was previously reported on the mod_perl bug mailing list and
the explanation given was that it was a httpd problem. And perhaps it is.
I have reported it to bugzilla as bug #30901

I do know that if the mod_perl test httpd configuration file:

/opt/local/pkg/mod_perl-1.99_16/t/conf/httpd.conf

is edited to replace _default_ with the fully qualified name of the
httpd server, the test httpd will start. Unfortunately, no tests can
be run because the testing procedure overwrites the httpd.conf file
with the non-working values.

Run:

t/TEST -conf
edit the conf files. now run:
t/TEST
(instead of 'make test')

'make test' reruns -conf, so it wipes the changes away, but if you run t/TEST after running -conf it will keep your changes in place.



--
__________________________________________________________________
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

--
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



Reply via email to