Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed Mapnik and have a functioning PostGIS database (I can access data through QGIS with no problems). When I try to run render_list to generate tiles it fails with

socket connect failed for: /tmp/osm-renderd

I have updated to include proper connection settings for my database but still no luck.

Here is my

Settings for your postgres setup.

Note: feel free to leave password, host, port, or use blank

<Parameter name="type">postgis</Parameter>
<Parameter name="password">gis</Parameter>
<Parameter name="host">localhost</Parameter -->
<Parameter name="port">5432</Parameter -->
<Parameter name="user">www-data</Parameter>
<Parameter name="dbname">gis_data</Parameter>
<!-- this should be 'false' if you are manually providing the 'extent' -->
<Parameter name="estimate_extent">true</Parameter>
<!-- manually provided extent in epsg 900913 for whole globe -->
<!-- providing this speeds up Mapnik database queries -->
<!-- Parameter name="extent">%(extent)s</Parameter -->

I'm running Ubuntu 12.04. My database is on localhost at port 5432. OSM data is located in a database called gis_data under a schema called osm_data. The tables all have public permissions so I don't see that being the issue. Googling around didn't yield much help other than double- and triple-checking the permissions on my database. Any suggestions? Is there another settings file somewhere that I need to be looking at?

share|improve this question

You'll need to /etc/init.d/renderd as sudo, then run render_list as sudo as well. I've also gotten it to work by doing both of the above as the www-data user.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.