[Mapserver-users] Error installing MapServer

Swaminathan, Gayathri gayathri at ou.edu
Tue Aug 5 07:13:52 PDT 2003


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C35B5B.CC1314E0
Content-Type: text/plain

Cool Marvin!
You have successfully set up your mapserver.
 
This,
"I got the error "CGI Error 
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:"  And no header is shown at
all.
    I read that I have to get the following:  No query information to
decode. QUERY_STRING is set, but empty."
 
is not an error message. It is supposed to do this. For more information
search the list archive on your error., this is an acceptable response.
 
You should now follow the steps in the demo package, to set up mapserver
mapfile/templates to get all cooking.
Thanks,
Gayathri
 

-----Original Message-----
From: Mario Servin [mailto:mservin at tecnoaccion.com.ar] 
Sent: Tuesday, August 05, 2003 9:14 AM
To: Swaminathan, Gayathri
Subject: Re: [Mapserver-users] Error installing MapServer


Dear Gayathri,
    Thanks for your answer. I followed your advise and got the LIBPQ.dll
from PostGis. This solved the "not found" message but still when I use a
browser to see some answer from MapServer, i.e. trying to browse
http://localhost/Scripts/mapserv.exe" I got the error "CGI Error 
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:"  And no header is shown at
all.
    I read that I have to get the following:  No query information to
decode. QUERY_STRING is set, but empty.
    Regards,
                Mario

----- Original Message ----- 
From: Swaminathan,  <mailto:gayathri at ou.edu> Gayathri 
To: 'Mario Servin' <mailto:mservin at tecnoaccion.com.ar>  ;
mapserver-users at lists.gis.umn.edu <mailto:mapserver-users at lists.gis.umn.edu>

Sent: Tuesday, August 05, 2003 10:47 AM
Subject: RE: [Mapserver-users] Error installing MapServer

Hi Marvin:
 
The mapserver you downloaded has Postgres included and requires this dll,
"LIBPQ.dll" and hence the error (7).
 
You can find it at ,
 
http://postgis.refractions.net/download.php
<http://postgis.refractions.net/download.php>  as, libpq.zip Unzip contents,
copy the libpoq.dll to your windows system directory and register it.
 
HTH,
Gayathri

-----Original Message-----
From: Mario Servin [mailto:mservin at tecnoaccion.com.ar] 
Sent: Tuesday, August 05, 2003 8:41 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Error installing MapServer


Hi all,
    I am having errors with the installation of MapServer 4.0. I followed
the steps:
1-Downloaded the binary MapServer 4.0 for Windows. My platform is Windows XP
with IIS 5.0. 
 
2-Extract the files to C:\Documents and Settings\mario\MyInstall\MapServer
 
3-Copy \Proj to C:\Proj
 
4-Add C:\Documents and Settings\mario\MyInstall\MapServer\lib to the path
variable of my Windows.
 
5-Create the virtual directory Scripts of my Default Web Site because it was
not created. I pointed it to the folder IIS C:\Inetpub\Scripts.
 
6-Copy mapserv.exe to C:\Inetpub\Scripts.
 
7-Opened a command prompt window in C:\Inetpub\Scripts and typed:
mapserv.exe. I got the following error: "This application failed to start
because LIBPQ.dll was not found. Re-installing the application may fix this
problem."
 
8-tried to execute from the browser and get the following error: "CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:"  And no header is shown at
all.
 
    Can anybody help me on how to proceed to get a correct installation?.
    Regards,
                Mario


------_=_NextPart_001_01C35B5B.CC1314E0
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=468151614-05082003>Cool 
Marvin!</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=468151614-05082003>You 
have successfully set up your mapserver.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=468151614-05082003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=468151614-05082003>This,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff><SPAN class=468151614-05082003><FONT 
size=2>"<FONT color=#000000>I got the error <STRONG>"CGI Error</STRONG> 
</FONT></FONT>
<DIV><FONT size=2><FONT color=#000000><STRONG>The specified CGI application 
misbehaved by not returning a complete set of HTTP headers. The headers it did 
return are:"</STRONG>  And no header is shown at all.</FONT></FONT></DIV>
<DIV><FONT size=2><FONT color=#000000>    I read that I have to 
get<FONT face="Courier New"><FONT face=Arial> the following: 
 </FONT>No query information to decode. QUERY_STRING is set, but 
