[rt-users] rt-server.fcgi hangs

Parish, Brent bparish at cognex.com
Mon Feb 1 16:26:01 EST 2016


Hi

Unfortunately, problems like this can be related to so many things that it becomes time consuming to go back and forth a lot to troubleshoot it.

I’m not sure if that’s why you received no responses last time or not, but it definitely had me leaning towards not responding.

If you want to be sure to get it up and running, you can always engage Best Practical for that – they offer consulting and professional services, a hosted option, all sorts of goodies.

If you want to get it running to “kick the tires” and see what its all about, I can imagine you would want to set it up yourself first to play with it.

What platform are you running it on?
What version of RT did you download from Best Practical?
(it looks like maybe a pkg install from the path names)

There is some great documentation on the Best Practical website.
This page covers the various ways to set up the web server:
https://www.bestpractical.com/docs/rt/4.4/web_deployment.html


-          Brent




From: rt-users [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Joseph Mays
Sent: Monday, February 01, 2016 3:54 PM
To: rt-users at lists.bestpractical.com
Subject: [rt-users] rt-server.fcgi hangs

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<mailto:mays at win.net>
Sent: Wednesday, March 25, 2015 12:45 PM
To: Joseph Mays<mailto:mays at win.net>
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<mailto:mays at win.net>
Sent: Tuesday, March 24, 2015 5:04 PM
To: rt-users at lists.bestpractical.com<mailto: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<mailto: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/7664792c/attachment.html>


More information about the rt-users mailing list