[Tile-serving] [openstreetmap/mod_tile] Failed to write metatile to memcached:///<map>/<x>/<y>/<z>.meta (#184)

Will Baizer notifications at github.com
Thu Jun 21 22:04:58 UTC 2018


I have changed my mod_tile.config to be like so:

```
# This is the Apache server configuration file for providing OSM tile support
# through mod_tile

LoadModule tile_module modules/mod_tile.so

<VirtualHost *:80>
    ServerName tile.openstreetmap.org
    ServerAlias a.tile.openstreetmap.org b.tile.openstreetmap.org c.tile.openstreetmap.org d.tile.openstreetmap.org
    DocumentRoot /var/www/html

# Specify the default base storage path for where tiles live. A number of different storage backends
# are available, that can be used for storing tiles.  Currently these are a file based storage, a memcached
# based storage and a RADOS based storage.
# The file based storage uses a simple file path as its storage path ( /path/to/tiledir )
# The RADOS based storage takes a location to the rados config file and a pool name ( rados://poolname/path/to/ceph.conf )
# The memcached based storage currently has no configuration options and always connects to memcached on localhost ( memcached:// )
#
# The storage path can be overwritten on a style by style basis from the style TileConfigFile
    ModTileTileDir memcached://localhost:11211
...
```

and my renderd.config set up like this

```
[renderd]
num_threads=4
tile_dir=memcached://localhost:11211
stats_file=/var/run/renderd/renderd.stats

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

[ajt]
URI=/hot/
TILEDIR=memcached://localhost:11211
XML=/home/renderaccount/src/openstreetmap-carto/mapnik.xml
HOST=localhost
TILESIZE=256
MAXZOOM=20
```

I then ran the following commands.

`
./configure
make
sudo make install
sudo make install-mod_tile
sudo ldconfig
`

I then restarted renderd, apache2, and memcache.

However, when I run renderd and it starts to store a tile in memcached, renderd gives me this error:

`Failed to write metatile to memcached:///ajt/464/840/11.meta`

What config file do I need to change and what steps do I need to take to fix this issue?

-- 
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/184
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20180621/0ebe2c7d/attachment.html>


More information about the Tile-serving mailing list