[mapserver-users] POSTGIS parse error

Thomas Haechler thaechl at geo.unizh.ch
Mon Sep 30 01:07:08 PDT 2002


Hi Alex

I recently had exactly the same problem. Did you perhaps restart your
database server and forgot to allow TCP/IP connections, i.e. forgot to
use the -i option when starting postmaster?

You can find the posting here:
http://mapserver.gis.umn.edu/wilma/mapserver-users/0208/msg00091.html

Read also Tyler's note on this:
http://mapserver.gis.umn.edu/wilma/mapserver-users/0208/msg00093.html

Btw, I have made very good experiences with the new version of
mappostgis.c from the 3.7 version, where you get much more detailed
error messages. See:
http://mapserver.gis.umn.edu/wilma/mapserver-users/0209/msg00300.html

Hope this helps you,

Thomy




Alexander Pucher wrote:
> 
> Hi,
> 
> for some strange reason, mapserver fails to select data from my local
> PostgreSQL DB with this error:
> *
> Warning*: MapServer Error in msPOSTGISLayerOpen(): Error parsing POSTGIS
> connection information
> 
> This was already posted on the list about a year ago, but with no real
> conclusion.
> 
> Dave Blasby wrote back then:
> 
> The message occurs if the postgresql client
> library returns a
> "CONNECTION_BAD" when it tries to open a connection.
> 
> I have to add that everything used to work on my machine without
> problems until yesterday....
> 
> Did anyone come across this problem recently?
> 
> Any suggestions?
> 
> Regards,
> alex
> 
> --
> ________________________________________________________
> 
> Institut fuer Geographie und Regionalforschung
> Universitaet Wien
> Kartografie und Geoinformation
> 
> Departement of Geography and Regional Research
> University of Vienna
> Cartography and GIS
> 
> Universitaetstr. 7, A-1010 Wien, AUSTRIA
> 
> Tel: (+43 1) 4277 48644
> Fax: (+43 1) 4277 48649
> E-mail: alexander.pucher at univie.ac.at
> 
> FTP: ftp://ftp.gis.univie.ac.at
> WWW: http://www.gis.univie.ac.at/karto
> --------------------------------------------------------
> Atlas of Eastern and Southeastern Europe: http://www.aos.ac.at
> --------------------------------------------------------
> 
> M$ is not the answer. M$ is the question!
> No is the answer -- Eric Naggum

-- 

THOMAS HAECHLER

Geographic Information Systems Division
Institute of Geography
University of Zurich
Switzerland

thomas.haechler at geo.unizh.ch



More information about the MapServer-users mailing list