Postgis Connection
Ezequias Rodrigues da Rocha
ezequias at RECIFE.PE.GOV.BR
Thu Jun 30 08:09:33 PDT 2005
I am trying to load a mapserver service with a postgis connection but the MS
reported this message below:
msDrawMap(): Image handling error. Failed to draw layer named 'bairros'.
msPOSTGISLayerOpen(): Query error. couldnt make connection to DB with
connect string 'user=postgres password=post dbname=dbpotgis host=196.168.0
15 port=5432'.
Error reported was 'could not create socket: Permission denied '.
This error occured when trying to make a connection to the specified
postgresql server.
Most commonly this is caused by
(1) incorrect connection string
(2) you didnt specify a 'user=...' in your connection string
(3) the postmaster (postgresql server) isnt running
(4) you are not allowing TCP/IP connection to the postmaster
(5) your postmaster is not running on the correct port - if its not on 5432
you must specify a 'port=...'
(6) the security on your system does not allow the webserver (usually user
nobody') to make socket connections to the postmaster
(7) you forgot to specify a 'host=...' if the postmaster is on a different
machine
(8) you made a typo
Does anyone can tell me what to do ?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Atenciosamente (Sincerely)
Ezequias Rodrigues da Rocha
* www.recife.pe.gov.br
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorships
MSN Messenger: ezequias at hotmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050630/238f55a3/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msn.JPG
Type: image/jpeg
Size: 1111 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050630/238f55a3/attachment.jpe>
More information about the MapServer-users
mailing list