[Geocoding] Accidentally stopped Nominatim install - can it be resumed?
Sarah Hoffmann
lonvia at denofr.de
Fri Jul 19 19:23:51 UTC 2013
On Fri, Jul 19, 2013 at 07:50:51PM +0100, Simon Nuttall wrote:
> On 19 July 2013 19:43, Sarah Hoffmann <lonvia at denofr.de> wrote:
> > On Fri, Jul 19, 2013 at 07:24:52PM +0100, Simon Nuttall wrote:
> >> Got this error after restarting...
> >>
> >> root at 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 at 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.
>
> OK, I tried, but it still errors...
Hmm, try a half-day maxInterval then but keep an eye on your updates
for a while to make sure they work as expected. (Also check that it
really immediately catches up and does not fall asleep for a day after
having applied the first day worth of updates).
Sarah
More information about the Geocoding
mailing list