This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Cannot connect to socket while using render_list

0

Hi all, I was trying prerender some tiles using the render_list command. But it is showing the following error:

socket connect failed for: /var/run/renderd/renderd.sock

"renderd" directory has the right permission to create and connect to the socket. But I am not sure why is not working. Please help me to find out the reason. alt text

Thanks SJP

asked 16 Feb '18, 21:37

subinjp7's gravatar image

subinjp7
16447
accept rate: 0%

Silly question - do /var/run/renderd and /var/run/renderd/renderd.sock exist? In https://switch2osm.org/manually-building-a-tile-server-16-04-2-lts/ you have to manually create /var/run/renderd the first time around. If you haven't set things up to create it at startup it won't exist.

(16 Feb '18, 22:39) SomeoneElse ♦

I have already done that. And renderd folder has right permission also to create socket and connect to it. But I am not sure what is supposed to be inside renderd.sock file. When I open it with vim editor, it shows an empty file with a warning permission denied.

(16 Feb '18, 23:15) subinjp7

One Answer:

0

This appears to be essentially a duplicate of this question. You're trying to use a cloud service for something it's not really designed for.

answered 08 Mar '18, 10:51

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

Source code available on GitHub .