Hi Jo,

Are you passing the problem extents to the shp2img utility?  Such as:

shp2img -m osm-transp-en-default.map -e -9.1433 38.7460 -9.1406 38.7487 -o ttt.png -all_debug 5

If that doesn't help, then I would start from the beginning: execute a GetCapabilities request and make sure you remove all "WARNING" messages.

-jeff



--
Jeff McKenna
MapServer Consulting and Training Services
https://gatewaygeomatics.com/




On 2020-01-22 8:02 a.m., Johannes Paul wrote:
Thanks for your answer.
I get the following error output using the command line:

[Wed Jan 22 06:53:21 2020].530550 CGI Request 1 on process 5157
[Wed Jan 22 06:53:21 2020].534249 msDrawMap(): rendering using outputformat named png (AGG/PNG). [Wed Jan 22 06:53:21 2020].534288 msDrawMap(): WMS/WFS set-up and query, 0.000s [Wed Jan 22 06:53:21 2020].534530 msDrawLabelCache(): labelcache_map_edge_buffer = 10
[Wed Jan 22 06:53:21 2020].534577 msDrawMap(): Drawing Label Cache, 0.000s
[Wed Jan 22 06:53:21 2020].534592 msDrawMap() total time: 0.004s
[Wed Jan 22 06:53:21 2020].568858 msSaveImage(stdout) total time: 0.034s
[Wed Jan 22 06:53:21 2020].569291 mapserv request processing time (msLoadMap not incl.): 0.039s
[Wed Jan 22 06:53:21 2020].569318 msFreeMap(): freeing map at 0x1e59fd0.


On Wed, 22 Jan 2020 at 12:15, Jörg Thomsen (WhereGroup) <joerg.thom...@wheregroup.com <mailto:joerg.thom...@wheregroup.com>> wrote:

    Hello Jo,

    I don't know this error as parameter-dependent...

    Do you get any error-output on the command line?

    https://mapserver.org/cgi/mapserv.html

    Jörg

    Am 22.01.20 um 12:01 schrieb Johannes Paul:
     > Hello,
     > my mapserver is having a very strange behaviour, which I can't
    explain,
     > nor debug.
     > I'm using mapserver 7.0.0 along with apache http server 2.4.6.
     >
     > Most of the time, the server is working just fine, i.e. when I
    request a
     > typical URL, I get my image back:
     >
     >
    
http://10.0.0.22/cgi-bin/mapserv?map=/var/www/html/osm-transp-en-default.map&VERSION=1.1.0&REQUEST=getmap&SERVICE=wms&STYLES=&BBOX=-9.143,38.746,-9.140,38.748&HEIGHT=256&WIDTH=256&LAYERS=default&FORMAT=image/png&SRS=EPSG:4326&TRANSPARENT=true
     >
     > but then, when I slightly change bbox values, I get an internal
    server
     > error (500):
     >
     >
    
http://10.0.0.22/cgi-bin/mapserv?map=/var/www/html/osm-transp-en-default.map&VERSION=1.1.0&REQUEST=getmap&SERVICE=wms&STYLES=&BBOX=-9.1433,38.7460,-9.1406,38.7487&HEIGHT=256&WIDTH=256&LAYERS=default&FORMAT=image/png&SRS=EPSG:4326&TRANSPARENT=true
     >
     > I don't get any mapserver error log, but I do get an apache error log
     > saying:
     > [cgi:error] End of script output before headers: mapserv
     >
     > This is really an strange behaviour which I can't explain.
     > Did anyone already experienced a similar situation ?
     > Thanks
     > Jo
     >
     > _______________________________________________
     > mapserver-users mailing list
     > mapserver-users@lists.osgeo.org
    <mailto:mapserver-users@lists.osgeo.org>
     > https://lists.osgeo.org/mailman/listinfo/mapserver-users
     >



    Viele Grüße,
    Jörg Thomsen

--
    ------------------------------------
    Aufwind durch Wissen!
    Qualifizierte Open-Source-Schulungen
    bei der www.foss-academy.com <http://www.foss-academy.com>
    ------------------------------------


    Jörg Thomsen
    WhereGroup GmbH
    Bundesallee 23
    10717 Berlin
    Germany

    Fon: +49 (0)30 / 5130 278 74
    Fax: +49 (0)30 / 5130 278 11

    joerg.thom...@wheregroup.com <mailto:joerg.thom...@wheregroup.com>
    www.wheregroup.com <http://www.wheregroup.com>

    Geschäftsführer:
    Olaf Knopp, Peter Stamm
    Amtsgericht Bonn, HRB 9885

    -------------------------------
    Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com
    _______________________________________________
    mapserver-users mailing list
    mapserver-users@lists.osgeo.org <mailto:mapserver-users@lists.osgeo.org>
    https://lists.osgeo.org/mailman/listinfo/mapserver-users


_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users


_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to