[mapserver-users] cgi-error: End of script output before headers mapserv

Johannes Paul johannespaul92 at gmail.com
Wed Jan 22 04:02:13 PST 2020


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.thomsen at 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 at 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
> ------------------------------------
>
>
> 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.thomsen at wheregroup.com
> 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 at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20200122/8e9bc183/attachment.html>


More information about the mapserver-users mailing list