Trouble with Apache::Test while testing mod_perl 1.99_12

2004-02-02 Thread Andrew Wyllie
I'm running into a problem trying to test mod_perl. When I run make test, it looks like all the servers are starting up properly, but the test script says it's still waiting for the server to start up. If I suspend the make test process and just telnet to localhost 8529, the server responds

Re: [MP2 CVS] configure error

2004-02-02 Thread Stas Bekman
Jie Gao wrote: [...] Also is it possible that your machine is slow and you need more time to start the server (our test suite take a *long* time to start under threaded mpms)? So please try: t/TEST -start -startup_timeout 300 though I doubt that this is the reason. It turned out this was the rea

Re: GIF contents not "coming out"

2004-02-02 Thread Stas Bekman
Chris Drake wrote: Hi Stas, Thanks for the pointers. I've spent another hour on the problem, and found that this fixes it:- print "Content-type: image/gif\r\n\r\n"; local $| = 1; print ""; (interestingly, omitting the empty print causes the problem to come back); This only happens with GIF data

Re: [mp2] Am I leaking memory?

2004-02-02 Thread Stas Bekman
Beau E. Cox wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: I've got my Mason w/mod_perl2 and libapreq2 system up and running OK, but... Using a simple script that totals ALL httpd processes' memory usage (from /proc/pid/status) I get this before a

Re: [MP2 CVS] configure error

2004-02-02 Thread Stas Bekman
Jie Gao wrote: [...] make test error: [...] waiting 180 seconds for server to start: giving up after 181 secs !!! server failed to start! (please examine t/logs/error_log) [...] -D APACHE_MPM_DIR="server/mpm/worker" osname=solaris, osvers=2.9, archname=sun4-solaris-thread-multi uname='suno

internal_redirect to randomly named filename

2004-02-02 Thread [EMAIL PROTECTED]
Hi All, Since lookup_uri() is only to be used when the actual URI physically exists. Having said that how does not tell it to pretend that a randomly generated virtual file exists? Is that what lookup_filename() is for? I am wanting to do a internal_redirect() to a virtual file whose name is al

Re: [mp2] Am I leaking memory?

2004-02-02 Thread Joe Schaefer
"Beau E. Cox" <[EMAIL PROTECTED]> writes: [...] > The only place in my Mason changes I can see anything funny is: > > # This gets the proper request object all in one fell swoop. We > # don't want to copy it because if we do something like assign an > # Apache::Request object to a v

[mp2] Am I leaking memory?

2004-02-02 Thread Beau E. Cox
-8<-- Start Bug Report 8<-- 1. Problem Description: I've got my Mason w/mod_perl2 and libapreq2 system up and running OK, but... Using a simple script that totals ALL httpd processes' memory usage (from /proc/pid/status) I get this before any requests into

Re: [mp2] Attempt to free unreferenced scalar: ...

