R: [mapserver-dev] Re: Problem with projectionObj

GMail itacasoft at gmail.com
Tue Oct 4 11:37:18 EDT 2011


Thanks for your answer.
The first explanation is not possible, because the same code works for IIS
6.0, while it does not on IIS 7.0.
The second is something I do not understand: using MapScript and ASP.NET I
do not have a process "mapserv" that can crash ... but I understand that if
the IIS handler process crashes or hangs in some way, it may block the
output buffer, and this is likely. But this does not explain why this
happens only on IIS 7.0 and not on IIS 6.0. How can I have more log
information?

-----Messaggio originale-----
Da: mapserver-dev-bounces at lists.osgeo.org
[mailto:mapserver-dev-bounces at lists.osgeo.org] Per conto di Daniel
Morissette
Inviato: martedì 4 ottobre 2011 17:22
A: mapserver-dev at lists.osgeo.org
Oggetto: Re: [mapserver-dev] Re: Problem with projectionObj

On 11-10-04 02:54 AM, Itacasoft wrote:
> More information about this bug. Putting DEBUG 5 does create a log file,
> but always empty very strange. I thought about a permission problem, but
> setting the application pool identity to Local System did not resolve.
> Tried IIS 6.0 + Windows XP Pro, and here it works! So, may it be a IIS
> configuration issue?

Could it be that you have multiple values of MS_ERRORFILE set in 
environment variables and in your mapfile(s)?

For instance, if you set MS_ERRORFILE in an environment variable, then 
this value will be used for logging activity until the mapfile is 
parsed, and then after parsing the value set via CONFIG MSERRORFILE will 
override the previous value, and then logging may go to a different 
file, potentially leaving the first log file empty.

It is also possible to get an empty log file if the mapserv process 
crashes before the output buffer is flushed.

-- 
Daniel Morissette
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000

_______________________________________________
mapserver-dev mailing list
mapserver-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-dev



More information about the mapserver-dev mailing list