[mapserver-users] Logging

Daniel Morissette dmorissette at mapgears.com
Mon Jul 14 10:33:41 EDT 2008


Anakreon Mentis wrote:
> It says:
> Premature end of script headers: mapserv
> 
> Can you tell what this means?

Most likely cause is a segmentation fault (i.e. complete crash).

If you just access mapserv with no parameters in the URL then do you get 
the message "No query information to decode. QUERY_STRING is set, but 
empty."  as exepcted or does it crash as well?

Perhaps also try running the request that crashes at the command line to 
see if you also get the crash there:

/path/to/mapserv "QUERY_STRING=map=/path/to/yourmap.map&mode=...&..."

If it crashes, then you'll need to find out where in the code and why... 
can you use 'gdb'? Did you build from source or get prebuilt binaries 
from somewhere? Which version of MapServer did you use before, and now 
after the upgrade?

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/


More information about the mapserver-users mailing list