No subject


Fri Feb 8 15:06:04 EST 2008


"Make sure you use a libfcgi.dll built against the same runtime library as
your mapserv.exe (and possibly libmap_fcgi.dll) or you will suffer a world
of pain! Different runtime libraries have different "environ" variables (as
well as their own stdio and heaps). You can check that everything is using
MSVCRT.DLL (or all using MSVCRTD.DLL) using the MS SDK Dependency Walker."

Thanks again Frank, I would never have figured this one out without this
hint ...

Best regards,
Bart

On Mon, 3 Jan 2005 17:01:23 +0100, Bart van den Eijnden <bartvde at XS4ALL.NL>
wrote:

>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