[rt-users] Internal Server Error with a FastCGI install

John rt_mail_lists at no1.net.au
Fri Jun 25 12:13:26 EDT 2004


Sorry to bother you kind folks with a boring issue... but I am in dire 
need and will really appreciate any input... even point me in the right 
direction and I can research more would be appreciated.... I have been 
slogging this out for over a week now with gradual success... it is time 
to ask for help...

I have successfully installed Apache/2.0.49 (Unix) DAV/2 
mod_fastcgi/2.4.2 Server, along with MySQL and Postfix on an OpenBSD box.
All perl dependancies are now sorted (thanks to CPAN my new friend!!!)

Reason for Fastcgi was because we want 2 or 3 installs for different 
companies on the one server.

 >>Present predicament<<
When I go to the url, I simply get a generic "Internal Server Error"  
message (I did, for a short time et the login screen but could not log 
in, it went to a 404 screen and the logo was missing, but that is all 
gone now)

I am expecting this all has something to do with my Apache config...so 
the following snips are what I have in the httpd.conf file
########>> Section for RT bits <<#####################
#
LoadModule fastcgi_module modules/mod_fastcgi.so
# AddModule mod_fastcgi.c
# LoadModule perl_module        libexec/libperl.so
# AddModule mod_perl.c
AddHandler fastcgi-script fcgi
# FastCgiServer /opt/rt3/bin/mason_handler.fcgi

(btw the username and group settings are listed before my RT bits 
section - I found this to be important with permissions)

#############<< Virtual Host >>###############
<VirtualHost 192.168.1.100>
ServerName rt.crusty.no1.com.au
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8

ErrorLog logs/error/rt.crusty
CustomLog logs/xfer/rt.crusty combined

# this line applies to Apache2+mod_perl2 only  # PerlModule Apache2 
Apache::compat

# PerlModule Apache::DBI
# PerlRequire /opt/rt3/bin/webmux.pl

ScriptAlias / /opt/rt3/bin/mason_handler.fcgi
Alias /NoAuth/images/rt.jpg /opt/rt3/share/html/NoAuth/images/rt.jpg

#<Location />
# SetHandler perl-script
# PerlHandler RT::Mason
#</Location>
</VirtualHost>

:::::::::::::::::::::Processes Running
root      8898  0.0  0.4  1056   228 ??  Ss     1:14AM    0:00.24 
/usr/local/apache2/bin/httpd -k start
www      27077  0.0  0.8  1056   520 ??  S      1:14AM    0:00.08 
/usr/local/apache2/bin/fcgi- -k start (httpd)
(more Apaches)
www      16976 38.4 11.9  6096  7716 ??  R      2:05AM    0:01.01 
/usr/bin/perl /opt/rt3/bin/mason_handler.fcgi
(up to 10 of these spawn)

::::::::::::::::::::::Logs
sample of .../apache2/logs/error_logs
[Sat Jun 26 02:05:17 2004] [warn] FastCGI: (dynamic) server 
"/opt/rt3/bin/mason_handler.fcgi" (pid 10459) termination signaled
[Sat Jun 26 02:05:17 2004] [warn] FastCGI: (dynamic) server 
"/opt/rt3/bin/mason_handler.fcgi" (pid 10459) terminated due to uncaught 
signal '15' (Terminated)
[Sat Jun 26 02:05:42 2004] [warn] FastCGI: (dynamic) server 
"/opt/rt3/bin/mason_handler.fcgi" restarted (pid 20996)

sample of .../apache2/logs/error/rt.crusty
[Sat Jun 26 02:06:13 2004] [error] [client 192.168.1.42] FastCGI: comm 
with (dynamic) server "/opt/rt3/bin/mason_handler.fcgi" aborted: (first 
read) idle timeout (30 sec)
[Sat Jun 26 02:06:14 2004] [error] [client 192.168.1.42] FastCGI: 
incomplete headers (0 bytes) received from server 
"/opt/rt3/bin/mason_handler.fcgi"
________________________________________________________________________________________________________ 


Have I provided enough information? If I have missed something, please 
let me know and I will get it asap...

I  did successfully install an RT2 about 1 year ago on a FreeBSD box but 
it broke when we updated our MySQL

Any help would be appreciated, I am not expecting anybody to do this for 
me but my head is getting sore from the brick wall in front of me

Thank you for your time

John



More information about the rt-users mailing list