Hey guys, I am trying to roll out my pc as an osm server. I followed the tutorial https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/ On giving the renderd command, it gives no error. It gives this:

sudo -u daman renderd -f -c /usr/local/etc/renderd.conf
renderd[26034]: Rendering daemon started
renderd[26034]: Initiating reqyest_queue
renderd[26034]: Parsing section renderd
renderd[26034]: Parsing render section 0
renderd[26034]: Parsing section renderd01
renderd[26034]: Parsing render section 1
renderd[26034]: Parsing section renderd02
renderd[26034]: Parsing render section 2
renderd[26034]: Parsing section mapnik
renderd[26034]: Parsing section default
renderd[26034]: Parsing section style2
renderd[26034]: config renderd: unix socketname=/var/run/renderd/renderd.sock
renderd[26034]: config renderd: num_threads=4
renderd[26034]: config renderd: num_slaves=8
renderd[26034]: config renderd: tile_dir=/var/lib/mod_tile
renderd[26034]: config renderd: stats_file=/var/run/renderd/renderd.stats
renderd[26034]: config mapnik:  plugins_dir=/usr/local/lib/mapnik/input
renderd[26034]: config mapnik:  font_dir=/usr/share/fonts/truetype/ttf-dejavu
renderd[26034]: config mapnik:  font_dir_recurse=1
renderd[26034]: config renderd(0): Active
renderd[26034]: config renderd(0): unix socketname=/var/run/renderd/renderd.sock
renderd[26034]: config renderd(0): num_threads=4
renderd[26034]: config renderd(0): tile_dir=/var/lib/mod_tile
renderd[26034]: config renderd(0): stats_file=/var/run/renderd/renderd.stats
renderd[26034]: config renderd(1): unix socketname=/var/run/renderd/renderd.sock
renderd[26034]: config renderd(1): num_threads=4
renderd[26034]: config renderd(1): tile_dir=/var/lib/mod_tile
renderd[26034]: config renderd(1): stats_file=(null)
renderd[26034]: config renderd(2): unix socketname=/var/run/renderd/renderd.sock
renderd[26034]: config renderd(2): num_threads=4
renderd[26034]: config renderd(2): tile_dir=/var/lib/mod_tile
renderd[26034]: config renderd(2): stats_file=(null)
renderd[26034]: config map 0:   name(default) file(/usr/local/share/maps/style/OSMBright/OSMBright.xml) uri(/osm_tiles/) htcp() host(localhost)
renderd[26034]: config map 1:   name(style2) file(/usr/local/share/maps/style/OSMBright/OSMBright.xml) uri() htcp() host()
renderd[26034]: Initialising unix server socket on /var/run/renderd/renderd.sock
renderd[26034]: Created server socket 4
renderd[26034]: Renderd is using mapnik version 2.2.0
renderd[26034]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf
renderd[26034]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf
renderd[26034]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed-BoldItalic.ttf
renderd[26034]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-BoldOblique.ttf
renderd[26034]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed-Bold.ttf
renderd[26034]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed.ttf
renderd[26034]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed-Italic.ttf
renderd[26034]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf
renderd[26034]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Bold.ttf
renderd[26034]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf
renderd[26034]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf
renderd[26034]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
renderd[26034]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-BoldItalic.ttf
renderd[26034]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf
renderd[26034]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf
renderd[26034]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
renderd[26034]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Oblique.ttf
renderd[26034]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf
renderd[26034]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-ExtraLight.ttf
renderd[26034]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Italic.ttf
renderd[26034]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf
Running in foreground mode...
renderd[26034]: 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[26034]: Loading parameterization function for 
renderd[26034]: Loading parameterization function for 
renderd[26034]: Initialising unix client socket on /var/run/renderd/renderd.sock
renderd[26034]: Initialising unix client socket on /var/run/renderd/renderd.sockrenderd[26034]: socket /var/run/renderd/renderd.sock initialised to fd 5

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[26034]: Loading parameterization function for 
renderd[26034]: Initialising unix client socket on /var/run/renderd/renderd.sock
renderd[26034]: socket /var/run/renderd/renderd.sock initialised to fd 7
renderd[26034]: socket /var/run/renderd/renderd.sock initialised to fd 6
renderd[26034]: Loading parameterization function for 
renderd[26034]: Initialising unix client socket on /var/run/renderd/renderd.sock
renderd[26034]: socket /var/run/renderd/renderd.sock initialised to fd 11
renderd[26034]: Initialising unix client socket on /var/run/renderd/renderd.sock
renderd[26034]: socket /var/run/renderd/renderd.sock initialised to fd 12
renderd[26034]: Initialising unix client socket on /var/run/renderd/renderd.sock
renderd[26034]: socket /var/run/renderd/renderd.sock initialised to fd 13
renderd[26034]: DEBUG: Got incoming connection, fd 17, number 1
renderd[26034]: Initialising unix client socket on /var/run/renderd/renderd.sock
renderd[26034]: DEBUG: Got incoming connection, fd 18, number 2
renderd[26034]: socket /var/run/renderd/renderd.sock initialised to fd 19
renderd[26034]: DEBUG: Got incoming connection, fd 20, number 3
renderd[26034]: DEBUG: Got incoming connection, fd 21, number 4
renderd[26034]: DEBUG: Got incoming connection, fd 22, number 5
renderd[26034]: DEBUG: Got incoming connection, fd 23, number 6
renderd[26034]: DEBUG: Got incoming connection, fd 24, number 7
renderd[26034]: Initialising unix client socket on /var/run/renderd/renderd.sock
renderd[26034]: DEBUG: Got incoming connection, fd 26, number 8
renderd[26034]: socket /var/run/renderd/renderd.sock initialised to fd 25
renderd[26034]: Using web mercator projection settings
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
renderd[26034]: Loading parameterization function for 
renderd[26034]: Using web mercator projection settings
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
renderd[26034]: Loading parameterization function for 
renderd[26034]: Using web mercator projection settings
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
renderd[26034]: Loading parameterization function for 
renderd[26034]: Using web mercator projection settings
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
renderd[26034]: Loading parameterization function for 
renderd[26034]: Using web mercator projection settings
renderd[26034]: Using web mercator projection settings
renderd[26034]: Using web mercator projection settings
renderd[26034]: Using web mercator projection settings
renderd[26034]: DEBUG: Got incoming connection, fd 8, number 9
renderd[26034]: DEBUG: Got incoming request with protocol version 2
renderd[26034]: DEBUG: Got command RenderPrio fd(8) xml(default), z(0), x(0), y(0), mime(image/png), options()
renderd[26034]: Dispatching request to slave thread on fd 5
renderd[26034]: DEBUG: Sending render cmd(1 default 0/0/0) with protocol version 3 to fd 5
renderd[26034]: DEBUG: Got incoming request with protocol version 3
renderd[26034]: DEBUG: Got command Render fd(17) xml(default), z(0), x(0), y(0), mime(image/png), options()
renderd[26034]: DEBUG: Failed to read cmd on fd 8
renderd[26034]: DEBUG: Connection 8, fd 8 closed, now 8 left

