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

0
1

Hi there. I'm currently trying to run the tutorial on https://switch2osm.org/manually-building-a-tile-server-18-04-lts/, but am having some issues with the section on 'Running renderd for the first time'.

This is my terminal output:

renderd[28593]: DEBUG: Loading font: /usr/share/fonts/truetype/didot/GFSDidotBold.otf
renderd[28593]: DEBUG: Loading font: /usr/share/fonts/truetype/fonts-deva-extra/chandas1-2.ttf
renderd[28593]: DEBUG: Loading font: /usr/share/fonts/truetype/fonts-deva-extra/kalimati.ttf
renderd[28593]: DEBUG: Loading font: /usr/share/fonts/truetype/fonts-deva-extra/samanata.ttf
renderd[28593]: DEBUG: Loading font: /usr/share/fonts/truetype/lohit-oriya/Lohit-Odia.ttf
renderd[28593]: DEBUG: Loading font: /usr/share/fonts/truetype/fonts-telu-extra/Pothana2000.ttf
renderd[28593]: DEBUG: Loading font: /usr/share/fonts/truetype/fonts-telu-extra/vemana2000.ttf
renderd[28593]: DEBUG: Loading font: /usr/share/fonts/truetype/didot-classic/GFSDidotClassic.otf
Running in foreground mode...
renderd[28593]: Starting stats thread
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
renderd[28593]: Loading parameterization function for 
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
renderd[28593]: Loading parameterization function for 
renderd[28593]: Loading parameterization function for 
renderd[28593]: Loading parameterization function for 
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Sans CJK JP Regular' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Serif Tibetan Regular' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Emoji Regular' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinA Regular' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinB Regular' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'unifont Medium' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Sans CJK JP Regular' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Serif Tibetan Regular' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Emoji Regular' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinA Regular' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinB Regular' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'unifont Medium' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Sans CJK JP Bold' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Sans CJK JP Regular' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Serif Tibetan Bold' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Sans CJK JP Regular' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Serif Tibetan Regular' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Emoji Regular' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinA Regular' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinB Regular' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'unifont Medium' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Serif Tibetan Regular' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Emoji Regular' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinA Regular' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinB Regular' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'unifont Medium' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Sans CJK JP Regular' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Serif Tibetan Regular' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Emoji Regular' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinA Regular' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinB Regular' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'unifont Medium' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Sans CJK JP Bold' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Serif Tibetan Bold' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Sans CJK JP Regular' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Serif Tibetan Regular' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Emoji Regular' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinA Regular' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinB Regular' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'unifont Medium' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Sans CJK JP Regular' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Serif Tibetan Regular' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Emoji Regular' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinA Regular' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinB Regular' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'unifont Medium' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Sans CJK JP Regular' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Serif Tibetan Regular' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Emoji Regular' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinA Regular' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinB Regular' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'unifont Medium' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Sans CJK JP Bold' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Serif Tibetan Bold' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Sans CJK JP Regular' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Serif Tibetan Regular' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Emoji Regular' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinA Regular' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinB Regular' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'unifont Medium' in FontSet 'fontset-2'
renderd[28593]: An error occurred while loading the map layer 'default': Could not create datasource for type: 'postgis' (no datasource plugin directories have been successfully registered)  encountered during parsing of layer 'landcover-low-zoom' in Layer at line 819 of '/home/isaacw/osm/openstreetmap-carto/mapnik.xml'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Sans CJK JP Regular' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Serif Tibetan Regular' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Emoji Regular' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinA Regular' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinB Regular' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'unifont Medium' in FontSet 'fontset-0'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Sans CJK JP Regular' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Serif Tibetan Regular' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Emoji Regular' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinA Regular' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinB Regular' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'unifont Medium' in FontSet 'fontset-1'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Sans CJK JP Bold' in FontSet 'fontset-2'
renderd[28593]: An error occurred while loading the map layer 'default': Could not create datasource for type: 'postgis' (no datasource plugin directories have been successfully registered)  encountered during parsing of layer 'landcover-low-zoom' in Layer at line 819 of '/home/isaacw/osm/openstreetmap-carto/mapnik.xml'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Serif Tibetan Bold' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Sans CJK JP Regular' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Serif Tibetan Regular' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'Noto Emoji Regular' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinA Regular' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'HanaMinB Regular' in FontSet 'fontset-2'
Mapnik LOG> 2019-11-26 12:23:30: warning: unable to find face-name 'unifont Medium' in FontSet 'fontset-2'
renderd[28593]: An error occurred while loading the map layer 'default': Could not create datasource for type: 'postgis' (no datasource plugin directories have been successfully registered)  encountered during parsing of layer 'landcover-low-zoom' in Layer at line 819 of '/home/isaacw/osm/openstreetmap-carto/mapnik.xml'
renderd[28593]: An error occurred while loading the map layer 'default': Could not create datasource for type: 'postgis' (no datasource plugin directories have been successfully registered)  encountered during parsing of layer 'landcover-low-zoom' in Layer at line 819 of '/home/isaacw/osm/openstreetmap-carto/mapnik.xml'

I believe my problem may be to do with not having an 'ajt' section in my renderd.conf file. So I ended up adding the URI and XML changes to the default section. Am I doing this correctly? Please help :)

asked 25 Nov '19, 23:34

itworsley's gravatar image

itworsley
11112
accept rate: 0%


Your renderd.conf needs to have a section like this:

[mapnik] plugins_dir=/usr/lib/mapnik/input font_dir=/usr/share/fonts/truetype font_dir_recurse=1

And the directory listed as "plugins_dir" needs to contain a file called postgis.input.

permanent link

answered 26 Nov '19, 00:46

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Hi Frederik, thanks for your reply.

I was actually using the incorrect version of PostgreSQL and PostGIS. Perhaps should've followed the correct tutorial for Ubuntu 18.04 rather than 16.04.

Cheers

permanent link

answered 26 Nov '19, 00:57

itworsley's gravatar image

itworsley
11112
accept rate: 0%

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:

×105
×36

question asked: 25 Nov '19, 23:34

question was seen: 3,054 times

last updated: 26 Nov '19, 00:57

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