Fastcgi problem Redhat 9 VS. Fedora Core 3

"Jon Jones" <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
A weird problem seems to exist when using fastcgi on redhat 9 vs. fedora core 3 hiedelberg..

I've basically cloned the configuration to a fedora box, and the applications start and sit in memory, but for some reason it's not finding the socket to write back and dump it through the httpd server. The application works fine from ccommand line, but when I run it through the web server it complaints the usual:
[Thu Jun 02 17:42:46 2005] [error] [client] FastCGI: incomplete headers (0 bytes) received from server "/www/apache2/cgi-bin/test.fcgi"

I have tried changing lots of things, almost everything.. To test, I cloned the setup to another redhat 9 box and it worked fine.

One thing I notice when I strace a working process:
accept(0, {sa_family=AF_UNIX, path=@}, [2]) = 3
select(4, [3], NULL, NULL, {2, 0}) = 1 (in [3], left {2, 0})
read(3, "\1\1\0\1\0\10\0\0\0\1\0\0\0\0\0\0\1\4\0\1\0\20\0\0\v\3"..., 8192) = 1166
write(3, "\1\6\0\1\1\316\2\0Content-Type: text/html;"..., 496) = 496
shutdown(3, 1 /* send */) = 0
select(4, [3], NULL, NULL, {2, 0}) = 1 (in [3], left {2, 0})
read(3, "", 1024) = 0
close(3) = 0
accept(0,

When I strace a broken one:
Process 30799 attached - interrupt to quit
accept(0, {sa_family=AF_FILE, path="Yv"}, [2]) = 3
select(4, [3], NULL, NULL, {2, 0}) = 1 (in [3], left {2, 0})
read(3, "\1\1\0\1\0\10\0\0\0\1\0\0\0\0\0\0\1\4\0\1\0\307\0\0\v\200"..., 8192) = 1407
write(3, "\1\6\0\1\0\0\0\0\1\3\0\1\0\10\0\0\0\0\0\0\0\0\0\0", 24) = 24
close(3) = 0
accept(0,

Both apache configs are IDENTICAL and most software versions are too with maybe some minor differences.

I know others have saw these problems for various reasons, but can anyone lend a hend as to why this is happening with the two linux distro differences?

Thanks

--

___________________________________________________________
Sign-up for Ads Free at Mail.com

http://www.mail.com/?sr=signup

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.