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

Hi, I got the following error message at start of the renderd service.
An error occurred while loading the map layer 'ajt': basic_string::_M_construct null not valid

I followed the following guide to build my local tile server: switch2osm tile server 16 04 02
I did then combined 4 pbf file into one with osmosis command

asked 10 Jul '17, 16:43

DeimosOmegaChan's gravatar image

DeimosOmegaChan
26113
accept rate: 0%

That looks like there's a problem with the style file. What style are you using? Could you post the full renderd startup information in a gist or other online document and link to it here?

The problem might be any one of a number of issues, so people would need to know what OS you were running on, what version, and any other customisations. Did it use to work and has it stopped following a database reload?

(10 Jul '17, 17:46) SomeoneElse ♦

I use the style "openstreetmap-carto" from the tutorial. I only noticed it after I imported data from several map files. The map rendering became unstable. Some parts of the map won't rendering properly. I read too the apache error log, there was written that I have sometimes no permission to the socket file of renderd.

I can tell more details tomorrow.

(10 Jul '17, 18:44) DeimosOmegaChan

I use Ubuntu 16.04.

(11 Jul '17, 11:22) DeimosOmegaChan

I solved the problem by deleting the ajt directory after importing data into the database from the combined file.
I have then restarted renderd server.

permanent link

answered 11 Jul '17, 11:23

DeimosOmegaChan's gravatar image

DeimosOmegaChan
26113
accept rate: 0%

edited 11 Jul '17, 11:23

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:

×440
×105

question asked: 10 Jul '17, 16:43

question was seen: 3,080 times

last updated: 11 Jul '17, 11:23

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