[rt-users] RT server crashing unexpectedly with Premature end of script headers: rt-server.fcgi

Dillon McDowell dmcdowell at costco.com
Mon Aug 18 14:30:17 EDT 2014

Thanks, Alex.  Here's my httpd.conf file, with the commented lines removed:

ServerRoot "/rt/httpd"
Listen 8080

LoadModule fcgid_module modules/mod_fcgid.so
FcgidMaxRequestLen 1073741824

User rt
Group rt
ServerAdmin isqart at costco.com
ScriptAlias / /rt/rt4/sbin/rt-server.fcgi/
DocumentRoot "/rt/rt4/share/html"
AddDefaultCharset UTF-8

<Location />
        Order allow,deny
        Allow from all
        Options +ExecCGI
        AddHandler fcgid-script fcgi

ErrorLog "logs/error_log"

LogLevel debug

<IfModule log_config_module>

    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common

    <IfModule logio_module>
      # You need to enable mod_logio.c to use %I and %O
      LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\" %I %O" combinedio

    CustomLog "logs/access_log" common


DefaultType text/plain

<IfModule mime_module>

    TypesConfig conf/mime.types

    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz


LoadModule ssl_module modules/mod_ssl.so

<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin

Listen 8443
<VirtualHost *:8443>
ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log
LogLevel warn
SSLEngine on
SSLProtocol all -SSLv2
SSLCertificateFile /rt/httpd/conf/lapqrt01094p01.cer
SSLCertificateKeyFile /rt/httpd/conf/lapqrt01094p01.key
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
    SSLOptions +StdEnvVars
<Directory "/var/www/cgi-bin">
    SSLOptions +StdEnvVars
SetEnvIf User-Agent ".*MSIE.*" \
         nokeepalive ssl-unclean-shutdown \
         downgrade-1.0 force-response-1.0

Thank you,

*Dillon J. McDowell*
*Information Systems*
QA Tools Integration | Test Environment Verification
<dmcdowell at costco.com>   |  425-416-8922

On Mon, Aug 18, 2014 at 11:19 AM, Alex Vandiver <alexmv at bestpractical.com>

> On 08/18/2014 01:47 PM, Dillon McDowell wrote:
> > [critical]: Can't use an undefined value as an ARRAY reference at
> > */RT/PlackRunner.pm line 136.
> This means that rt-server isn't being passed the right arguments to
> start up; it has nothing to do with the browser.  Please show your
> Apache configuration.
>  - Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140818/94041150/attachment.htm>

More information about the rt-users mailing list