RT3/Apache2/FastCGI

Hi folks.

I’m trying to install RT3 with FastCGI and Apache2.
The install went fairly well but when i start apache i get the following
errors in apache logs:

[Thu Feb 19 15:35:42 2004] [error] [client 66.38.181.24] FastCGI: comm with server “/usr/local/RT/bin/mason_handler.fcgi” aborted: idle timeout (30 sec)
[Thu Feb 19 15:35:42 2004] [error] [client 66.38.181.24] FastCGI: incomplete headers (0 bytes) received from server “/usr/local/RT/bin/mason_handler.fcgi”
[Thu Feb 19 15:36:25 2004] [warn] FastCGI: server “/usr/local/RT/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

Some info on the install:

skinner# uname -a
FreeBSD skinner 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Thu Feb 5 15:00:15
EST 2004 root@skinner:/usr/src/sys/i386/compile/SKINNER i386

HEAD / HTTP/1.1
HTTP/1.1 400 Bad Request
Server: Apache/2.0.48 (Unix) mod_fastcgi/2.4.2 mod_ssl/2.0.48
OpenSSL/0.9.7c
Connection: close
Content-Type: text/html; charset=iso-8859-1

Any ideas ?

Thanx
Paul

Paul Khavkine
Network Administrator
DISTRIBUTEL Communications.
740 Notre Dame West, Suite 1135
Montreal, Quebec, Canada, H3C 3X6
1-514-877-5505 x 263
http://www.distributel.net

Also. I get the following when i start httpd:

[Thu Feb 19 15:39:09 2004] [warn] FastCGI: server “/usr/local/RT/bin/mason_handler.fcgi” restarted (pid 3913) Can’t locate /usr/local/RT/etc/RT_SiteConfig.pm in @INC (@INC contains: /usr/local/RT/local/lib /usr/local/RT/lib /usr/local/lib/perl5/site_perl/5.8.2/mach /usr/local/lib/perl5/site_perl/5.8.2 /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.2/BSDPAN /usr/local/lib/perl5/5.8.2/mach /usr/local/lib/perl5/5.8.2 .) at /usr/local/RT/lib/RT.pm line 105.Compilation failed in require at /usr/local/RT/bin/mason_handler.fcgi line 28.
[Thu Feb 19 15:39:10 2004] [warn] FastCGI: server “/usr/local/RT/bin/mason_handler.fcgi” (pid 3913) terminated by calling exit with status '13’On Thu, 19 Feb 2004, Paul Khavkine wrote:

Hi folks.

I’m trying to install RT3 with FastCGI and Apache2.
The install went fairly well but when i start apache i get the following
errors in apache logs:

[Thu Feb 19 15:35:42 2004] [error] [client 66.38.181.24] FastCGI: comm with server “/usr/local/RT/bin/mason_handler.fcgi” aborted: idle timeout (30 sec)
[Thu Feb 19 15:35:42 2004] [error] [client 66.38.181.24] FastCGI: incomplete headers (0 bytes) received from server “/usr/local/RT/bin/mason_handler.fcgi”
[Thu Feb 19 15:36:25 2004] [warn] FastCGI: server “/usr/local/RT/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

Some info on the install:

skinner# uname -a
FreeBSD skinner 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Thu Feb 5 15:00:15
EST 2004 root@skinner:/usr/src/sys/i386/compile/SKINNER i386

HEAD / HTTP/1.1
HTTP/1.1 400 Bad Request
Date: Thu, 19 Feb 2004 20:36:45 GMT
Server: Apache/2.0.48 (Unix) mod_fastcgi/2.4.2 mod_ssl/2.0.48
OpenSSL/0.9.7c
Connection: close
Content-Type: text/html; charset=iso-8859-1

Any ideas ?

Thanx
Paul


Paul Khavkine
Network Administrator
DISTRIBUTEL Communications.
740 Notre Dame West, Suite 1135
Montreal, Quebec, Canada, H3C 3X6
1-514-877-5505 x 263
http://www.distributel.net



rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

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

Paul Khavkine
Network Administrator
DISTRIBUTEL Communications.
740 Notre Dame West, Suite 1135
Montreal, Quebec, Canada, H3C 3X6
1-514-877-5505 x 263
http://www.distributel.net

The RT_*Config.pm files are not readable by the web-server process.

SHFrom: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com]On Behalf Of Paul
Khavkine
Sent: Thursday, February 19, 2004 3:40 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RT3/Apache2/FastCGI

Also. I get the following when i start httpd:

[Thu Feb 19 15:39:09 2004] [warn] FastCGI: server
“/usr/local/RT/bin/mason_handler.fcgi” restarted (pid 3913) Can’t locate
/usr/local/RT/etc/RT_SiteConfig.pm in @INC (@INC contains:
/usr/local/RT/local/lib /usr/local/RT/lib
/usr/local/lib/perl5/site_perl/5.8.2/mach
/usr/local/lib/perl5/site_perl/5.8.2 /usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.2/BSDPAN
/usr/local/lib/perl5/5.8.2/mach /usr/local/lib/perl5/5.8.2 .) at
/usr/local/RT/lib/RT.pm line 105.Compilation failed in require at
/usr/local/RT/bin/mason_handler.fcgi line 28.
[Thu Feb 19 15:39:10 2004] [warn] FastCGI: server
“/usr/local/RT/bin/mason_handler.fcgi” (pid 3913) terminated by calling exit
with status ‘13’

