running Mapserver as fastcgi (win32)

Bart van den Eijnden bartvde at XS4ALL.NL
Mon Jan 3 11:01:23 EST 2005


Hello list,

after all compiling issues have been solved, I am trying to run Mapserver
as a fastcgi on win32 but am running into some problems. I have followed
all the instructions in the Wiki so far.

When I run mapserv.fcgi (just http://localhost/cgi-bin/mapserv.fcgi) from
a browser I get an Internal Server (500 error) and the following is in the
Apache error log (incomplete headers):

The fastcgi FAQ says that in those cases the application did not terminate
the headers properly:

http://www.fastcgi.com/docs/faq.html#incomplete_headers

[Mon Jan 03 17:01:29 2005] [warn] FastCGI: (dynamic) server
"C:/ms4w/cgi-bin/bart/mapserv.fcgi" started (pid 3704)
[Mon Jan 03 17:01:30 2005] [error] [client 192.168.3.4] FastCGI:
incomplete headers (114 bytes) received from server
"C:/ms4w/cgi-bin/bart/mapserv.fcgi"
[Mon Jan 03 17:01:30 2005] [warn] FastCGI: (dynamic) server
"C:/ms4w/cgi-bin/bart/mapserv.fcgi" (pid 3704) terminated with exit with
status '0'
[Mon Jan 03 17:01:34 2005] [warn] FastCGI: (dynamic) server
"C:/ms4w/cgi-bin/bart/mapserv.fcgi" restarted (pid 4008)

The problem is not that a dll is missing, since if I rename one of my
dll's I get something like:

[Mon Jan 03 16:59:35 2005] [warn] FastCGI: (dynamic) server
"C:/ms4w/cgi-bin/bart/mapserv.fcgi" has failed to remain running for 30
seconds given 3 attempts, its restart interval has been backed off to 600
seconds

which means the process cannot even start probably.

Any ideas on what is going on?

Thanks in advance.

Best regards,
Bart



More information about the mapserver-users mailing list