On Wed, Nov 4, 2009 at 8:30 PM, Peter Körner <osm-lists(a)mazdermind.de> wrote:
1. When
going through the logs I saw the "intarray contrib module not
installed" message. I was really sure that this has been fixed (see [1])
but it seems I missed sth. I'll reopen that ticket, but maybe so. of you
already knows what went wrong.
Don't know how to fix this;/
It seems to be related to bug [1]. There is an
open Jira-Ticket for this
one (see [2]).
2. I seems group user now has permissions on most
dirs on /sql,
including /sql/mod_tile, so i did "touch
/sql/mod_tile/planet-import-complete" but nothing happened. It seems
that there is an issue with mod_tile and/or renderd, as cached tiles are
not updated and no new tiles are rendered (see e.g. [2]). As this is the
first time I'm working with mod_tile/renderd and -for the sake of
privacy- got no access to the apache error log
(/var/log/apache2/error.log) I got no clue what's going on.
Renderd isn't actually running. When I was debugging this I just ran
it from a shell
I can't do this because I got no acces to the socket :)
but I didn't have the know-how to get the
debian
package for renderd to work (which would have installed an init
script).
can't we just copy
/usr/local/src/osm/applications/utils/mod_tile/debian/renderd.init
to /etc/init.d and use /usr/sbin/update-rc.d to activate it?
sudo cp \
/usr/local/src/osm/applications/utils/mod_tile/debian/renderd.init \
/etc/init.d
sudo /usr/sbin/update-rc.d renderd defaults
I copied renderd to /usr/bin/ and installed /etc/init.d/renderd from
mod_tile in /usr/local/src and did "sudo /usr/sbin/update-rc.d renderd
defaults" It's now running as www-data and appears to be rendering.
It's writing out *.meta tiles at least, but it's very slow ...
3. The new mapnik-styles are splitted in a bunch of
xmls and the l18n
process has to be adapted to this
There's a preprocessor to merge them all, but the script may need
munging regardless.
I think leaving them divided is better, as the script has to
be adapted
in both cases. I'd look into this but I don't have the perms to write to
the files on /sql. There is a Jira-Ticket open for this one, too [3].
I created a new "mappers" system group on cassini which currently has
you, me and aude in it. And I did:
ravar@cassini:/sql$ sudo chown -R root:mappers etc/
mapnik-stylesheets/ misc-data/ planet.osm/ world_boundaries/
ravar@cassini:/sql$ sudo chmod -R g+rw etc/ mapnik-stylesheets/
misc-data/ planet.osm/ world_boundaries/
The mappers group also has access to /var/log/apache2/
This should work. Tell me if this isn't enough or if you need any
additional permissions.
I also put you in the postgres group.