Hi all, I wanna know why my mod_tile not rendering anyhing.<br>I already install osm2pgsql, mapnik, mod_tile.<br><br>My /etc/renderd.conf is :<br>[renderd]<br>socketname=/var/run/renderd/renderd.sock<br>num_threads=4<br>;tile_dir=/var/lib/mod_tile ; DOES NOT WORK YET<br>
tile_dir=/usr/local/www/apache2/data/osm_tiles2<br>stats_file=/var/run/renderd/renderd.stats<br><br>[mapnik]<br>plugins_dir=/usr/local/lib/mapnik2/input<br>font_dir=/usr/local/lib/mapnik2/fonts<br>font_dir_recurse=1<br><br>
[default]<br>URI=/osm_tiles2/<br>XML=/usr/home/ferdi/mapnik/osm.xml<br>HOST=localhost<br><br>My httpd.conf is :<br><br>LoadModule tile_module libexec/apache22/mod_tile.so<br><br>Alias /osm_tiles2/ /usr/local/www/apache2/data/osm_tiles2/<br>
<br><Directory "/usr/local/www/apache2/data/osm_tiles2/"><br>   Options All<br>   AllowOverride All<br>   Order deny,allow<br>   Allow from All<br>   SetHandler DefaultHandler<br>   LoadTileConfigFile /etc/renderd.conf<br>
   ModTileRenderdSocketName /var/run/renderd/renderd.sock<br>   ModTileRequestTimeout 60<br>   ModTileMissingRequestTimeout 60<br>   ModTileCacheDurationMax 604800<br>   ModTileCacheDurationDirty 900<br>   ModTileCacheDurationMinimum 10800<br>
   ModTileCacheDurationMediumZoom 14 86400<br>   ModTileCacheDurationLowZoom 9 518400<br>   ModTileCacheLastModifiedFactor 0.20<br></Directory><br><br>When I reload my apache, I've got this note :<br>Performing sanity check on apache22 configuration:<br>
[Wed Dec 19 15:02:27 2012] [notice] Committing tile config default<br>[Wed Dec 19 15:02:27 2012] [notice] Loading tile config default at /osm_tiles2/ for zooms 0 - 18 from tile directory /var/lib/mod_tile with extension .png and mime type image/png<br>
Syntax OK<br><br>Then, I run renderd on foreground ' renderd -f '<br>This is my output :<br>renderd[63859]: Rendering daemon started<br>renderd[63859]: Parsing section renderd<br>renderd[63859]: Parsing render section 0<br>
renderd[63859]: Parsing section mapnik<br>renderd[63859]: Parsing section default<br>renderd[63859]: config renderd: unix socketname=/var/run/renderd/renderd.sock<br>renderd[63859]: config renderd: num_threads=4<br>renderd[63859]: config renderd: num_slaves=0<br>
renderd[63859]: config renderd: tile_dir=/usr/local/www/apache2/data/osm_tiles2<br>renderd[63859]: config renderd: stats_file=/var/run/renderd/renderd.stats<br>renderd[63859]: config mapnik:  plugins_dir=/usr/local/lib/mapnik2/input<br>
renderd[63859]: config mapnik:  font_dir=/usr/local/lib/mapnik2/fonts<br>renderd[63859]: config mapnik:  font_dir_recurse=1<br>renderd[63859]: config renderd(0): Active<br>renderd[63859]: config renderd(0): unix socketname=/var/run/renderd/renderd.sock<br>
renderd[63859]: config renderd(0): num_threads=4<br>renderd[63859]: config renderd(0): tile_dir=/usr/local/www/apache2/data/osm_tiles2<br>renderd[63859]: config renderd(0): stats_file=/var/run/renderd/renderd.stats<br>renderd[63859]: config map 0:   name(default) file(/usr/home/ferdi/mapnik/osm.xml) uri(/osm_tiles2/) htcp() host(localhost)<br>
renderd[63859]: Initialising unix server socket on /var/run/renderd/renderd.sock<br>renderd[63859]: Created server socket 4<br>renderd[63859]: Renderd is using mapnik version 2.0.0<br>renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/DejaVuSans-Bold.ttf<br>
renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/DejaVuSans-BoldOblique.ttf<br>renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/DejaVuSans-ExtraLight.ttf<br>renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/DejaVuSans-Oblique.ttf<br>
renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/DejaVuSans.ttf<br>renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/DejaVuSansCondensed-Bold.ttf<br>renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/DejaVuSansCondensed-BoldOblique.ttf<br>
renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/DejaVuSansCondensed-Oblique.ttf<br>renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/DejaVuSansCondensed.ttf<br>renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/DejaVuSansMono-Bold.ttf<br>
renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/DejaVuSansMono-BoldOblique.ttf<br>renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/DejaVuSansMono-Oblique.ttf<br>renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/DejaVuSansMono.ttf<br>
renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/DejaVuSerif-Bold.ttf<br>renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/DejaVuSerif-BoldItalic.ttf<br>renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/DejaVuSerif-Italic.ttf<br>
renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/DejaVuSerif.ttf<br>renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/DejaVuSerifCondensed-Bold.ttf<br>renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/DejaVuSerifCondensed-BoldItalic.ttf<br>
renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/DejaVuSerifCondensed-Italic.ttf<br>renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/DejaVuSerifCondensed.ttf<br>renderd[63859]: DEBUG: Loading font: /usr/local/lib/mapnik2/fonts/unifont-5.1.20080907.ttf<br>
Running in foreground mode...<br>renderd[63859]: Starting stats thread<br><br>and I copy map.html from this link <a href="http://wiki.openstreetmap.org/wiki/HowTo_mod_tile">http://wiki.openstreetmap.org/wiki/HowTo_mod_tile</a><br>
<br>But I didn't see anything when I visit <a href="http://172.16.0.9/osm_tiles2/map.html">http://172.16.0.9/osm_tiles2/map.html</a><br><br>Can you help me to solve this problem.. ?<br><br>