FW: Fastcgi on Apache server

Shiv Prakash <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>

 


From: [email protected]
To: fastcgi-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
Subject: Fastcgi on Apache server
Date: Mon, 9 Mar 2009 15:54:33 +0530



Hi,
 
I took the framework for the fastcgi from www.fastcgi.com and created a sample fastcgi application. 
The Sample application works great on the IIS 7.0 ( built in fastcgi support).
 
I wanted to test it on the Apache Server. I built the Apache Server and built the ModFastCGI dll and configured as incated in the documents. On running this Sample fastcgi application I am getting the error that 
 
[Mon Mar 09 15:45:40 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 4420) terminated with exit with status '0'
[Mon Mar 09 15:45:45 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 2380)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:45:45 2009] [error] [client 127.0.0.1] (OS 109)The pipe has been ended.  : FastCGI: comm with server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" aborted: GetOverlappedResult() failed
[Mon Mar 09 15:45:45 2009] [error] [client 127.0.0.1] FastCGI: incomplete headers (0 bytes) received from server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe".
 
I am not sure what I am missing here. I would appreciate if anybody has an answer for this?
 
Thanks,
Prakash



Windows Live Messenger. Multitasking at its finest.
_________________________________________________________________
Windows Live Messenger. Multitasking at its finest.
http://www.microsoft.com/india/windows/windowslive/messenger.aspx

_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers
error.log (application/octet-stream, 14 KB)
[Mon Mar 09 15:45:30 2009] [notice] Apache/2.2.11 (Win32) mod_fastcgi/2.4.6 configured -- resuming normal operations
[Mon Mar 09 15:45:30 2009] [notice] Server built: Mar  6 2009 17:02:59
[Mon Mar 09 15:45:30 2009] [notice] Parent: Created child process 3216
Apache server interrupted...
otice] Child 3216: Child process is running
[Mon Mar 09 15:45:30 2009] [notice] Child 3216: Acquired the start mutex.
[Mon Mar 09 15:45:30 2009] [notice] Child 3216: Starting 64 worker threads.
[Mon Mar 09 15:45:30 2009] [notice] FastCGI: process manager initialized
[Mon Mar 09 15:45:30 2009] [notice] Child 3216: Starting thread to listen on port 8080.
[Mon Mar 09 15:45:40 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" started (pid 4420)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:45:40 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 4420) terminated with exit with status '0'
[Mon Mar 09 15:45:45 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 2380)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:45:45 2009] [error] [client 127.0.0.1] (OS 109)The pipe has been ended.  : FastCGI: comm with server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" aborted: GetOverlappedResult() failed
[Mon Mar 09 15:45:45 2009] [error] [client 127.0.0.1] FastCGI: incomplete headers (0 bytes) received from server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe"
[Mon Mar 09 15:45:45 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 2380) terminated with exit with status '0'
[Mon Mar 09 15:45:50 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 4656)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:45:50 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 4656) terminated with exit with status '0'
[Mon Mar 09 15:45:55 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 2432)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:45:55 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 2432) terminated with exit with status '0'
[Mon Mar 09 15:46:00 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 5396)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:46:00 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 5396) terminated with exit with status '0'
[Mon Mar 09 15:46:05 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 596)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:46:05 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 596) terminated with exit with status '0'
[Mon Mar 09 15:46:10 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 5872)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:46:10 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 5872) terminated with exit with status '0'
[Mon Mar 09 15:46:15 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 624)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:46:15 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 624) terminated with exit with status '0'
[Mon Mar 09 15:46:20 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 4688)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:46:20 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 4688) terminated with exit with status '0'
[Mon Mar 09 15:46:25 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 2232)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:46:25 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 2232) terminated with exit with status '0'
[Mon Mar 09 15:46:30 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 356)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:46:30 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 356) terminated with exit with status '0'
[Mon Mar 09 15:46:35 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 3508)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:46:35 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 3508) terminated with exit with status '0'
[Mon Mar 09 15:46:40 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 1916)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:46:40 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 1916) terminated with exit with status '0'
[Mon Mar 09 15:46:45 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 3424)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:46:45 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 3424) terminated with exit with status '0'
[Mon Mar 09 15:46:50 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 4028)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:46:50 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 4028) terminated with exit with status '0'
[Mon Mar 09 15:46:55 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 2384)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:46:55 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 2384) terminated with exit with status '0'
[Mon Mar 09 15:47:00 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 4820)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:47:01 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 4820) terminated with exit with status '0'
[Mon Mar 09 15:47:05 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 5180)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:47:05 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 5180) terminated with exit with status '0'
[Mon Mar 09 15:47:10 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 4556)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:47:10 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 4556) terminated with exit with status '0'
[Mon Mar 09 15:47:15 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 5600)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:47:15 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 5600) terminated with exit with status '0'
[Mon Mar 09 15:47:20 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 2428)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:47:20 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 2428) terminated with exit with status '0'
[Mon Mar 09 15:47:25 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 4392)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:47:25 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 4392) terminated with exit with status '0'
[Mon Mar 09 15:47:30 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 4880)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:47:30 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 4880) terminated with exit with status '0'
[Mon Mar 09 15:47:35 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 2408)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:47:35 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 2408) terminated with exit with status '0'
[Mon Mar 09 15:47:40 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 992)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:47:40 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 992) terminated with exit with status '0'
[Mon Mar 09 15:47:45 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 5988)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:47:45 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 5988) terminated with exit with status '0'
[Mon Mar 09 15:47:50 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 4948)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:47:50 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 4948) terminated with exit with status '0'
[Mon Mar 09 15:47:55 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 4708)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:47:55 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 4708) terminated with exit with status '0'
[Mon Mar 09 15:48:00 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 4412)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:48:00 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 4412) terminated with exit with status '0'
[Mon Mar 09 15:48:05 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 2880)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:48:05 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 2880) terminated with exit with status '0'
[Mon Mar 09 15:48:10 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 2324)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:48:10 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 2324) terminated with exit with status '0'
[Mon Mar 09 15:48:15 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 5396)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:48:16 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 5396) terminated with exit with status '0'
[Mon Mar 09 15:48:20 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 5828)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:48:20 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 5828) terminated with exit with status '0'
[Mon Mar 09 15:48:25 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 5964)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:48:25 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 5964) terminated with exit with status '0'
[Mon Mar 09 15:48:30 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 596)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:48:30 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 596) terminated with exit with status '0'
[Mon Mar 09 15:48:35 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 1976)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:48:35 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 1976) terminated with exit with status '0'
[Mon Mar 09 15:48:40 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 5872)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:48:40 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 5872) terminated with exit with status '0'
[Mon Mar 09 15:48:45 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" restarted (pid 6088)
Windows Sockets started.Windows Sockets started.[Mon Mar 09 15:48:45 2009] [warn] FastCGI: (dynamic) server "E:/apache/httpd-2.2.11/fcgi-bin/fastcgiapp.exe" (pid 6088) terminated with exit with status '0'
[Mon Mar 09 15:48:46 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Mar 09 15:48:46 2009] [notice] Child 3216: Exit event signaled. Child process is ending.
[Mon Mar 09 15:48:47 2009] [notice] Child 3216: Released the start mutex
[Mon Mar 09 15:48:48 2009] [notice] Child 3216: All worker threads have exited.
[Mon Mar 09 15:48:49 2009] [notice] Child 3216: Child process is exiting
[Mon Mar 09 15:48:49 2009] [notice] Parent: Child process exited successfully.
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.