Hello everybody. I'm a complete Ubuntu newbie who's trying to set up a tile server by following the instructions on http://switch2osm.org/serving-tiles/manually-building-a-tile-server-12-04/ We are running Ubuntu 12.04.2 LTS on VMware Everything goes fine until we need to "Set up PostGIS on the postresql database". We enter the "psql -f /usr/share/postgresql/9.1/contrib/postgis-1.5/postgis.sql -d gis" as instructed. Instead of the expected output, we get a long list of errors that are like the following "error type "geometry[]" does not exist postgres tileserver" There are also errors for things like "geometry" etc. This becomes a problem with the next step, where we try to assign ownership. We get an error "relation "geometry_columns" does not exist" I'm assuming that there is some error when the gis table is populated, but we can't figure out what. Does anyone have any ideas that would point us in the right direction? asked 11 Mar '13, 21:25 MatThePhat |
In these situations the root error cause is often the first message that appears, and the rest are only follow-on problems. Try redirecting the error output of your command to a file:
then check the file errors.txt and look at the first unhealthy line(s) and report. answered 11 Mar '13, 21:34 Frederik Ramm ♦ 1
Thank you for your advice! We were able to figure out the problem, it had to do with our username in ubuntu vs. our username in postgres being different.
(12 Mar '13, 16:32)
MatThePhat
|