Ubuntu 10.04.3 LTS
I have a strange Problem with my Test-Environment RT based on RT 4.0
if i try to restart apache and get on the webif there comes an apache
error and the last lines from the apache log says the following :
Compilation failed in require at /opt/rt4/sbin/…/lib/RT/Config.pm line 904.
[Mon Mar 26 15:36:21 2012] [warn] [client 192.168.112.1] (104)Connection
reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Mar 26 15:36:21 2012] [error] [client 192.168.112.1] Premature end of
script headers: rt-server.fcgi
[Mon Mar 26 15:36:27 2012] [notice] mod_fcgid: process
/opt/rt4/sbin/rt-server.fcgi(7393) exit(communication error), terminated by
calling exit(), return code: 255
[Tue Mar 27 09:13:24 2012] [warn] module fcgid_module is already loaded,
[Tue Mar 27 09:13:24 2012] [notice] Apache/2.2.14 (Ubuntu) mod_fcgid/2.3.4
mod_perl/2.0.4 Perl/v5.10.1 configured – resuming normal operations
the configs are standard and very similar to the readme example:
here is the RT_Siteconfig:
Any configuration directives you include here will override
RT’s default configuration file, RT_Config.pm
To include a directive here, just copy the equivalent statement
from RT_Config.pm and change the value. We’ve included a single
sample value below.
This file is actually a perl module, so you can include valid
perl code, as well.
The converse is also true, if this file isn’t valid perl, you’re
going to run into trouble. To check your SiteConfig file, use
perl -c /path/to/your/etc/RT_SiteConfig.pm
You must restart your webserver after making changes to this file.
Set( $rtname, ‘example.com’);
You must install Plugins on your own, this is only an example
of the correct syntax to use when activating them.
There should only be one @Plugins declaration in your config file.
#Set($LogToFileNamed , “rt.log”);
#Set($WebBaseURL , “http://ipadress/rt”);
#Set($CorrespondAddress , localhost.localdomain );
#Set($CommentAddress , localhost.localdomain );
And here is the apache one:
#AddHandler fcgid-script .fcgi
Alias /NoAuth/images/ /opt/rt4/share/html/NoAuth/images/ ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi DocumentRoot "/opt/rt4/share/html" <Location /rt> Order allow,deny Allow from all Options +ExecCGI AddHandler fcgid-script fcgi </Location>
RedirectMatch permanent (.*)/$ http://ipadress$1/index.html
Alias /rt “/opt/rt4/share/html”
#Options FollowSymLinks ExecCGI
#ExpiresByType text/css A3600
#ExpiresByType image/png A3600
#ExpiresByType image/gif A3600
#Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images
#Alias /pics/ /opt/rt3/share/html/NoAuth/images/pics/
#ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
What i have done :
I don’t know where i should have to start in order to fix or at least to
determine the problem …
best regards john s.
View this message in context: http://old.nabble.com/Strange-Error-RT-restart-tp33544776p33544776.html