[Mapserver-users] Trouble-shooting again

woodbri at swoodbridge.com woodbri at swoodbridge.com
Sat Apr 5 22:21:47 EST 2003


Gerry,

One way to debug this type of problem is to do it interactively like 
this at the command shell:

export REQUEST_METHOD=GET
export QUERY_STRING="map=%2Fvar%2Fwww%2Fmesonet%2Ftexas
%2Fmesonet.map&layer=weather-metar&layer=weather-mtemp&layer=weather-
mlabe
l&layer=weather-mdew&layer=weather-barbs&zoomsize=2&program=%2Fcgi-
bin%2Fm
apserv&map_web_imagepath=%2Fvar%2Fwww%2Fmesonet%2Ftmp%2F&map_web_image
url=
%2Ftmp%2F"
gdb /var/www/cgi-bin/mapserv
run
where
quit

This will set up the environment and run mapserv in the debugger. If 
it crashes the "where: will give you a back trace of where it 
crashed.

-Steve W.

On 5 Apr 2003 at 20:55, Gerry Creager N5JXS wrote:

> In amongst all the other stuff, I'm back to troubleshooting my
> mapserver install:  RH 8.0/perl5.8/MS 3.7 from a nightly build a
> couple of weeks ago...
> 
> I've squashed most of the bugs preventing a successful completion
> including most of the stuff in my mapfile.  However, when I fire off
> the following:
> http://mesonet.tamu.edu/cgi-bin/mapserv?map=%2Fvar%2Fwww%2Fmesonet%2Ft
> exas%2Fmesonet.map&layer=weather-metar&layer=weather-mtemp&layer=weath
> er-mlabel&layer=weather-mdew&layer=weather-barbs&zoomsize=2&program=%2
> Fcgi-bin%2Fmapserv&map_web_imagepath=%2Fvar%2Fwww%2Fmesonet%2Ftmp%2F&m
> ap_web_imageurl=%2Ftmp%2F
> 
> I get a "document not found" error via Mozilla, and in looking at the
> Apache error log, I see: [Sat Apr 05 20:47:50 2003] [error] [client
> 165.91.71.29] Premature end of script headers: mapserv, referer:
> http://mesonet.tamu.edu/
> 
> I'm still looking, but I'm real confused...
> 
> TIA, gerry
> -- 
> Gerry Creager -- gerry.creager at tamu.edu
> Texas Mesonet -- AATLT, Texas A&M University	
> Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578
> Page: 979.228.0173
> Office: 903A Eller Bldg, TAMU, College Station, TX 77843
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 





More information about the mapserver-users mailing list