[mapserver-users] Debugging mapserver 6.2

Antti J. Lind anttij.lind at birdlife.fi
Tue Sep 2 09:14:30 PDT 2014


I can remove file and when running from webserver, it recreated again 
and owned by apache with -rw-r--r-- rights.
Same when chmod 666 existing file.

--
AJL

Stephen Woodbridge kirjoitti 2014-09-02 18:58:
> Check permissions on the file
> 
> ls -l /tmp/ms_error.txt
> sudo chmod 666 /tmp/ms_error.txt
> 
> and try it again from the webserver.
> 
> -Steve W
> 
> On 9/2/2014 11:27 AM, Antti J. Lind wrote:
>> Hi,
>> 
>> Seems to be plenty of space on /tmp/, only 7% used.
>> 
>> With shp2img seems to write to correct file
>> 
>> [Tue Sep  2 18:24:58 2014].520502 msDrawMap(): rendering using
>> outputformat named png (AGG/PNG).
>> [Tue Sep  2 18:24:59 2014].17303 msDrawMap(): WMS/WFS set-up and 
>> query,
>> 0.497s
>> [Tue Sep  2 18:24:59 2014].19072 msDrawRasterLayerLow(kartta_mk2m):
>> entering.
>> [Tue Sep  2 18:24:59 2014].34160 msDrawMap(): Layer 0 (kartta_mk2m), 
>> 0.017s
>> [Tue Sep  2 18:24:59 2014].34341 msDrawRasterLayerLow(watermark): 
>> entering.
>> [Tue Sep  2 18:24:59 2014].47150 msDrawMap(): Layer 7 (watermark), 
>> 0.013s
>> [Tue Sep  2 18:24:59 2014].47221 msDrawMap(): Layer 8 (lupa), 0.000s
>> [Tue Sep  2 18:24:59 2014].47299 msDrawMap(): Drawing Label Cache, 
>> 0.000s
>> [Tue Sep  2 18:24:59 2014].47311 msDrawMap() total time: 0.528s
>> [Tue Sep  2 18:24:59 2014].879297 msSaveImage(stdout) total time: 
>> 0.832s
>> [Tue Sep  2 18:24:59 2014].879659 msFreeMap(): freeing map at 
>> 0x234f570.
>> 
>> --
>> AJL
>> 
>> Jeff McKenna kirjoitti 2014-09-02 18:21:
>>> On 2014-09-02 12:01 PM, Antti J. Lind wrote:
>>>> Hello list,
>>>> 
>>>> I try to debug mapserver (version 6.2.2) without success.
>>>> 
>>>> I have set on map-file
>>>>     CONFIG "MS_ERRORFILE" "/tmp/ms_error.txt"
>>>>     DEBUG 5
>>>> and run web-application.
>>>> 
>>>> Log file shows up on /tmp-directory, but it's allways empty.
>>>> 
>>>> ll /tmp/ms_*
>>>> -rw-r--r-- 1 apache apache 0 Sep  2 12:16 /tmp/ms_error.txt
>>>> 
>>>> Ideas?
>>>> 
>>>> --
>>>> Antti J. Lind
>>>> 
>>> 
>>> You might also use the shp2img commandline utility with the
>>> '-all_debug 5' switch.
>>> 
>>> -jeff
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the MapServer-users mailing list