<p><a class="user-mention" data-hovercard-user-id="147741" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tomhughes">@tomhughes</a> <a class="user-mention" data-hovercard-user-id="251447" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/apmon">@apmon</a> <a class="user-mention" data-hovercard-user-id="1848183" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jburgess777">@jburgess777</a> <a class="user-mention" data-hovercard-user-id="20300" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/springmeyer">@springmeyer</a> <a class="user-mention" data-hovercard-user-id="705471" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/woodpeck">@woodpeck</a></p>
<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>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/183#issuecomment-399256299">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AD2-7lEE-Out9aB6VFwoUjmW29GGDhydks5t_Ba9gaJpZM4UwDhd">mute the thread</a>.<img src="https://github.com/notifications/beacon/AD2-7rj2hYavuj7B1miqHP08BeS6Jw-sks5t_Ba9gaJpZM4UwDhd.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/183#issuecomment-399256299","url":"https://github.com/openstreetmap/mod_tile/issues/183#issuecomment-399256299","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":"PERSON","message":"@wbaizer in #183: @tomhughes @apmon @jburgess777 @springmeyer @woodpeck\r\n\r\nI have changed my mod_tile.config to be like so:\r\n\r\n```\r\n# This is the Apache server configuration file for providing OSM tile support\r\n# through mod_tile\r\n\r\nLoadModule tile_module modules/mod_tile.so\r\n\r\n\u003cVirtualHost *:80\u003e\r\n    ServerName tile.openstreetmap.org\r\n    ServerAlias a.tile.openstreetmap.org b.tile.openstreetmap.org c.tile.openstreetmap.org d.tile.openstreetmap.org\r\n    DocumentRoot /var/www/html\r\n\r\n# Specify the default base storage path for where tiles live. A number of different storage backends\r\n# are available, that can be used for storing tiles.  Currently these are a file based storage, a memcached\r\n# based storage and a RADOS based storage.\r\n# The file based storage uses a simple file path as its storage path ( /path/to/tiledir )\r\n# The RADOS based storage takes a location to the rados config file and a pool name ( rados://poolname/path/to/ceph.conf )\r\n# The memcached based storage currently has no configuration options and always connects to memcached on localhost ( memcached:// )\r\n#\r\n# The storage path can be overwritten on a style by style basis from the style TileConfigFile\r\n    ModTileTileDir memcached://localhost:11211\r\n...\r\n```\r\nI then restarted renderd, apache2, and memcache.\r\n\r\nHowever, when I run renderd and it starts to store a tile in memcached, renderd gives me this error\r\n\r\n`Failed to write metatile to memcached:///ajt/464/840/11.meta`\r\n\r\nWhat config file do I need to change and what steps do I need to take to fix this issue?"}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/mod_tile/issues/183#issuecomment-399256299"}}}</script>
<script type="application/ld+json">{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [openstreetmap/mod_tile] Receiving renderd error - ERROR: init_storage_memcached: Support for memcached has not been compiled into this program (#183)",
"sections": [
{
"text": "",
"activityTitle": "**Will Baizer**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@wbaizer",
"facts": [

]
}
],
"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\": 183,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/openstreetmap/mod_tile/issues/183#issuecomment-399256299"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 348141661\n}"
}
],
"themeColor": "26292E"
}</script>