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

No valid (active) renderd config section available

0

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 '21, 09:27

chris's gravatar image

chris
11113
accept rate: 0%

edited 02 Aug '21, 16:33

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866


One Answer:

0

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".

answered 02 Aug '21, 16:36

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

Source code available on GitHub .