[rt-users] Configuration: Apache 1.3, FastCGI

Robert Young bubblenut at gmail.com
Wed Mar 30 06:46:40 EST 2005


I have installed everything (from tarball) without a hitch, well, not
without a hitch but it's all there now ;)
I have perl 5.8.6 (/usr/local/perl-5.8.6), Apache 1.3.33 (/usr/local/apache)
The relevant lines in my httpd.conf for rt are

### httpd.conf ###
FastCgiIpcDir /tmp
AddHandler fastcgi-script fcg fcgi fpl
FastCgiServer /usr/local/rt/bin/mason_handler.fcgi -idle-timeout 120
-processes 4
Alias /rt/ "/usr/local/rt/share/html/"
<Location /rt>
    Options +ExecCGI
    AddDefaultCharset UTF-8
    SetHandler fastcgi-script
</Location>
### /httpd.conf ###

This is what's generated in the error_log when I start Apache

### error_log ###
[Wed Mar 30 11:40:56 2005] [notice] FastCGI: process manager
initialized (pid 9083)
[Wed Mar 30 11:40:56 2005] [warn] FastCGI: server
"/usr/local/rt/bin/mason_handler.fcgi" started (pid 9084)
[Wed Mar 30 11:40:57 2005] [warn] FastCGI: server
"/usr/local/rt/bin/mason_handler.fcgi" started (pid 9088)
[Wed Mar 30 11:40:57 2005] [notice] Apache/1.3.33 (Unix)
mod_fastcgi/2.4.2 PHP/4.3.10 mod_ssl/2.8.22 OpenSSL/0.9.7e configured
-- resuming normal operations
[Wed Mar 30 11:40:57 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Wed Mar 30 11:40:58 2005] [warn] FastCGI: server
"/usr/local/rt/bin/mason_handler.fcgi" started (pid 9094)
[Wed Mar 30 11:40:59 2005] [warn] FastCGI: server
"/usr/local/rt/bin/mason_handler.fcgi" started (pid 9096)
### /error_log ###

and this when I try to hit the rt path (https://service.cd-wow.com/rt)

### error_log ###
FastCGI: can't start server "/usr/local/rt/share/html/index.html" (pid
9102), execle() failed: Exec format error
[Wed Mar 30 11:43:02 2005] [warn] FastCGI: (dynamic) server
"/usr/local/rt/share/html/index.html" started (pid 9102)
[Wed Mar 30 11:43:02 2005] [warn] FastCGI: (dynamic) server
"/usr/local/rt/share/html/index.html" (pid 9102) terminated by calling
exit with status '255'
FastCGI: can't start server "/usr/local/rt/share/html/index.html" (pid
9104), execle() failed: Exec format error
[Wed Mar 30 11:43:07 2005] [warn] FastCGI: (dynamic) server
"/usr/local/rt/share/html/index.html" restarted (pid 9104)
[Wed Mar 30 11:43:07 2005] [warn] FastCGI: (dynamic) server
"/usr/local/rt/share/html/index.html" (pid 9104) terminated by calling
exit with status '255'
FastCGI: can't start server "/usr/local/rt/share/html/index.html" (pid
9105), execle() failed: Exec format error
[Wed Mar 30 11:43:12 2005] [warn] FastCGI: (dynamic) server
"/usr/local/rt/share/html/index.html" restarted (pid 9105)
[Wed Mar 30 11:43:12 2005] [warn] FastCGI: (dynamic) server
"/usr/local/rt/share/html/index.html" (pid 9105) terminated by calling
exit with status '255'
FastCGI: can't start server "/usr/local/rt/share/html/index.html" (pid
9106), execle() failed: Exec format error
[Wed Mar 30 11:43:17 2005] [warn] FastCGI: (dynamic) server
"/usr/local/rt/share/html/index.html" restarted (pid 9106)
[Wed Mar 30 11:43:17 2005] [warn] FastCGI: (dynamic) server
"/usr/local/rt/share/html/index.html" (pid 9106) terminated by calling
exit with status '255'
[Wed Mar 30 11:43:17 2005] [warn] FastCGI: (dynamic) server
"/usr/local/rt/share/html/index.html" has failed to remain running for
30 seconds given 3 attempts, its restart interval has been backed off
to 600 seconds
[Wed Mar 30 11:43:18 2005] [warn] FastCGI: (dynamic) server
"/usr/local/rt/share/html/index.html" has failed to remain running for
30 seconds given 3 attempts, its restart interval has been backed off
to 600 seconds
[Wed Mar 30 11:43:21 2005] [warn] FastCGI: (dynamic) server
"/usr/local/rt/share/html/index.html" has failed to remain running for
30 seconds given 3 attempts, its restart interval has been backed off
to 600 seconds
[Wed Mar 30 11:43:24 2005] [warn] FastCGI: (dynamic) server
"/usr/local/rt/share/html/index.html" has failed to remain running for
30 seconds given 3 attempts, its restart interval has been backed off
to 600 seconds
[Wed Mar 30 11:43:27 2005] [warn] FastCGI: (dynamic) server
"/usr/local/rt/share/html/index.html" has failed to remain running for
30 seconds given 3 attempts, its restart interval has been backed off
to 600 seconds
[Wed Mar 30 11:43:30 2005] [warn] FastCGI: (dynamic) server
"/usr/local/rt/share/html/index.html" has failed to remain running for
30 seconds given 3 attempts, its restart interval has been backed off
to 600 seconds
[Wed Mar 30 11:43:33 2005] [warn] FastCGI: (dynamic) server
"/usr/local/rt/share/html/index.html" has failed to remain running for
30 seconds given 3 attempts, its restart interval has been backed off
to 600 seconds
[Wed Mar 30 11:43:36 2005] [error] [client 217.207.206.146] FastCGI:
comm with (dynamic) server "/usr/local/rt/share/html/index.html"
aborted: (first read) idle timeout (30 sec)
[Wed Mar 30 11:43:36 2005] [error] [client 217.207.206.146] FastCGI:
incomplete headers (0 bytes) received from server
"/usr/local/rt/share/html/index.html"
[Wed Mar 30 11:43:36 2005] [warn] FastCGI: (dynamic) server
"/usr/local/rt/share/html/index.html" has failed to remain running for
30 seconds given 3 attempts, its restart interval has been backed off
to 600 seconds
[Wed Mar 30 11:43:36 2005] [error] [client 217.207.206.146] File does
not exist: /home/httpd/favicon.ico
### /error_log ###

Anyone got any ideas what the problem may be?

Thanks Rob



More information about the rt-users mailing list