empty.<SPAN class=468151614-05082003>"</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face="Courier New"><SPAN 
class=468151614-05082003></SPAN></FONT></FONT> </DIV>
<DIV><FONT size=2><FONT face="Courier New"><SPAN class=468151614-05082003>is not 
an error message. It is supposed to do this. For more information search the 
list archive on your error., this is an acceptable 
response.</SPAN></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face="Courier New"><SPAN 
class=468151614-05082003></SPAN></FONT></FONT> </DIV>
<DIV><FONT size=2><FONT face="Courier New"><SPAN class=468151614-05082003>You 
should now follow the steps in the demo package, to set up mapserver 
mapfile/templates to get all cooking.</SPAN></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face="Courier New"><SPAN 
class=468151614-05082003>Thanks,</SPAN></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face="Courier New"><SPAN 
class=468151614-05082003>Gayathri</SPAN></FONT></FONT></DIV><FONT 
size=2> </FONT></SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Mario Servin 
  [mailto:mservin at tecnoaccion.com.ar] <BR><B>Sent:</B> Tuesday, August 05, 2003 
  9:14 AM<BR><B>To:</B> Swaminathan, Gayathri<BR><B>Subject:</B> Re: 
  [Mapserver-users] Error installing MapServer<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>Dear Gayathri,</FONT></DIV>
  <DIV><FONT face=Arial size=2>    Thanks for your answer. I 
  followed your advise and got the LIBPQ.dll from PostGis. This solved the "not 
  found" message but still when I use a browser to see some answer from 
  MapServer, i.e. trying to browse http://localhost/Scripts/mapserv.exe" I got 
  the error <STRONG>"<FONT size=2>CGI Error</FONT></STRONG> 
  <DIV><FONT size=2><STRONG>The specified CGI application misbehaved by not 
  returning a complete set of HTTP headers. The headers it did return 
  are:"</STRONG>  </FONT><FONT size=2>And no header is shown at 
  all.</FONT></DIV>
  <DIV>    I read that I have to get<FONT 
  face="Courier New"><FONT face=Arial> the following:  </FONT>No query 
  information to decode. QUERY_STRING is set, but empty.</FONT></DIV>
  <DIV>    Regards,</DIV>
  <DIV>            
      Mario</DIV></FONT></DIV>
  <BLOCKQUOTE dir=ltr 
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
    <DIV 
    style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
    <A title=gayathri at ou.edu href="mailto:gayathri at ou.edu">Swaminathan, 
    Gayathri</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>To:</B> <A title=mservin at tecnoaccion.com.ar 
    href="mailto:mservin at tecnoaccion.com.ar">'Mario Servin'</A> ; <A 
    title=mapserver-users at lists.gis.umn.edu 
    href="mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.gis.umn.edu</A> 
    </DIV>
    <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, August 05, 2003 10:47 
    AM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Mapserver-users] Error 
    installing MapServer</DIV>
    <DIV><BR></DIV>
    <DIV><SPAN class=828334913-05082003><FONT face=Arial color=#0000ff size=2>Hi 
    Marvin:</FONT></SPAN></DIV>
    <DIV><SPAN class=828334913-05082003><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN> </DIV>
    <DIV><SPAN class=828334913-05082003><FONT face=Arial color=#0000ff 
    size=2>The mapserver you downloaded has Postgres included and requires this 
    dll, "LIBPQ.dll" and hence the error (7).</FONT></SPAN></DIV>
    <DIV><SPAN class=828334913-05082003><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN> </DIV>
    <DIV><SPAN class=828334913-05082003><FONT face=Arial color=#0000ff 
    size=2>You can find it at ,</FONT></SPAN></DIV>
    <DIV><SPAN class=828334913-05082003><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN> </DIV>
    <DIV><SPAN class=828334913-05082003><FONT face=Arial color=#0000ff size=2><A 
    href="http://postgis.refractions.net/download.php">http://postgis.refractions.net/download.php</A> as, 
    libpq.zip Unzip contents, copy the libpoq.dll to your windows system 
    directory and register it.</FONT></SPAN></DIV>
    <DIV><SPAN class=828334913-05082003><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN> </DIV>
    <DIV><SPAN class=828334913-05082003><FONT face=Arial color=#0000ff 
    size=2>HTH,</FONT></SPAN></DIV>
    <DIV><SPAN class=828334913-05082003><FONT face=Arial color=#0000ff 
    size=2>Gayathri</FONT></SPAN></DIV>
    <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
      <DIV></DIV>
      <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
      face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Mario Servin 
      [mailto:mservin at tecnoaccion.com.ar] <BR><B>Sent:</B> Tuesday, August 05, 
      2003 8:41 AM<BR><B>To:</B> 
      mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B> [Mapserver-users] 
      Error installing MapServer<BR><BR></FONT></DIV>
      <DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
      <DIV><FONT face=Arial size=2>    I am having errors with 
      the installation of MapServer 4.0. I followed the steps:</FONT></DIV>
      <DIV><FONT face=Arial size=2>1-Downloaded the binary MapServer 4.0 for 
      Windows. My platform is Windows XP with IIS 5.0. </FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT> </DIV>
      <DIV><FONT face=Arial size=2>2-Extract the files to C:\Documents and 
      Settings\mario\MyInstall\MapServer</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT> </DIV>
      <DIV><FONT face=Arial size=2>3-Copy \Proj to C:\Proj</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT> </DIV>
      <DIV><FONT face=Arial size=2>4-Add C:\Documents and 
      Settings\mario\MyInstall\MapServer\lib to the path variable of my 
      Windows.</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT> </DIV>
      <DIV><FONT face=Arial size=2>5-Create the virtual directory Scripts of my 
      Default Web Site because it was not created. I pointed it to the 
      folder IIS C:\Inetpub\Scripts.</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT> </DIV>
      <DIV><FONT face=Arial size=2>6-Copy mapserv.exe to 
      C:\Inetpub\Scripts.</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT> </DIV>
      <DIV><FONT face=Arial size=2>7-Opened a command prompt window in 
      C:\Inetpub\Scripts and typed: mapserv.exe. I got the following error: 
      "<STRONG>This application failed to start because LIBPQ.dll was not found. 
      Re-installing the application may fix this problem."</STRONG></FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT> </DIV>
      <DIV><FONT face=Arial><FONT size=2>8-tried to execute from the browser and 
      get the following error: <STRONG>"</STRONG></FONT><FONT size=2><STRONG>CGI 
      Error</STRONG></FONT></DIV>
      <DIV><FONT size=2><STRONG>The specified CGI application misbehaved by not 
      returning a complete set of HTTP headers. The headers it did return 
      are:"</STRONG>  </FONT><FONT size=2>And no header is shown at 
      all.</FONT></DIV>
      <DIV><FONT size=2></FONT> </DIV>
      <DIV><FONT size=2>    Can anybody help me on how to proceed 
      to get a correct installation?.</FONT></DIV>
      <DIV><FONT size=2>    Regards,</FONT></DIV>
      <DIV><FONT size=2>            
          
Mario</FONT></FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C35B5B.CC1314E0--



More information about the MapServer-users mailing list