On Tue, 12 Nov 2002, Roelf Diedericks wrote:

> I've tried a whole lot of things to get a simple product called
>  "yabb Gold SP1" (Yet Another Bulletin Board, available at 
> http://www.yabbforum.com/downloads.php?file=./downloads/Y1Gold_SP1.1_pl.zip)
> working with modperl-2, and apache on Win32.
> 
> Yabb is a basic forum/bulletin board system that uses textfiles for storage,
> so no database is required.
> 
> Try number 1:
> apache_2.0.43-win32-x86-no_ssl.msi, ActivePerl-5.6.1.633-MSWin32-x86.msi
> and mod_perl2 (ftp://theoryx5.uwinnipeg.ca/pub/other/Apache2.tar.gz)
> 
> No luck. The script simply hangs. All amount of debugging
> showed that it hangs when it does the first jump into a
> subroutine &LoadCookies(); in the code.  It never even reaches
> the sub. All amounts of debugging the 'require's etc turned out
> fine, no problems there. The first jump to a sub, defined in an
> external file seemed to kill apache. The apache child actually
> dies.

Others have also noticed this problem - it seems to be with
some threading stuff in 5.6.1 that is improved in 5.8.

> 
> Attempt number 2: Using Randy's huge perl-5.8-win32-bin.tar.gz
> default extract, and install. At least the script runs
> partially (I get some output) but the apache slave still dies
> somewhere near the end of processing the cgi.

Any error messages when it dies? Can you track down
where it dies?

> 
> The relevant httpd.conf section I added everytime was:
>  <Location /yabb>
>       PerlHandler ModPerl::Registry
>       Options +ExecCGI
>       PerlOptions +ParseHeaders
> </Location>
> 
> I've also tried these tests with ModPerl::PerlRun, to even worse effect.
> 
> I've been able to use HTML::Mason quite brilliantly but I really need
> yabb for a current project. I'm just about to give up on mod_perl and
> apache on win32 as being too unstable for this project, and I'm not
> interested in trying apache 1.3.x on win32 due to the threading issues.

mod_perl-2 is still in the development stage. To try to track
the problem down ...
- does this work as an ordinary cgi script satisfactorily?
- does it 'use strict' and 'use warnings'?
- is it known to work on mod_perl-2/Apache-2 on linux?

-- 
best regards,
randy kobes

Reply via email to