I started this
renderd -f -c /usr/local/etc/renderd.conf
got this
renderd[1620]: Rendering daemon started
renderd[1620]: Initiating reqyest_queue
iniparser: syntax error in /usr/local/etc/renderd.conf (7):
-> ;[renderd01]
iniparser: syntax error in /usr/local/etc/renderd.conf (14):
-> ;[renderd02]
iniparser: syntax error in /usr/local/etc/renderd.conf (33):
-> ;** config options used by mod_tile, but not renderd **
iniparser: syntax error in /usr/local/etc/renderd.conf (42):
-> ;[style2]
iniparser: syntax error in /usr/local/etc/renderd.conf (49):
-> ;** config options used by mod_tile, but not renderd **
renderd[1620]: Parsing section renderd
renderd[1620]: Parsing render section 0
renderd[1620]: Parsing section mapnik
renderd[1620]: Parsing section default
renderd[1620]: config renderd: unix socketname=/var/run/renderd/renderd.sock
renderd[1620]: config renderd: num_threads=4
renderd[1620]: config renderd: num_slaves=0
renderd[1620]: config renderd: tile_dir=/var/lib/mod_tile
renderd[1620]: config renderd: stats_file=/var/run/renderd/renderd.stats
renderd[1620]: config mapnik: plugins_dir=/usr/local/lib/mapnik/input
renderd[1620]: config mapnik: font_dir=/usr/share/fonts/truetype/ttf-dejavu
renderd[1620]: config mapnik: font_dir_recurse=1
renderd[1620]: config renderd(0): Active
renderd[1620]: config renderd(0): unix socketname=/var/run/renderd/renderd.sock
renderd[1620]: config renderd(0): num_threads=4
renderd[1620]: config renderd(0): tile_dir=/var/lib/mod_tile
renderd[1620]: config renderd(0): stats_file=/var/run/renderd/renderd.stats
renderd[1620]: config map 0: name(default) file(/home/mayank/src/mapnik-style/osm.xml) uri(/osm_tiles/) htcp() host(localhost)
renderd[1620]: Initialising unix server socket on /var/run/renderd/renderd.sock
renderd[1620]: Created server socket 5
renderd[1620]: Renderd is using mapnik version 2.0.3
renderd[1620]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf
renderd[1620]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf
renderd[1620]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf
renderd[1620]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf
renderd[1620]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf
renderd[1620]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed.ttf
renderd[1620]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf
renderd[1620]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-BoldItalic.ttf
renderd[1620]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed-Italic.ttf
renderd[1620]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
renderd[1620]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-ExtraLight.ttf
renderd[1620]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Oblique.ttf
renderd[1620]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf
renderd[1620]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-BoldOblique.ttf
renderd[1620]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
renderd[1620]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed-BoldItalic.ttf
renderd[1620]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf
renderd[1620]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf
renderd[1620]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Bold.ttf
renderd[1620]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed-Bold.ttf
renderd[1620]: DEBUG: Loading font: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Italic.ttf
Running in foreground mode...
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
renderd[1620]: Starting stats thread
/home/mayank/src/mapnik-style/inc/entities.xml.inc:9: parser warning : PEReference: %layers; not found
%layers;
^
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
/home/mayank/src/mapnik-style/inc/entities.xml.inc:9: parser warning : PEReference: %layers; not found
%layers;
^
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
debug: init_storage_backend: initialising file storage backend at: /var/lib/mod_tile
/home/mayank/src/mapnik-style/inc/entities.xml.inc:9: parser warning : PEReference: %layers; not found
%layers;
^
/home/mayank/src/mapnik-style/inc/entities.xml.inc:9: renderd[1620]: An error occurred while loading the map layer 'default': XML document not well formed:
Entity 'datasource-settings' not defined (encountered in file '/home/mayank/src/mapnik-style/osm.xml' at line 4066)
parser warning : PEReference: %layers; not found
%layers;
^
renderd[1620]: An error occurred while loading the map layer 'default': XML document not well formed:
Entity 'datasource-settings' not defined (encountered in file '/home/mayank/src/mapnik-style/osm.xml' at line 4066)
renderd[1620]: An error occurred while loading the map layer 'default': XML document not well formed:
Entity 'datasource-settings' not defined (encountered in file '/home/mayank/src/mapnik-style/osm.xml' at line 4066)
renderd[1620]: An error occurred while loading the map layer 'default': XML document not well formed:
Entity 'datasource-settings' not defined (encountered in file '/home/mayank/src/mapnik-style/osm.xml' at line 4066)
renderd[1620]: DEBUG: Got incoming connection, fd 8, number 1
renderd[1620]: DEBUG: Got command RenderPrio fd(8) xml(default), z(0), x(0), y(0)
renderd[1620]: Received request for map layer 'default' which failed to load
renderd[1620]: DEBUG: Connection 0, fd 8 closed, now 0 left
我正在使用http://switch2osm.org/serving-tiles/manually-building-a-tile-server-12-04/作为参考。任何帮助,我已经尝试从包构建地图服务器有一个袜子问题所以在这里切换袜子问题可以使用 sudo mkdir /var/run/renderd sudo chown mayank /var/run/renderd 纠正