Hello dear OSMappers,
I’m building own tile server on Ubuntu 12.04 with instructions from http://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/. Importing the data with osm2pgsql ran without any authentication error(s).
But renderd fails to start:
$ renderd -f -c /etc/renderd.conf
renderd[5116]: Rendering daemon started
renderd[5116]: Parsing section renderd
[...more logging...]
renderd[5116]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
Running in foreground mode...
renderd[5116]: Starting stats thread
renderd[5116]: An error occurred while loading the map layer 'default': :
FATAL: Peer authentication failed for user "www-data" (encountered during parsing of layer 'landcover' in map '/etc/mapnik-osm-data/osm.xml')
I see that the “offending” layer is not the first one in osm.xml:
&layer-shapefiles;
&layer-landcover;
&layer-water;
&layer-water_features;
Thanks for any insight.
Edit: title updated