[Tile-serving] [mod_tile] Postgis Plugin: Bad connection (#91)
ephilosophy
notifications at github.com
Sat Mar 19 07:47:44 UTC 2016
I am getting the same error
```
renderd[12282]: An error occurred while loading the map layer 'default': Postgis Plugin: Bad connection
Connection string: ' dbname=gis connect_timeout=4'
encountered during parsing of layer 'landuse_gen0' in Layer at line 193 of '/usr/local/share/maps/style/OSMBright/OSMBright.xml'
```
I have also tried changing pg_hba.conf but nothing worked. Also according to the tutorial I created a user named abhishek but when I try to connect using
`psql -d gis -U abhishek -W`
I get this error
```
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
```
I don't know what should I do next. Please help.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/91#issuecomment-198660746
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20160319/2693313c/attachment.html>
More information about the Tile-serving
mailing list