FASTCGI Problems

Alle,

I've just installed 3.0.1 (fastcgi) alongside 2.0.15 (mod_perl1). I've

added the following lines to httpd.conf, but receive these errors in the
Apache error_log and a connection refused when attempting to access the
server. Can someone please point out my errors? I’ve searched the mailing
lists and found some errors that are close, but they are supposed to have
been fixed in 2.0.77.

httpd.conf:

<VirtualHost *:9999>
DocumentRoot /usr/local/rt3/share/html
ServerName hilo
AddHandler fast-cgi-script fcgi fcgi fpl
AddDefaultCharset UTF-8
FastCgiServer /usr/local/rt3/bin/mason_handler.fcgi
Alias /NoAuth/images /usr/local/rt3/share/html/NoAuth/images
ScriptAlias / /usr/local/rt3/bin/mason_handler.fcgi/

SetHandler fastcgi-script
PerlHandler RT::Mason

error_log:

Insecure dependency in require while running setgid at
/usr/local/rt3/lib/RT/I18N.pm line 82.
Compilation failed in require at /usr/local/rt3/bin/mason_handler.fcgi line
28.
[Tue Apr 29 13:55:43 2003] [warn] FastCGI: server
"/usr/local/rt3/bin/mason_handler.fcgi" (pid 18635) terminated by calling
exit with status ‘255’
[Tue Apr 29 13:55:43 2003] [warn] FastCGI: server
"/usr/local/rt3/bin/mason_handler.fcgi" has failed to remain running for 30
seconds given 3 attempts, its restart interval has been backed off to 600
seconds

Best Regards,
Camron

Camron W. Fox
Hilo Office
High Performance Computing Group
Fujitsu America, INC.
E-mail: cwfox@fujitsu.com
Phone: (808) 934-4102
Pager: (808) 934-1290
Cell: (808) 937-5026

Hi all,

We’ve discovered a possible bug during testing the latest build:

Box is a new Debian install
RT-3.0.2pre4
Apache 1.2.27
Perl 5.8.0

When I submit a ticket via email, then log in to RT and answer that
ticket, no correspondence is sent. If I answer tickets submitted by
anyone else, it works…

Logging shows:
Apr 30 12:54:14 rt RT:
rt-3.0.2pre4-9720-32933.4.21643032322294@morenet.net.nz #9720/32933 -
Scrip 35 Correspond (/usr/local/rt3/lib/RT/Action/SendEmail.pm:91)
Apr 30 12:54:14 rt RT:
rt-3.0.2pre4-9720-32933.4.21643032322294@morenet.net.nz No recipients
found. Not sending. (/usr/local/rt3/lib/RT/Action/SendEmail.pm:170)

We’re using the global correspond scrip.
RT does record the correspondence as being sent.

Cheers,
Gordon

Alle,

I’ve just installed 3.0.1 (fastcgi) alongside 2.0.15 (mod_perl1). I’ve
added the following lines to httpd.conf, but receive these errors in
the
Apache error_log
[snip]

error_log:

Insecure dependency in require while running setgid at
/usr/local/rt3/lib/RT/I18N.pm line 82.
Compilation failed in require at /usr/local/rt3/bin/mason_handler.fcgi
line
28.
[Tue Apr 29 13:55:43 2003] [warn] FastCGI: server
"/usr/local/rt3/bin/mason_handler.fcgi" (pid 18635) terminated by
calling
exit with status ‘255’
[Tue Apr 29 13:55:43 2003] [warn] FastCGI: server
"/usr/local/rt3/bin/mason_handler.fcgi" has failed to remain running
for 30
seconds given 3 attempts, its restart interval has been backed off to
600
seconds

I fixed this by removing the s-bit from the mason_handler.fcgi file.
Seems to work for me, but my RT3 instance is not running in a
production environment, and it directly contradicts the documentation
of how to run RT with FastCGI.

Maybe someone with detailed knowledge of the subject could comment?

Regards,
Harald Wagener

