[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rt4 + mod_perl + mod_ssl segfault



On Thu, Aug 25, 2011 at 03:55:38PM -0400, Phillip Frost wrote:
> I just recently set up a squeeze install, pulling request-tracker4 from squeeze-backports. I had it all working through apache2 and mod_perl. Wanting to employ SSL, I ran 'a2enmod ssl'. After that point, apache would segfault at starup, or indeed even at apache2ctl -t (after outputting "Syntax OK"). Simply disabling mod_ssl would get me back to a working config. This is all before I even changed the apache or RT configuration from the pre-SSL, working state; just the loading of mod_ssl seems to cause the segfault.
> 
> Through a process of pure trial and error (I'm no Perl hacker) I was able to get SSL and my RT installation working by commenting the following lines in /etc/request-tracker4/apache2-modperl2.conf, which I was including from my site in /etc/apache/sites-available/rt:
> 
> #<Perl>
> #  use Plack::Handler::Apache2;
> #  Plack::Handler::Apache2->preload("/usr/share/request-tracker4/libexec/rt-server");
> #</Perl>
> 
> I guess this preloads the module in the apache parent process instead of requiring each child to load it. Not sure why that makes any difference, and things seem to be running fine without it so that's what I'll do for now.
> 
> Sorry I can't provide a better bug report, but I thought something would be better than nothing since I couldn't find any previous mention of it. If there are any questions please Cc me; I'm not on the list.

This looks like the same bug as #632129 (CCed), which Niko wasn't able
to reproduce.

As he suggested, stripping away other bits of Apache configuration
to see if the problem goes away would be one way forward.

Cheers,
Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)


Reply to: