[Tile-serving] [openstreetmap/mod_tile] Segmentation fault on a command "sudo -u taras renderd -f -c /usr/local/etc/renderd.conf" (#165)

Taras Sara notifications at github.com
Thu Jul 13 08:45:10 UTC 2017


Good afternoon dear all.

I definitely need your help because I am new to Apache technologies and do not know how to some current problem.

Could you be so kind to inspect my code and assist me to find the solution. I will greatly appreciate that.

I am following stages written in a manual: [switch2osm_16-04-2-lts](https://switch2osm.org/manually-building-a-tile-server-16-04-2-lts/)

But on a stage of "Running renderd for the first time" I got problems.
When I execute next command `sudo -u taras renderd -f -c /usr/local/etc/renderd.conf`
I received next reply in my Terminal:
```
renderd[24791]: Rendering daemon started
renderd[24791]: Initiating reqyest_queue
renderd[24791]: Parsing section renderd
renderd[24791]: Parsing render section 0
renderd[24791]: Parsing section mapnik
renderd[24791]: Parsing section ajt
renderd[24791]: config renderd: unix socketname=/var/run/renderd/renderd.sock
renderd[24791]: config renderd: num_threads=2
renderd[24791]: config renderd: num_slaves=0
renderd[24791]: config renderd: tile_dir=/var/lib/mod_tile
renderd[24791]: config renderd: stats_file=/var/run/renderd/renderd.stats
renderd[24791]: config mapnik:  plugins_dir=/usr/lib/mapnik/3.0/input
renderd[24791]: config mapnik:  font_dir=/usr/share/fonts/truetype
renderd[24791]: config mapnik:  font_dir_recurse=1
renderd[24791]: config renderd(0): Active
renderd[24791]: config renderd(0): unix socketname=/var/run/renderd/renderd.sock
renderd[24791]: config renderd(0): num_threads=2
renderd[24791]: config renderd(0): tile_dir=/var/lib/mod_tile
renderd[24791]: config renderd(0): stats_file=/var/run/renderd/renderd.stats
renderd[24791]: config map 0:   name(ajt) file(/home/taras/Documents/projects/luxembourg/src/openstreetmap-carto/mapnik.xml) uri(/hot/) htcp() host(localhost)
renderd[24791]: Initialising unix server socket on /var/run/renderd/renderd.sock
renderd[24791]: Created server socket 5
renderd[24791]: Renderd is using mapnik version 2.2.0
renderd[24791]: DEBUG: Loading font: /usr/share/fonts/truetype/lohit-punjabi/Lohit-Punjabi.ttf
... (some very similar code with no errors)
renderd[24791]: DEBUG: Loading font: /usr/share/fonts/truetype/tlwg/TlwgTypewriter-Bold.ttf
renderd[24791]: DEBUG: Loading font: /usr/share/fonts/truetype/tlwg/Purisa.ttf
renderd[24791]: DEBUG: Loading font: /usr/share/fonts/truetype/olga/GFSOlga.otf
Running in foreground mode...
renderd[24791]: 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[24791]: Loading parameterization function for 
renderd[24791]: Loading parameterization function for 
**Segmentation fault**
```

What does it mean Segmentation fault and what should I do?

Also, when I open my browser [http://130.89.234.165/mod_tile/0/0/0.png](http://130.89.234.165/mod_tile/0/0/0.png) I got next reply on the black background:
`The image “http://130.89.234.165/mod_tile/0/0/0.png” cannot be displayed, because it contains errors.`
Thank you fellows.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/165
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170713/6a1c88f9/attachment.html>


More information about the Tile-serving mailing list