2004-02-02 Thread Beau E. Cox
On Friday 30 January 2004 07:03 pm, Stas Bekman wrote: > Beau E. Cox wrote: > > -8<-- Start Bug Report 8<-- > > 1. Problem Description: > > > > I am trying to port Mason to mod_perl2 w/libapreq2. It seems I have > > munged it up. When 'stressing' the site (do

Re: [MP2 CVS] configure error

2004-02-02 Thread Stas Bekman
Jie, please always submit a complete bug report, as explained here: http://perl.apache.org/bugs/ Using 5.8.3 with the latest CVS, running /usr/local/perl-5.8.3_threaded/bin/perl Makefile.PL MP_USE_DSO=1 MP_APXS=/usr/local/WASM_Sessions_Checker_apache_2.0.48/bin/apxs MP_TRACE=1 gives the following

[MP2 CVS] configure error

2004-02-02 Thread Jie Gao
Hi All, Using 5.8.3 with the latest CVS, running /usr/local/perl-5.8.3_threaded/bin/perl Makefile.PL MP_USE_DSO=1 MP_APXS=/usr/local/WASM_Sessions_Checker_apache_2.0.48/bin/apxs MP_TRACE=1 gives the following errors: *** dir '/usr/local/WASM_Sessions_Checker/htdocs/conf' does not exist (while

Re: Make test fails on Solaris 8

2004-02-02 Thread Ged Haywood
Hello again, On Mon, 2 Feb 2004, Mark Round wrote: > [snip] > saw this when requesting one of these URLS :- > [snip] > stat64("/home/dougm/lib/perl/mod_perl_hooks.pmc", 0xFFBEF170) (sleeping...) Have you done everything in .../mod_perl-1.29/t/README and do the configuration files in there diff

Re: Make test fails on Solaris 8

2004-02-02 Thread Mark Round
The saga continues... Further information - I don't know if this is of any use. I have definitely narrowed it down to making a HHTP request to /perl/perl-status?hooks or /perl/perl-status?symdump on the newly built httpd. I ran a truss on the process (I'm not really a guru at interpreting the

Re: Make test fails on Solaris 8

2004-02-02 Thread Mark Round
Ged Haywood wrote: Have you compared the output of 'perl -V' from the two machines in excruciatingly fine detail? Yes - they are identical. Even ran them through 'diff' to make sure... -Mark -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.

Re: Make test fails on Solaris 8

2004-02-02 Thread Ged Haywood
Hello again, On Mon, 2 Feb 2004, Mark Round wrote: > Any further thoughts ? Have you compared the output of 'perl -V' from the two machines in excruciatingly fine detail? 73, Ged. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html Lis

Re: [mp2] $r->status does not accept a valid parameter

2004-02-02 Thread Geoffrey Young
> I've got this other thing I'm hung up on. A response > to an OPTIONS method should not return a content type. > Apache by default does not return one for this > method. I can't seem to find a way to disable sending > a content-type header line. I was hoping calling > rflush would work, but n

Re: Make test fails on Solaris 8

2004-02-02 Thread Mark Round
Hi, thanks for the feedback... No need to change it, just compile it. :) Unfortunately, this is a last-case resort - we have standardised on that particular Perl version, in the documented and tested server builds. Not perhaps the ideal situation - but what's confusing me is that it works o

Re: Authen::NTLM

2004-02-02 Thread Shannon Eric Peevey
Hi! Am forwarding this to the modperl list. Unfortunately, I don't have a mac to test this on :( speeves cws Joep Mathijssen wrote: We're using Authen::NTLM within an Intranet. The server runs Apache 1.3 and mod_perl-1.29. Everything works like a dream. Even Mozilla's and Safari's etc connect f

Re: Make test fails on Solaris 8

2004-02-02 Thread Ged Haywood
Hello there, On Mon, 2 Feb 2004, Mark Round wrote: > I have a problem with building mod_perl on Solaris 8. > ... > OS: Solaris 8 2/02 > GCC - tried various 3.x versions and 2.95.3 > Perl : 5.6.1 from SunFreeware I think you should build that yourself. I notice that 'useperlio' is 'undef' in you

Make test fails under Solaris 8

2004-02-02 Thread Round, Mark
Title: Make test fails under Solaris 8 Hi All, I have a problem with building mod_perl on Solaris 8. Firstly, a quick overview of my setup (more detailed output from everything at the end) :- OS: Solaris 8 2/02 GCC - tried 3.x and 2.95.3 Perl : 5.6.1 from SunFreeware Apache : 1.3.29 Mod_Per

Make test fails on Solaris 8

2004-02-02 Thread Mark Round
Hi All, I have a problem with building mod_perl on Solaris 8. Firstly, a quick overview of my setup (more detailed output from everything at the end) :- OS: Solaris 8 2/02 GCC - tried various 3.x versions and 2.95.3 Perl : 5.6.1 from SunFreeware Apache : 1.3.29 Mod_Perl : 1.29 I can't change the

Re: 'make test' fails to start server.

2004-02-02 Thread Stas Bekman
konsu wrote: thanks for the quick response. Great. Not mp2, but Apache-Test (which is included in the mp2 distro). So the patch does solve the problem? i did not try to apply the patch (i do not know of any tool to do it), I've updated the patch for the current cvs source (the original one wo