<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>MAPSERVER-USERS Digest - 5 Dec 2006 to 6 Dec 2006 (#2006-339)</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5730.11" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear List Members,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've been pulling my hair out trying to get
MapServer running on a linux box. I once got it working on a different box but
this was over a year ago so I may be missing a step or the other box might have
been configured differently.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When trying to draw a demo map I get this
error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><!--StartFragment --><EM>msDrawMap(): WMS connection error. Failed to draw
WMS layer named 'land_fn'. This most likely happened because the remote WMS
server returned an invalid image, and XML exception or another unexpected result
in response to the GetMap request. Also check and make sure that the layer's
connection URL is valid.</EM> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The box that I set mapserver up on a year ago can
render the same .map file just fine so I don't believe anything in the map file
is incorrect.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Below is the map file. I'd appreciate any
suggestions on how I can troubleshoot this.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>Sol</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>MAP<BR> EXTENT -125 24 -65
50<BR>
SIZE 600
240<BR> NAME
WMS-Test_Client<BR> <BR>
WEB<BR>
TEMPLATE
mapserver.html<BR>
IMAGEPATH
"/var/www/cap/docroot/tmp/"<BR>
IMAGEURL "/tmp/"<BR> LOG
"/tmp/wmsclient.log"<BR> END</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
LAYER<BR>
NAME
alert<BR>
TYPE
point<BR>
STATUS
DEFAULT<BR>
CLASS<BR>
COLOR 255 0
0<BR>
SYMBOL
"alert_symbol"<BR>
SIZE
5<BR>
LABEL<BR>
POSITION
UR<BR>
SIZE
MEDIUM<BR>
COLOR 0 0
255<BR>
OUTLINECOLOR 255 255
255<BR>
END<BR>
END<BR>
PROJECTION<BR>
"init=epsg:4326"<BR>
end<BR>
FEATURE<BR>
POINTS -106.08 35.62
END<BR>
POINTS -108.08 47.62
END<BR>
POINTS -73.98 40.77
END<BR>
POINTS -73.98 40.77 END<BR>
END<BR> END</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
SYMBOL<BR>
NAME
"alert_symbol"<BR>
TYPE
ellipse<BR>
FILLED
true<BR>
points 1 1
END<BR> END</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> <BR> PROJECTION<BR>
"init=epsg:4326"<BR> END<BR> <BR> Layer<BR> Name
land_fn<BR> TYPE POLYGON<BR> STATUS
DEFAULT<BR> CONNECTIONTYPE WMS<BR> CONNECTION "<A
href="http://128.117.91.208/viz-bin/wmt.cgi">http://128.117.91.208/viz-bin/wmt.cgi</A>?"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> METADATA<BR>
"wms_name" "COASTLINES,NATIONAL,STATE"<BR>
"wms_onlineresource" "<A
href="http://128.117.91.208/viz-bin/wmt.cgi">http://128.117.91.208/viz-bin/wmt.cgi</A>?"<BR>
"wms_server_version" "1.1.1"<BR> "wms_title"
"COASTLINES,NATIONAL,STATE"<BR>
"wms_srs" "EPSG:4326"<BR>
"wms_formatlist"
"image/gif,image/png,image/jpeg"<BR>
END<BR> <BR>
PROJECTION<BR> "init=epsg:4326"<BR>
END<BR> <BR> CLASS<BR> NAME
test<BR> COLOR 0 0
0<BR> OUTLINECOLOR 255 255
255<BR> END<BR> END</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> END<BR></FONT></DIV></BODY></HTML>