Re: [OSM-dev] Modtile issue
Hi, On 06/27/2012 09:48 PM, yvecai wrote: AddTileConfig /osm_tiles2/ Default LoadTileConfigFile /etc/renderd.conf Try a lower-case D in default, and leave out the LoadTileConfigFile line altogether. (You would normally use either one AddTileConfig line for each style you have, or a single LoadTileConfig line.) Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Modtile issue
Thanks Frederik, while your remarks make sense, it's not enough I'm afraid. Is there any way to log how mod_tile handles requests? apachectl -t -D DUMP_MODULES /usr/sbin/apachectl: line 87: ulimit: open files: cannot modify limit: Operation not permitted [Thu Jun 28 08:49:47 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 Loaded Modules: core_module (static) log_config_module (static) logio_module (static) mpm_prefork_module (static) http_module (static) so_module (static) alias_module (shared) auth_basic_module (shared) authn_file_module (shared) authz_default_module (shared) authz_groupfile_module (shared) authz_host_module (shared) authz_user_module (shared) autoindex_module (shared) cgi_module (shared) deflate_module (shared) dir_module (shared) env_module (shared) mime_module (shared) negotiation_module (shared) reqtimeout_module (shared) rewrite_module (shared) setenvif_module (shared) status_module (shared) tile_module (shared) Syntax OK 2012/6/28 Frederik Ramm frede...@remote.org Hi, On 06/27/2012 09:48 PM, yvecai wrote: AddTileConfig /osm_tiles2/ Default LoadTileConfigFile /etc/renderd.conf Try a lower-case D in default, and leave out the LoadTileConfigFile line altogether. (You would normally use either one AddTileConfig line for each style you have, or a single LoadTileConfig line.) Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09 E008°23'33 __**_ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.**org/listinfo/devhttp://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Modtile issue
Hi, I have renderd properly configured on my server: ./render_list -s /var/run/renderd/renderd.sock works well, mapnik works ok with generate_image.py too. However, it seems that mod_tile does not rewrite the url: http://ks396387.kimsufi.com/osm_tiles2/12/2123/1444.png = 404 Apache error.log: [Wed Jun 27 21:41:09 2012] [error] [client 83.79.142.204] File does not exist: /var/www/osm_tiles2/12 Modtile is running: http://ks396387.kimsufi.com/mod_tile /var/lib/mod_tile is writeable by all /var/www/osm_tiles2 owner to www-data Config files: modtile.conf: LoadModule tile_module /usr/lib/apache2/modules/mod_tile.so VirtualHost *:80 ServerAdmin webmaster@localhost AddTileConfig /osm_tiles2/ Default LoadTileConfigFile /etc/renderd.conf ModTileRenderdSocketName /var/run/renderd/renderd.sock ModTileRequestTimeout 3 ModTileMissingRequestTimeout 30 servername ks396387.kimsufi.com DocumentRoot /var/www Directory / Options FollowSymLinks AllowOverride None /Directory Directory /var/www/ Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all /Directory ErrorLog ${APACHE_LOG_DIR}/error.log LogLevel debug CustomLog ${APACHE_LOG_DIR}/access.log combined /VirtualHost renderd.conf: [renderd] socketname=/var/run/renderd/renderd.sock num_threads=4 tile_dir=/var/lib/mod_tile ; DOES NOT WORK YET stats_file=/var/run/renderd/renderd.stats [mapnik] plugins_dir=/usr/local/lib/mapnik/input font_dir=/usr/local/lib/mapnik/fonts font_dir_recurse=1 [default] URI=/osm_tiles2/ XML=/home/website/mapnik-settings/styles/pistes-style.xml HOST=ks396387.kimsufi.com ;HTCPHOST=proxy.openstreetmap.org I must have overlook something obvious, but I don't see where ??? Yves ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev