You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/08/27 18:21:56 UTC
DO NOT REPLY [Bug 30901] New: -
make test on mod_perl fails with "rv == APR_SUCCESS" in vhost.c, line 189
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30901>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30901
make test on mod_perl fails with "rv == APR_SUCCESS" in vhost.c, line 189
Summary: make test on mod_perl fails with "rv == APR_SUCCESS" in
vhost.c, line 189
Product: Apache httpd-2.0
Version: 2.0.50
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: Major
Priority: Other
Component: Other Modules
AssignedTo: bugs@httpd.apache.org
ReportedBy: RenquistIsMe@comcast.net
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 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.
Full logs & etc are available if required
Cheers.....
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org