Even the mod_tile folder is empty. On accessing http://localhost/osm_tiles/0/0/0.png It gives a 404 not found error Please help.

asked 10 Jul '15, 07:47

DamBatra's gravatar image

DamBatra
11112
accept rate: 0%

edited 24 Jul '15, 14:55

SomeoneElse's gravatar image

SomeoneElse ♦
32.0k63330748

I checked my apache error.log file. It is giving me a coredump message: [core:error] [pid 1688:tid 140121667135360] AH00546: no record of generation 0 of exiting child 22589 [Thu Jul 09 18:29:53.015305 2015] [core:notice] [pid 1688:tid 140121667135360] AH00051: child pid 22590 exit signal Segmentation fault (11), possible coredump in /etc/apache2

(10 Jul '15, 20:11) DamBatra

Without knowing the context of what causes Apache to fail, I have no idea.

What would really be needed would be a record of everything that you did. It's all very well saying "I followed XYZ guide" but when other people do this they don't get the same problem, and so there must be something different about your configuration. What would help people diagnose this would be you posted exactly what you did, and what results came back, in a pastebin somewhere and linked to that from here. Currently we simply don't know what you did to get to where you are now.

It's also worth describing what you're running this on - what hardware or VM? How much memory, how much disk?

permanent link

answered 24 Jul '15, 15:02

SomeoneElse's gravatar image

SomeoneElse ♦
32.0k63330748
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:

×81
×71

question asked: 10 Jul '15, 07:47

question was seen: 2,957 times

last updated: 24 Jul '15, 15:02

powered by OSQA