RT dying with "Internal server error" (premature end of script in CGI)?


Greetings to all,

We have installed RT in a small office network environment with 4 Windows 2000
machines and a Linux box where RT is running on Apache 1.3.12 .

When accessing the RT CGI’s from any machine on the network, we get frequent
"Internal Server Error", which goes away after a few manual reloads of the page,
but appears again when navigating within RT.

The Apache error log consistently gives

 Premature end of script headers: /opt/rt/bin/cgi/webrt.cgi

for each occurrence.

I have read up on Apache’s manual page, and it gives several possibilities:

  1. Perl’s output buffering
  2. RLimitCPU and RLimitMEM directives
  3. configuration problem in suEXEC, mod_perl, or another third party module

Since we do not have (2) in our Apache conf., and I assume that the scripts are
not run through mod_perl, at this stage I’m left with (1). However, if it were
(1), then I assume lots of folks must have run into similar problems.

Can anyone help shed some light on this problem ?

Kind regards,

Michael B�tow
Hetzner Africa
P.O. Box 3450
Durbanville 7551
South Africa
Tel +27 21 975 7930
Fax +27 21 975 7931
email: mb@hetzner.co.za