Adrian Klingel wrote: [...]
[...]waiting for server to start: .[Thu Mar 27 16:50:41 2003] [crit] [Thu Mar 27 16:50:41 2003] file vhost.c, line 232, assertion "rv == APR_SUCCESS" failed
If anyone can help, please do. Any help is deeply appreciated!
This is the relevant code in vhost.c (httpd-side):
else if (strcasecmp(host, "_default_") == 0
|| strcmp(host, "255.255.255.255") == 0) {
rv = apr_sockaddr_info_get(&my_addr, "255.255.255.255", APR_INET, port, 0, p);
ap_assert(rv == APR_SUCCESS); /* must be bug or out of storage */
}
so apr_sockaddr_info_get() fails, is your system ipv6 by chance?
it probably fails on the first <VirtualHost _default_> entry.
could you interactively start with gdb and see where it fails in apr_sockaddr_info_get? The following script may get it easier for you:
/tmp/debug: file ~/httpd/prefork/bin/httpd tbreak main run -d `pwd`/t -f `pwd`/t/conf/httpd.conf -DONE_PROCESS -DNO_DETATCH -DAPACHE2 # run through all the way to after mod_perl is loaded b load_module continue b apr_sockaddr_info_get
now:
% cd modperl-2.0 % gdb -command=/tmp/debug
p.s. I prefer using ddd which runs gdb underneath, if you use ddd, the syntax is the same:
% ddd -command=/tmp/debug
__________________________________________________________________ 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