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

Alex Galera notifications at github.com
Fri Aug 21 09:54:19 UTC 2020


> 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.

I got the same error. My postgresql server is running and it's possible to connect it from other host.

-- 
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-678152931
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200821/2daef477/attachment.htm>


More information about the Tile-serving mailing list