<p>I have changed my mod_tile.config to be like so:</p>
<pre><code># 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
...
</code></pre>
<p>and my renderd.config set up like this</p>
<pre><code>[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
</code></pre>
<p>I then ran the following commands.</p>
<p><code>./configure make sudo make install sudo make install-mod_tile sudo ldconfig</code></p>
<p>I then restarted renderd, apache2, and memcache.</p>
<p>However, when I run renderd and it starts to store a tile in memcached, renderd gives me this error:</p>
<p><code>Failed to write metatile to memcached:///ajt/464/840/11.meta</code></p>
<p>What config file do I need to change and what steps do I need to take to fix this issue?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/mod_tile/issues/184">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AD2-7nCdfGprwjwDf0N7yPuB4t48wt9Eks5t_BiKgaJpZM4Uy1oI">mute the thread</a>.<img src="https://github.com/notifications/beacon/AD2-7nWKvGwQqK-LlyLz9Bzwje222UTRks5t_BiKgaJpZM4Uy1oI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","potentialAction":{"@type":"ViewAction","target":"https://github.com/openstreetmap/mod_tile/issues/184","url":"https://github.com/openstreetmap/mod_tile/issues/184","name":"View Issue"},"description":"View this Issue on GitHub","publisher":{"@type":"Organization","name":"GitHub","url":"https://github.com"}}</script>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/mod_tile","title":"openstreetmap/mod_tile","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/mod_tile"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Failed to write metatile to memcached:///\u003cmap\u003e/\u003cx\u003e/\u003cy\u003e/\u003cz\u003e.meta (#184)"}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/mod_tile/issues/184"}}}</script>
<script type="application/ld+json">{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Failed to write metatile to memcached:///\u003cmap\u003e/\u003cx\u003e/\u003cy\u003e/\u003cz\u003e.meta (#184)",
"sections": [
{
"text": "",
"activityTitle": "**Will Baizer**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@wbaizer",
"facts": [
{
"name": "Repository: ",
"value": "openstreetmap/mod_tile"
},
{
"name": "Issue #: ",
"value": 184
}
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"openstreetmap/mod_tile\",\n\"issueId\": 184,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"openstreetmap/mod_tile\",\n\"issueId\": 184\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/openstreetmap/mod_tile/issues/184"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 348871176\n}"
}
],
"themeColor": "26292E"
}</script>