[rt-users] Problem Starting RT with fastcgi

Manuel Bernardy bernardy at nexus-netsoft.com
Fri May 2 20:43:36 EDT 2003


Hi again, sorry, but here's the next problem:

Under www or rt directly mason_handler.fcgi puts out html. But if I try to
run it via Apache error_log always says:

[Sat May  3 02:41:34 2003] [notice] Apache/1.3.27 Ben-SSL/1.48 (Unix)
mod_fastcgi/2.4.0 PHP/4.3.1 configured -- resuming norm
al operations
[Sat May  3 02:41:34 2003] [notice] suEXEC mechanism enabled (wrapper:
/usr/local/apache/bin/suexec)
[Sat May  3 02:41:34 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sat May  3 02:41:39 2003] [warn] FastCGI: server
"/opt/rt3/bin/mason_handler.fcgi" (uid 509, gid 103) restarted (pid 2939)
[Sat May  3 02:41:39 2003] [warn] FastCGI: server
"/opt/rt3/bin/mason_handler.fcgi" (pid 2939) terminated by calling exit wit
h status '114'
[Sat May  3 02:41:44 2003] [warn] FastCGI: server
"/opt/rt3/bin/mason_handler.fcgi" (uid 509, gid 103) restarted (pid 2941)
[Sat May  3 02:41:44 2003] [warn] FastCGI: server
"/opt/rt3/bin/mason_handler.fcgi" (pid 2941) terminated by calling exit wit
h status '114'
[Sat May  3 02:41:49 2003] [warn] FastCGI: server
"/opt/rt3/bin/mason_handler.fcgi" (uid 509, gid 103) restarted (pid 2945)
[Sat May  3 02:41:49 2003] [warn] FastCGI: server
"/opt/rt3/bin/mason_handler.fcgi" (pid 2945) terminated by calling exit wit
h status '114'
[Sat May  3 02:41:49 2003] [warn] FastCGI: server
"/opt/rt3/bin/mason_handler.fcgi" has failed to remain running for 30 secon
ds given 3 attempts, its restart interval has been backed off to 600 seconds
[Sat May  3 02:42:12 2003] [error] [client 217.82.20.195] FastCGI: comm with
server "/opt/rt3/bin/mason_handler.fcgi" aborted
: idle timeout (30 sec)
[Sat May  3 02:42:12 2003] [error] [client 217.82.20.195] FastCGI:
incomplete headers (0 bytes) received from server "/opt/rt
3/bin/mason_handler.fcgi"
[Sat May  3 02:42:23 2003] [error] [client 62.67.209.108] FastCGI: comm with
server "/opt/rt3/bin/mason_handler.fcgi" aborted
: idle timeout (30 sec)
[Sat May  3 02:42:23 2003] [error] [client 62.67.209.108] FastCGI:
incomplete headers (0 bytes) received from server "/opt/rt
3/bin/mason_handler.fcgi"
[Sat May  3 02:42:25 2003] [error] [client 217.82.20.195] FastCGI: comm with
server "/opt/rt3/bin/mason_handler.fcgi" aborted
: idle timeout (30 sec)
[Sat May  3 02:42:25 2003] [error] [client 217.82.20.195] FastCGI:
incomplete headers (0 bytes) received from server "/opt/rt
3/bin/mason_handler.fcgi"

What can I do????

Thank you
Manuel Bernardy

-----Original Message-----
From: rt-users-admin at lists.fsck.com [mailto:rt-users-admin at lists.fsck.com]
On Behalf Of Manuel Bernardy
Sent: Samstag, 3. Mai 2003 02:22
To: 'Manuel Bernardy'; 'Vivek Khera'; rt-users at fsck.com

Ok, i got it! Now it can do setuid :)

Thanks to all!
Manuel

-----Original Message-----
From: rt-users-admin at lists.fsck.com [mailto:rt-users-admin at lists.fsck.com]
On Behalf Of Manuel Bernardy
Sent: Samstag, 3. Mai 2003 01:56
To: 'Vivek Khera'; rt-users at fsck.com

Hi,
>When you "su" to the user running apache and run the program manually,
>what happens?  99% chance it is a file permissions issue OR an
>environment variable setting issue.

Then it says: " Can't do setuid"

What does that mean?

Thank you!
Manuel


-----Original Message-----
From: rt-users-admin at lists.fsck.com [mailto:rt-users-admin at lists.fsck.com]
On Behalf Of Vivek Khera
Sent: Freitag, 2. Mai 2003 23:20
To: rt-users at fsck.com

>>>>> "MB" == Manuel Bernardy <bernardy at nexus-netsoft.com> writes:

MB> Hi,
MB> if i start mason_handler.fcgi from command line i get an "normal"
MB> html-Output.

MB> If i try it via apache i get an internal server error 500.

When you "su" to the user running apache and run the program manually,
what happens?  99% chance it is a file permissions issue OR an
environment variable setting issue.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera at kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/
_______________________________________________
rt-users mailing list
rt-users at 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



_______________________________________________
rt-users mailing list
rt-users at 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



_______________________________________________
rt-users mailing list
rt-users at 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





More information about the rt-users mailing list