RH7.3 tried mod_perl, tried FastCGI - no love

Oh woe is me…

Yesterday I began the installation attempt. Did multiple iterations of
cpan fixdeps, installed the apache-devel, and zlib-devel, and
mysql-devel and eventually got the dependencies satisfied and was
feeling pretty smug. Briefly.

It seems that apache and mod_perl don’t get along as is. Since whenever
I have :
PerlRequire /opt/rt2/bin/webmux.pl

in my list of apache directives, apache won’t start, and instead “dies”
taking the “subsys” with it, leading to the horrid :
httpd dead but subsys locked

when I comment that line out, apache is happy. Of course, RT won’t work
without it.

So I move on to trying FastCGI instead. I put in all the appropriate
directives, but when I try and go to the RT site, in the apache error
log I receive :

[Thu Nov 7 17:52:16 2002] [error] [client 10.11.0.60] FastCGI: comm
with server “/opt/rt2/bin/mason_handler.fcgi” aborted: idle timeout (30 sec)

No debugable info there, just a timeout, how can I troubleshoot that?

I see someone (but only one!) has had these issues before :
http://lists.fsck.com/pipermail/rt-users/2002-January/005991.html

that poor schmoe got no love back in January… anyone got any input now?

Cheers,

G

ps. specs :
RH7.3
apache-1.3.23-11
apache-devel-1.3.23-11
mod_perl-1.26-5
mod_fastcgi-2.2.12
rt-2-0-15
mysql-3.23.49-3
mysql-devel-3.23.49-3

This is probably a good time for me to mention Jesse Tilly’s excellent
new RT installation tutorial for IBM DeveloperWorks. Jesse walks you through
RT installation on RedHat 7.3, complete with clearly written
instructions, pretty screenshots and hand-drawn kanji characters.

It’s currently the top article at IBM Developer.
Jesse tells me that he’d love to hear feedback from experienced RT
users.

Best,
Jesse

»|« Request Tracker — Best Practical Solutions – Trouble Ticketing. Free.

It seems that apache and mod_perl don’t get along as is. Since whenever
I have :
PerlRequire /opt/rt2/bin/webmux.pl

in my list of apache directives, apache won’t start, and instead “dies”
taking the “subsys” with it, leading to the horrid :
httpd dead but subsys locked

What does /var/log/httpd/error_log say is missing? I have
it working (not well tested, but working…) with RH 7.3 and
the stock apache with mod_perl as a DSO. You have to use the
RH init script that starts it with -DHAVE_PERL (among other
modules) on the command line.

I made a DNS CNAME for rt so I could use a named
vhost and not tie the URL’s to any physical machine
or path:

NameVirtualHost *

<VirtualHost *>
ServerAdmin les+rt@futuresource.com
DocumentRoot /opt/rt2/WebRT/html
ServerName rt.futuresource.com
ServerAlias rt www.rt.futuresource.com
PerlModule Apache::DBI
PerlRequire /opt/rt2/bin/webmux.pl

SetHandler perl-script
PerlHandler RT::Mason

Hmmm, I think I had to use CPAN to install Apache::DBI
in addition to all the stuff the fixdeps script got.

Les Mikesell
les@futuresource.com