William McKee wrote:
Stas,
It's been awhile, but I'm back to working on these tests under FreeBSD
5.3 with mp2. I'm using the current release (2.0.0) with Apache 2.0.54.
The root of many of my problems appears to be how Apache is resolving my
localhost address. Apparently FBSD resolves localhost to my Jail IP.
Apache is expecting the more usual 127.0.0.1. I was able to resolve the
issues reported below by adding the following line to my /etc/hosts file
above all other definitions:
192.168.1.1 localhost
Great! William, can you please write a new entry for the troubleshooting
chapter? With a full diagnosis and the solution? Really it should belong
to the Apache-Test troubleshooting, but as at the moment it doesn't exist,
we will just put it into the mp2's one.
http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html
Assuming my jail ip was 192.168.1.1 this works and most tests are now
pasing. Thanks for bearing with me while I came to an understanding
about the behavior of localhost within a jail.
Currently, I'm still having troubles with t/filter/both_str_con_add.t.
Here's the output:
t/filter/both_str_con_add....1..4
[...]
In both cases, the first string works but the following ones are
failing. My guess is that the culprit is
my $socket = Apache::TestRequest::vhost_socket
which is used across all three of the failing tests. I'll try to spend
some more time on it later today.
Also, the t/protocol/echo_filter.t test is failing. It runs tests 1 and
2 then keeps running until it fills up the disk space then dumps a
massive core file. I'm just skipping it for now.
Yeah, I guess you are hitting again the non-blocking socket issue FreeBSD.
Please check the archives (I think on the dev list) talking about passing
some special flag while building libapr to make the sockets work right.
Unfortunately it didn't end up in the docs and I don't have the info handy.
--
__________________________________________________________________
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