[rt-users] rt-server.fcgi hangs

Joseph Mays mays at win.net
Mon Feb 1 15:53:41 EST 2016


This is interesting. I wound up tabling RT for almost a year, am just now getting back to it and started over with installing it from scratch. I got it all set up, runs fine run from the command line on port 8080, went back to installing it under a new virtual host, got an error message, tried to figure it out, went looking for information on it, searched the mailing list, and found that I had asked about the same error message a year ago and never got a response.

Error message is: FastCGI: incomplete headers (0 bytes) received from server "/usr/local/sbin/rt-server.fcgi"

I’ll repost what my virtual host config is now....

FastCgiServer /usr/local/sbin/rt-server.fcgi -processes 5 -idle-timeout 300

<VirtualHost *:80>
    AddDefaultCharset UTF-8
    ScriptAlias / /usr/local/sbin/rt-server.fcgi/

    DocumentRoot "/usr/local/share/rt42/html"
    <Location />
        Require all granted
        Options +ExecCGI
        AddHandler fastcgi-script fcgi
    </Location>
</VirtualHost>



From: Joseph Mays 
Sent: Wednesday, March 25, 2015 12:45 PM
To: Joseph Mays 
Subject: Re: [rt-users] mod_fastcgi hangs

Tried reinstalling mod_fastcgi and changing the permissions of /usr/local/sbin/rt-server.fcgi to no avail.

From: Joseph Mays 
Sent: Tuesday, March 24, 2015 5:04 PM
To: rt-users at lists.bestpractical.com 
Subject: [rt-users] mod_fastcgi hangs

Running mod_fastcgi under apache 2.4 on FreeBSD 10.1. I believe it’s successfully calling mod_fastcgi now, but in the browser it just hangs. Here’s what I get in the logs when try to pull an info.php from the website....

[Tue Mar 24 16:58:45.988597 2015] [:error] [pid 86182] [client 216.24.33.245:65013] FastCGI: comm with server "/usr/local/sbin/rt-server.fcgi" aborted: idle timeout (300 sec)
[Tue Mar 24 16:58:45.989641 2015] [:error] [pid 86182] [client 216.24.33.245:65013] FastCGI: incomplete headers (0 bytes) received from server "/usr/local/sbin/rt-server.fcgi"
216.24.33.245 - - [24/Mar/2015:16:53:45 -0400] "GET /info.php HTTP/1.1" 500 538

Here’s the vhost config I’m running under.

FastCgiServer /usr/local/sbin/rt-server.fcgi -processes 5 -idle-timeout 300

<VirtualHost *:8080>
    ServerAdmin webmaster at tickets.win.net
    DocumentRoot "/usr/local/www/apache24/data/rt42"
    ServerName tickets.win.net
    ErrorLog "/var/log/tickets.win.net-8080-error_log"
    CustomLog "/var/log/tickets.win.net-8080-access_log" common
    ScriptAlias / /usr/local/sbin/rt-server.fcgi/
    <Location /usr/local/www/apache24/data/rt42>
        AllowOverride None
        Require all granted
    </Location>
    <Location /usr/local/share/rt42/html>
        AllowOverride None
        Require all granted
    </Location>
    <Location /usr/local/sbin>
        AllowOverride None
        Require all granted
    </Location>
    <Location />
        AllowOverride None
        Require all granted
        Options +ExecCGI
        AddHandler fastcgi-script fcgi
    </Location>
</VirtualHost>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20160201/45cd97ea/attachment.htm>


More information about the rt-users mailing list