Hi, I’m trying to set up a tile server following the instructions at - switch2osm.org/serving-tiles/manually-building-a-tile-server-20-04-lts/

I have a fresh install of Ubuntu Linux 20.04 LTS.

I’m ok as far as the Apache2 Ubuntu Default Page but when I try to run renderd for the first time with- $ renderd -f -c /usr/local/etc/renderd.conf I get the following-

renderd[150270]: Rendering daemon started

renderd[150270]: Initiating request_queue

renderd[150270]: Parsing section mapnik

renderd[150270]: Parsing section ajt

No valid (active) renderd config section available

As per the instruction I have edited renderd.conf so the first line is;-

XML=/home/fozz/src/openstreetmap-carto/mapnik.xml[renderd]

And the file mapnik.xml is at that location and consists of 4k+ lines. I’m not sure where to go next, any help will be greatly appreciated.

asked 02 Aug, 09:27

chris's gravatar image

chris
1113
accept rate: 0%

edited 02 Aug, 16:33

SomeoneElse's gravatar image

SomeoneElse ♦
34.6k69359830


If the first line really is "XML=/home/fozz/src/openstreetmap-carto/mapnik.xml[renderd]" then it looks like you've just added something at the very beginning of the file. You can see a working one here.

In there, in the "ajt" section there is the line "XML=/home/renderaccount/src/openstreetmap-carto/mapnik.xml". If you're using the named map style "ajt" then you'll need to update the "XML" setting under "[ajt]" to point to "/home/fozz/src/openstreetmap-carto/mapnik.xml".

permanent link

answered 02 Aug, 16:36

SomeoneElse's gravatar image

SomeoneElse ♦
34.6k69359830
accept rate: 15%

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×190
×100
×4
×1

question asked: 02 Aug, 09:27

question was seen: 260 times

last updated: 02 Aug, 16:36

powered by OSQA