NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I have followed the instructions of and it worked initially, but after rebooting I get the following error message:

el@openstreetmap:~$ renderd -f -c /usr/local/etc/renderd.conf
renderd[1591]: Rendering daemon started
renderd[1591]: Initiating request_queue
renderd[1591]: Parsing section renderd
renderd[1591]: Parsing render section 0
renderd[1591]: Parsing section mapnik
renderd[1591]: Parsing section ajt
renderd[1591]: config renderd: unix socketname=/var/run/renderd/renderd.sock
renderd[1591]: config renderd: num_threads=4
renderd[1591]: config renderd: num_slaves=0
renderd[1591]: config renderd: tile_dir=/var/lib/mod_tile
renderd[1591]: config renderd: stats_file=/var/run/renderd/renderd.stats
renderd[1591]: config mapnik:  plugins_dir=/usr/lib/mapnik/3.0/input
renderd[1591]: config mapnik:  font_dir=/usr/share/fonts/truetype
renderd[1591]: config mapnik:  font_dir_recurse=1
renderd[1591]: config renderd(0): Active
renderd[1591]: config renderd(0): unix socketname=/var/run/renderd/renderd.sock
renderd[1591]: config renderd(0): num_threads=4
renderd[1591]: config renderd(0): tile_dir=/var/lib/mod_tile
renderd[1591]: config renderd(0): stats_file=/var/run/renderd/renderd.stats
renderd[1591]: config map 0:   name(ajt) file(/home/renderaccount/src/openstreetmap-carto/mapnik.xml) uri(/hot/) htcp() host(localhost)
renderd[1591]: Initialising unix server socket on /var/run/renderd/renderd.sock
socket bind failed for: /var/run/renderd/renderd.sock

asked 24 Sep '21, 08:31

elnur09's gravatar image

accept rate: 0%

edited 24 Sep '21, 10:37

Frederik%20Ramm's gravatar image

Frederik Ramm ♦

The "Running renderd in the background" part of ensures that access to /var/run is maintained. After a reboot, if you want to run

renderd -f -c /usr/local/etc/renderd.conf

again you'll need to do

sudo mkdir /var/run/renderd
sudo chown renderaccount /var/run/renderd

again first. doesn't mention this because it doesn't expect you to want to run "Running renderd for the first time" more than once.

permanent link

answered 24 Sep '21, 11:11

SomeoneElse's gravatar image

SomeoneElse ♦
accept rate: 16%

Are you sure that the UNIX user you are running this under ("el") actually has write permissions on /var/run/renderd? Try the command touch /var/run/renderd/testfile to check. If that gives you an error messsage, you need to "su" into a different account or change the permissions or ownership of /var/run/renderd.

permanent link

answered 24 Sep '21, 10:31

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 24 Sep '21, 08:31

question was seen: 2,058 times

last updated: 24 Sep '21, 11:11

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum