<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.18.3">
</HEAD>
<BODY>
Thank you for your help. It's a bit better but I have a problem apparently apache2 configuration. Here is the message I log in apache2:<BR>
<BR>
[warn] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds<BR>
<BR>
An idea?<BR>
<BR>
Thank you<BR>
<BR>
<BR>
-------- Message transféré --------<BR>
<B>De</B>: Hugh Esco <<A HREF="mailto:Hugh%20Esco%20%3chesco@greens.org%3e">hesco@greens.org</A>><BR>
<B>Répondre à</B>: <A HREF="mailto:hesco@campaignfoundations.com">hesco@campaignfoundations.com</A><BR>
<B>À</B>: <A HREF="mailto:jose.fernandez@naxos-fr.net">jose.fernandez@naxos-fr.net</A>, <A HREF="mailto:rt-users@lists.bestpractical.com">rt-users@lists.bestpractical.com</A><BR>
<B>Sujet</B>: Re: [rt-users] RT With FastCGI<BR>
<B>Date</B>: Mon, 21 Dec 2009 09:44:39 -0800 (PST)<BR>
<BR>
<PRE>
I would start by giving a real path to your DocRoot and
ScriptAlias lines.  Lose the extra space between '/' and
'opt...'

Restart apache and test again.

-- Hugh Esco
<A HREF="http://CampaignFoundations.com/">http://CampaignFoundations.com/</A>

From: =?ISO-8859-1?Q?jos=E9?= fernandez <<A HREF="mailto:jose.fernandez@naxos-fr.net">jose.fernandez@naxos-fr.net</A>>
To: <A HREF="mailto:rt-users@lists.bestpractical.com">rt-users@lists.bestpractical.com</A>
Date: Mon, 21 Dec 2009 16:13:37 +0100
Subject: [rt-users] RT With FastCGI

Hello,

I want to use FastCGI with RT. So I installed the modules
libcgi-fast-perl and libapache2-mod-fastcgi of Apache2 and Apache2 is my
configuration:

<VirtualHost X.x.x.x:80>

        ServerName <A HREF="http://www.example.com">www.example.com</A>
        DocumentRoot /opt/rt3/share/html

        ErrorLog / var/log/apache2/rt/error.log
        CustomLog / var/log/apache2/rt/access.log combined
       
       AddHandler fastcgi-script fcgi
       ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi /
       <Directory "/opt/rt3">
       Options FollowSymLinks ExecCGI
       AllowOverride None
       </ Directory>

</ VirtualHost>

apache2.conf then I added:

# Number of processes is tunable, but you need at least 3 or 4
FastCgiServer /opt/rt3/bin/mason_handler.fcgi-idle-timeout
120-processes 4

I have an error message and can not access RT because I have a 500
error. When I checked my logs this is what I have:

FastCGI: comm with server "/ opt/rt3/bin/mason_handler.fcgi" aborted:idle timeout (30 sec)
 FastCGI: incomplete headers (0 bytes) received from server "/opt/rt3/bin/mason_handler.fcgi"

Have you an idea of the problem?

Thank you
</PRE>
<BR>
</BODY>
</HTML>