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

how to solve socket connect failed for: /tmp/osm-renderd

0

Hi buds !

I'm getting this error while trying to pre-render tiles ... I fetched Corsica to give it a try, i could import ... ... The problem i when i'm running render_list

Here is the log:

osm@osm-server:~$ sudo render_list -a -f –z 18 -Z 18 x 8.5 X 9.8 y 43.03 Y 41.34 -      socket=/var/run/renderd/renderd.sock
Rendering client
Planet timestamp file (/var/lib/mod_tile//planet-import-complete) is missing
Starting 1 rendering threads
Rendering all tiles from zoom 0 to zoom 18
Rendering all tiles for zoom 0 from (0, 0) to (0, 0)
Rendering all tiles for zoom 1 from (0, 0) to (1, 1)
Rendering all tiles for zoom 2 from (0, 0) to (3, 3)
Rendering all tiles for zoom 3 from (0, 0) to (7, 7)
Rendering all tiles for zoom 4 from (0, 0) to (15, 15)
Rendering all tiles for zoom 5 from (0, 0) to (31, 31) 
Rendering all tiles for zoom 6 from (0, 0) to (63, 63)
socket connect failed for: /tmp/osm-renderd

i think getting the error "planet timestamp file ..." is normal since is just downloaded the Corsica .. ( ? ) ps : i'm running on a virtual machine under ubuntu (18 allocated), since corsica is a pretty small area, i think this is enough .. or i hope this is enough ..

My first thought was that i didn't have the permissions for /var/ru/rendered/renderd.sock, i did a chmod .. didn't change anything .. My tile's folder is /var/lib/mod_tile (default)

Thank you for reading and helping, Regards, Guillaume.

asked 30 Apr '14, 10:11

guillaume's gravatar image

guillaume
6223
accept rate: 0%


One Answer:

1

It is ominous that you seem to instruct render_list to use /var/run/renderd/renderd.sock as a socket but later you have an error message that says a connection to /tmp/osm-renderd has failed. The only context in which that path is used in the current codebase is the python version of renderd which is not really supported or used by anyone. Are you sure that you are running the proper C renderd? Are you running any renderd at all (because you didn't mention anything about starting renderd)? If not, make sure to start renderd before running any render_... programs.

answered 03 May '14, 00:58

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%