A few days ago, I have mounted my own Tile server and I have used it for one week without problems, now I get the message 404 (Not Found) when Im navigating to parts of the world I did not navigate for the past week. Meaning, all Tiles that I had seen when everything was working OK, I can see them now allright, (seems like they are somehow cached?), but the parts of the map I did not navigate or Zoomed in when everything was working allright, throws that error and does not return any Tile.

Is there a way to know that my server is working OK?

asked 05 Feb, 16:46

Leo_1991's gravatar image

Leo_1991
26224
accept rate: 0%

edited 05 Feb, 16:48

alester's gravatar image

alester
5.2k25577

1

What software are you using to render the tiles?

(05 Feb, 16:47) alester
1

According to this guide: https://switch2osm.org/manually-building-a-tile-server-18-04-lts/

Its called "Renderd"

(05 Feb, 17:01) Leo_1991

When you try and request tiles, what is written to "/var/log/syslog"?

(05 Feb, 17:43) SomeoneElse ♦

Got this when panning a little to the left in the map. Not sure what it really means tough :/

Feb 5 14:46:23 UBUNTU-PC renderd[1891]: DEBUG: Got incoming request with protocol version 2 Feb 5 14:46:23 UBUNTU-PC renderd[1891]: DEBUG: Sending render cmd(4 ajt 13/2710/4968) with protocol version 2 to fd 9 Feb 5 14:46:23 UBUNTU-PC renderd[1891]: DEBUG: Sending render cmd(4 ajt 13/2710/4967) with protocol version 2 to fd 10 Feb 5 14:46:23 UBUNTU-PC renderd[1891]: DEBUG: Got command RenderPrio fd(7) xml(ajt), z(13), x(2712), y(4969), mime(image/png), options() Feb 5 14:46:23 UBUNTU-PC renderd[1891]: DEBUG: Connection 0, fd 8 closed, now 3 left Feb 5 14:46:23 UBUNTU-PC renderd[1891]: DEBUG: Connection 0, fd 9 closed, now 2 left Feb 5 14:46:23 UBUNTU-PC renderd[1891]: DEBUG: Connection 0, fd 10 closed, now 1 left

(05 Feb, 17:48) Leo_1991

Feb 5 14:46:23 UBUNTU-PC renderd[1891]: DEBUG: Got incoming connection, fd 7, number 1 Feb 5 14:46:23 UBUNTU-PC renderd[1891]: DEBUG: Got incoming connection, fd 8, number 2 Feb 5 14:46:23 UBUNTU-PC renderd[1891]: DEBUG: Got incoming request with protocol version 2 Feb 5 14:46:23 UBUNTU-PC renderd[1891]: DEBUG: Got command RenderPrio fd(7) xml(ajt), z(13), x(2710), y(4969), mime(image/png), options() Feb 5 14:46:23 UBUNTU-PC renderd[1891]: DEBUG: Got incoming connection, fd 9, number 3 Feb 5 14:46:23 UBUNTU-PC renderd[1891]: Received request for map layer 'ajt' which failed to load Feb 5 14:46:23 UBUNTU-PC renderd[1891]: DEBUG: Got incoming request with protocol version 2 Feb 5 14:46:23 UBUNTU-PC renderd[1891]: DEBUG: Sending render cmd(4 ajt 13/2710/4969) with protocol version 2 to fd 7 Feb 5 14:46:23 UBUNTU-PC renderd[1891]: DEBUG: Got command RenderPrio fd(8) xml(ajt), z(13), x(2711), y(4969), mime(image/png), options()

(05 Feb, 17:50) Leo_1991

I can see a " Received request for map layer 'ajt' which failed to load", Is that ok? :s

(05 Feb, 17:51) Leo_1991
1

"Received request for map layer 'ajt' which failed to load" is not OK. If you do a "sudo /etc/init.d/renderd reload" it'll write why that map layer failed to load to "/var/log/syslog".

(05 Feb, 17:55) SomeoneElse ♦

Allright! I did a sudo /etc/init.d/renderd reload Then what was being written to syslog did not show any error, it started as normal.. Then I did sudo /etc/init.d/renderd reload but said service was not initiated... And then I did a sudo /etc/init.d/renderd start Then I went to my map and now everything renders perfectly! SomeoneElse you are the Boss! :D :D

Tough I dont know why it has stopped in the first place, I can keep working now :), Thank you very much!!

(05 Feb, 18:12) Leo_1991

Though I dont know why it has stopped in the first place,

... well that will be in "syslog" somewhere - just search from somewhere where tiles were loading for the first "failed to load" and see what else was happening then. It could be one of a number of things, such as out of memory.

(05 Feb, 18:41) SomeoneElse ♦

Allright, I will look into it!

(05 Feb, 19:16) Leo_1991
showing 5 of 10 show 5 more comments

According to @someoneElse comment, I can see how was renderd working via "$ cat /var/log/syslog".

To make the service work again I did a "sudo /etc/init.d/renderd reload", and then a sudo /etc/init.d/renderd.

Everything is working fine now.

permanent link

answered 05 Feb, 19:18

Leo_1991's gravatar image

Leo_1991
26224
accept rate: 0%

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:

×387
×158

question asked: 05 Feb, 16:46

question was seen: 663 times

last updated: 05 Feb, 19:18

powered by OSQA