On Fri, Jul 19, 2013 at 07:24:52PM +0100, Simon Nuttall wrote: > Got this error after restarting... > > root@nominatim:/home/nominatim/Nominatim# sudo -u nominatim > ./utils/update.php --import-osmosis-all --no-npi > sudo: unable to resolve host nominatim > /home/nominatim/Nominatim/osm2pgsql/osm2pgsql -klas -C 2000 -O > gazetteer -d nominatim > /home/nominatim/Nominatim/data/osmosischange.osc > osm2pgsql SVN version 0.83.0 (64bit id space) > > Using projection SRS 4326 (Latlong) > Allocating memory for dense node cache > Allocating dense node cache in one big chunk > Allocating memory for sparse node cache > Sharing dense sparse > Node-cache: cache=2000MB, maxblocks=256001*8192, allocation method=11 > Mid: pgsql, scale=10000000 cache=2000 > Setting up table: planet_osm_nodes > Setting up table: planet_osm_ways > Setting up table: planet_osm_rels > > Reading in file: /home/nominatim/Nominatim/data/osmosischange.osc > Entity: line 6613: parser error : Extra content at the end of the document > uid="822650" user="172sp" changeset="16887163" lat="43.6394422" > lon="6.9363448"/ > > ^ > /home/nominatim/Nominatim/data/osmosischange.osc : failed to parse > Error occurred, cleaning up > Error: 1 > root@nominatim:/home/nominatim/Nominatim#
Looks like there is garbage left from the previous trials. Remove data/osmosischange.osc (and, if existing, settings/download.lock), check settings/state.txt once more and try again. Sarah _______________________________________________ Geocoding mailing list [email protected] http://lists.openstreetmap.org/listinfo/geocoding

