Hi, I have problem with OSM. When I browse http://localhost/osm/slippymap.html I have pink baground. renderd -f -c /etc/renderd.conf gave me: renderd[2229]: An error occurred while loading the map layer 'default': : FATAL: role "www-data" does not exist (encountered during parsing of layer 'landcover' in map '/etc/mapnik-osm-data/osm.xml') renderd[2229]: An error occurred while loading the map layer 'default': : FATAL: role "www-data" does not exist (encountered during parsing of layer 'landcover' in map '/etc/mapnik-osm-data/osm.xml') renderd[2229]: An error occurred while loading the map layer 'default': : FATAL: role "www-data" does not exist (encountered during parsing of layer 'landcover' in map '/etc/mapnik-osm-data/osm.xml') renderd[2229]: An error occurred while loading the map layer 'default': : FATAL: role "www-data" does not exist (encountered during parsing of layer 'landcover' in map '/etc/mapnik-osm-data/osm.xml') And apache gave errors: [Thu Nov 21 13:16:08 2013] [notice] [client 127.0.0.1] Failed to connect to renderer, referer: http://localhost/osm/slippymap.html [Thu Nov 21 13:16:08 2013] [info] [client 127.0.0.1] tile_storage_hook: handler(tile_serve), uri(/osm/10/528/360.png), filename(/var/lib/mod_tile/default/10/0/0/33/22/8.meta), path_info((null)), referer: http://localhost/osm/slippymap.html [Thu Nov 21 13:16:08 2013] [info] [client 127.0.0.1] tile_storage_hook: handler(tile_serve), uri(/osm/10/538/354.png), filename(/var/lib/mod_tile/default/10/0/0/33/22/128.meta), path_info((null)), referer: http://localhost/osm/slippymap.html [Thu Nov 21 13:16:08 2013] [warn] [client 127.0.0.1] socket connect failed for: /var/run/renderd/renderd.sock with reason: Connection refused, referer: http://localhost/osm/slippymap.html [Thu Nov 21 13:16:08 2013] [warn] [client 127.0.0.1] socket connect failed for: /var/run/renderd/renderd.sock with reason: Connection refused, referer: http://localhost/osm/slippymap.html [Thu Nov 21 13:16:08 2013] [notice] [client 127.0.0.1] Failed to connect to renderer, referer: http://localhost/osm/slippymap.html [Thu Nov 21 13:16:08 2013] [notice] [client 127.0.0.1] Failed to connect to renderer, referer: http://localhost/osm/slippymap.html [Thu Nov 21 13:16:08 2013] [info] [client 127.0.0.1] tile_storage_hook: handler(tile_serve), uri(/osm/10/538/360.png), filename(/var/lib/mod_tile/default/10/0/0/33/22/136.meta), path_info((null)), referer: http://localhost/osm/slippymap.html [Thu Nov 21 13:16:08 2013] [warn] [client 127.0.0.1] socket connect failed for: /var/run/renderd/renderd.sock with reason: Connection refused, referer: http://localhost/osm/slippymap.html [Thu Nov 21 13:16:08 2013] [notice] [client 127.0.0.1] Failed to connect to renderer, referer: http://localhost/osm/slippymap.html Could somebody help me resolve problem? asked 21 Nov '13, 12:34 jonny1998 |
This seems to be a priviliges problem as jonny1998 says. You can alter it directly using psql shell or purge and update like the package installer does: answered 21 Nov '13, 15:36 iii |
Does the comment by Vincent to this answer resolve the problem?