Hi folks.

I’m trying to install RT3 with FastCGI and Apache2.
The install went fairly well but when i start apache i get the following
errors in apache logs:

[Thu Feb 19 15:35:42 2004] [error] [client 66.38.181.24] FastCGI: comm with
server “/usr/local/RT/bin/mason_handler.fcgi” aborted: idle timeout (30 sec)
[Thu Feb 19 15:35:42 2004] [error] [client 66.38.181.24] FastCGI:
incomplete headers (0 bytes) received from server
“/usr/local/RT/bin/mason_handler.fcgi”
[Thu Feb 19 15:36:25 2004] [warn] FastCGI: server
“/usr/local/RT/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

Some info on the install:

skinner# uname -a
FreeBSD skinner 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Thu Feb 5 15:00:15
EST 2004 root@skinner:/usr/src/sys/i386/compile/SKINNER i386

HEAD / HTTP/1.1
HTTP/1.1 400 Bad Request
Date: Thu, 19 Feb 2004 20:36:45 GMT
Server: Apache/2.0.48 (Unix) mod_fastcgi/2.4.2 mod_ssl/2.0.48
OpenSSL/0.9.7c
Connection: close
Content-Type: text/html; charset=iso-8859-1

Any ideas ?

Thanx
Paul


Paul Khavkine
Network Administrator
DISTRIBUTEL Communications.
740 Notre Dame West, Suite 1135
Montreal, Quebec, Canada, H3C 3X6
1-514-877-5505 x 263
http://www.distributel.net



rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

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

Paul Khavkine
Network Administrator
DISTRIBUTEL Communications.
740 Notre Dame West, Suite 1135
Montreal, Quebec, Canada, H3C 3X6
1-514-877-5505 x 263
http://www.distributel.net

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

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

Try setting permissions on both RT_SiteConfig.pm and RT_Config.pm so
that they’re readable by the whichever user apache is running as. In my
case I just set the owner on both to ‘www’.

Paul Khavkine wrote:

That was the case, Problem fixed.

Thanx
PaulOn Thu, 19 Feb 2004, Jason Taylor wrote:

Try setting permissions on both RT_SiteConfig.pm and RT_Config.pm so
that they’re readable by the whichever user apache is running as. In my
case I just set the owner on both to ‘www’.

Paul Khavkine wrote:

Also. I get the following when i start httpd:

[Thu Feb 19 15:39:09 2004] [warn] FastCGI: server “/usr/local/RT/bin/mason_handler.fcgi” restarted (pid 3913) Can’t locate /usr/local/RT/etc/RT_SiteConfig.pm in @INC (@INC contains: /usr/local/RT/local/lib /usr/local/RT/lib /usr/local/lib/perl5/site_perl/5.8.2/mach /usr/local/lib/perl5/site_perl/5.8.2 /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.2/BSDPAN /usr/local/lib/perl5/5.8.2/mach /usr/local/lib/perl5/5.8.2 .) at /usr/local/RT/lib/RT.pm line 105.Compilation failed in require at /usr/local/RT/bin/mason_handler.fcgi line 28.
[Thu Feb 19 15:39:10 2004] [warn] FastCGI: server “/usr/local/RT/bin/mason_handler.fcgi” (pid 3913) terminated by calling exit with status ‘13’

On Thu, 19 Feb 2004, Paul Khavkine wrote:

Hi folks.

I’m trying to install RT3 with FastCGI and Apache2.
The install went fairly well but when i start apache i get the following
errors in apache logs:

[Thu Feb 19 15:35:42 2004] [error] [client 66.38.181.24] FastCGI: comm with server “/usr/local/RT/bin/mason_handler.fcgi” aborted: idle timeout (30 sec)
[Thu Feb 19 15:35:42 2004] [error] [client 66.38.181.24] FastCGI: incomplete headers (0 bytes) received from server “/usr/local/RT/bin/mason_handler.fcgi”
[Thu Feb 19 15:36:25 2004] [warn] FastCGI: server “/usr/local/RT/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

Some info on the install:

skinner# uname -a
FreeBSD skinner 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Thu Feb 5 15:00:15
EST 2004 root@skinner:/usr/src/sys/i386/compile/SKINNER i386

HEAD / HTTP/1.1
HTTP/1.1 400 Bad Request
Date: Thu, 19 Feb 2004 20:36:45 GMT
Server: Apache/2.0.48 (Unix) mod_fastcgi/2.4.2 mod_ssl/2.0.48
OpenSSL/0.9.7c
Connection: close
Content-Type: text/html; charset=iso-8859-1

Any ideas ?

Thanx
Paul


Paul Khavkine
Network Administrator
DISTRIBUTEL Communications.
740 Notre Dame West, Suite 1135
Montreal, Quebec, Canada, H3C 3X6
1-514-877-5505 x 263
http://www.distributel.net



rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

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


Paul Khavkine
Network Administrator
DISTRIBUTEL Communications.
740 Notre Dame West, Suite 1135
Montreal, Quebec, Canada, H3C 3X6
1-514-877-5505 x 263
http://www.distributel.net



rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

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

Paul Khavkine
Network Administrator
DISTRIBUTEL Communications.
740 Notre Dame West, Suite 1135
Montreal, Quebec, Canada, H3C 3X6
1-514-877-5505 x 263
http://www.distributel.net