[UMN_MAPSERVER-USERS] Mapserver demo crash

Fortin,Nicolas [SteFoy] nicolas.fortin at EC.GC.CA
Fri Aug 26 08:43:40 PDT 2005


Hi

I didn't follow all the conversation but as a windows user, I can tell you that 90% of the problem with mapserver and IIS come from permission problem.  Run filemon (http://www.sysinternals.com/Utilities/Filemon.html) while loading the page and check the result to see if there's any ACCESS DENIED or suspicious FILE NOT FOUND.

Hope this helps
Nicolas Fortin

-----Message d'origine-----
De : UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] De la part de Matt Garrish
Envoyé : 26 août 2005 11:36
À : MAPSERVER-USERS at LISTS.UMN.EDU
Objet : Re: [UMN_MAPSERVER-USERS] Mapserver demo crash


It only dies in IIS when I run the demo (so far, anyway). I am, for example, able to run the "Hello World" example on the recipes page (http://www.mobilegeographics.com/mapserver/). Aside from the parameters that get passed from the index.html page (reproduced below), I've set the following in the itasca.map file:

SHAPEPATH "c:/inetpub/wwwroot/workshop/data"

WMS_ONLINERESOURCE "http://localhost/workshop/index.html"

I'm going to try running the example on a win2k box and see if it's something specific to XP (I've tried a couple of different XP boxes with the same result).

Matt

> 
> From: Ethan Alpert <ealpert at DIGITALGLOBE.COM>
> Date: 2005/08/26 Fri AM 10:48:00 EST
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: Re: [UMN_MAPSERVER-USERS] Mapserver demo crash
> 
> I'm not a windows user but the most common problem when mapserv runs 
> fine at the command line but dies running in the webserver space is it 
> can't find one or more shared library. Check the IIS's equivalent of 
> LD_SEARCH_PATH.
> 
> -e
> 
> -----Original Message-----
> From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] 
> On Behalf Of Matt Garrish
> Sent: Friday, August 26, 2005 7:41 AM
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: [UMN_MAPSERVER-USERS] Mapserver demo crash
> 
> 
> I'm just getting started with mapserver and was hoping to be able to 
> play around with the demo (http://mapserver.gis.umn.edu/dload.html). 
> I'm reasonably certain that my system (XP Pro SP2) is configured 
> correctly, because I can run some of the other simple examples I've 
> found on the Mapserver home page (I downloaded the 4.4.1 binary and 
> set it up according
> to the readme file). When I tried to run the demo (from the index.html 
> page), however, IIS crashed with a 502 error, so I went to the command
> line 
> and tried the following:
> 
> C:\Inetpub\Scripts>mapserv
> "QUERY_STRING=map=c:/inetpub/wwwroot/workshop/itasca.
> map&layer=lakespy2&layer=dlgstln2&zoomsize=1&program=http://localhost/cg
> i-bin/ma
> pserv.exe&root=http://localhost/workshop&map_web_imagepath=c:/inetpub/ww
> wroot/tm
> p&map_web_imageurl=http://localhost/tmp&map_web_template=itasca_basic.ht
> ml"
> 
> As soon as I run the command, however, an error window pops up with 
> the
> following error signature:
> 
> AppName: mapserv.exe     AppVer: 0.0.0.0      ModName: ntdll.dll
> ModVer: 5.1.2600.2180    Offset: 00018fea
> 
> which I have to assume is the cause of the 502 error.
> 
> Has anyone run into this problem before? Or know what the cause might 
> be? Or know if I'm just doing something wrong? (If you don't have XP 
> or can't reproduce the problem I can post the stack dump.)
> 
> Thanks in advance,
> 
> Matt
> 



More information about the MapServer-users mailing list