Harald Wagener * FCB/Wilkens * An der Alster 42 * 20099 Hamburg

-----Original Message-----
From: Harald Wagener [mailto:hwagener@hamburg.fcb.com]
Sent: Tuesday, April 29, 2003 23:18
To: Camron W. Fox
Cc: Rt-Users@Lists. Fsck. Com
Subject: Re: [rt-users] FASTCGI Problems.

Alle,

I've just installed 3.0.1 (fastcgi) alongside 2.0.15

(mod_perl1). I’ve

added the following lines to httpd.conf, but receive these errors in
the
Apache error_log
[snip]

error_log:

Insecure dependency in require while running setgid at
/usr/local/rt3/lib/RT/I18N.pm line 82.
Compilation failed in require at /usr/local/rt3/bin/mason_handler.fcgi
line
28.
[Tue Apr 29 13:55:43 2003] [warn] FastCGI: server
"/usr/local/rt3/bin/mason_handler.fcgi" (pid 18635) terminated by
calling
exit with status ‘255’
[Tue Apr 29 13:55:43 2003] [warn] FastCGI: server
"/usr/local/rt3/bin/mason_handler.fcgi" has failed to remain running
for 30
seconds given 3 attempts, its restart interval has been backed off to
600
seconds

I fixed this by removing the s-bit from the mason_handler.fcgi file.
Seems to work for me, but my RT3 instance is not running in a
production environment, and it directly contradicts the documentation
of how to run RT with FastCGI.

Maybe someone with detailed knowledge of the subject could comment?

Regards,
Harald Wagener


Harald Wagener * FCB/Wilkens * An der Alster 42 * 20099 Hamburg

Alle,

FYI, after some more digging, I found somethings on the rt-devel and

announce lists (below) that address the issue. It’s resolved in RT-3-0-2pre3
and should be fixed in the prodsuction release of RT-3-0-2, which should be
sometime soon (last week?), yes, Jesse?

http://lists.fsck.com/pipermail/rt-announce/2003-April/000065.html
http://lists.fsck.com/pipermail/rt-announce/2003-April/000066.html

Best Regards,
Camron

Camron W. Fox
Hilo Office
High Performance Computing Group
Fujitsu America, INC.
E-mail: cwfox@fujitsu.com
Phone: (808) 934-4102
Pager: (808) 934-1290
Cell: (808) 937-5026

Was a bug in 3.0.1. fixed in the 3.0.2 prereleases.On Wed, Apr 30, 2003 at 11:18:03AM +0200, Harald Wagener wrote:

On Mittwoch, April 30, 2003, at 02:09 Uhr, Camron W. Fox wrote:

Alle,

I’ve just installed 3.0.1 (fastcgi) alongside 2.0.15 (mod_perl1).
I’ve
added the following lines to httpd.conf, but receive these errors in
the
Apache error_log
[snip]

error_log:

Insecure dependency in require while running setgid at
/usr/local/rt3/lib/RT/I18N.pm line 82.
Compilation failed in require at /usr/local/rt3/bin/mason_handler.fcgi
line
28.
[Tue Apr 29 13:55:43 2003] [warn] FastCGI: server
"/usr/local/rt3/bin/mason_handler.fcgi" (pid 18635) terminated by
calling
exit with status ‘255’
[Tue Apr 29 13:55:43 2003] [warn] FastCGI: server
"/usr/local/rt3/bin/mason_handler.fcgi" has failed to remain running
for 30
seconds given 3 attempts, its restart interval has been backed off to
600
seconds

I fixed this by removing the s-bit from the mason_handler.fcgi file.
Seems to work for me, but my RT3 instance is not running in a
production environment, and it directly contradicts the documentation
of how to run RT with FastCGI.

Maybe someone with detailed knowledge of the subject could comment?

Regards,
Harald Wagener


Harald Wagener * FCB/Wilkens * An der Alster 42 * 20099 Hamburg


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

http://www.bestpractical.com/rt – Trouble Ticketing. Free.