[Tile-serving] [mod_tile] Postgis Plugin: Bad connection (#91)

Peter Perger notifications at github.com
Sat Dec 13 15:33:44 UTC 2014


Hello,

I would like create a tile server on a EC2 Ubuntu server. I followed this documentation:
http://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/

After I successfully import data into the database from pbf file, I execute this command:
```
sudo -u <username> renderd -f -c /usr/local/etc/renderd.conf
```
But I got the next error message:
```
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 check all config file, but I can not find any mistake. And I can connect to "gis" db with this user:
```
psql -d gis -U <username> -W
```
Have you any idea, what is the problem?

Thanks in advance!

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/91
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20141213/d618a9d4/attachment.html>


More information about the Tile-serving mailing list