[Geocoding] Accidentally stopped Nominatim install - can it be resumed?
Sarah Hoffmann
lonvia at denofr.de
Fri Jul 19 17:41:21 UTC 2013
Hi Simon,
On Fri, Jul 19, 2013 at 06:11:38PM +0100, Simon Nuttall wrote:
> Sarah,
>
> Thanks for the tip about threads, having increased that to two threads
> the machine carried on at full power and completed earlier this
> morning.
>
> Our install script now appears to be running this:
>
> ./utils/setup.php --osmosis-init
>
> which is producing cycles of output like that below every few minutes.
> Is this normal, should I be worried?
Are you sure about --osmosis-init? It looks like you are trying to apply
updates (./utils/update.php --import-osmosis-all).
I have seen this error before with the daily updates for excerpts from Geofabrik.
They cannot be merged and must be applied one after another. Check your
update setup in settings/configuration.txt again. maxInterval should
be set to at maximum one day. After you have fixed that, you might want
to check settings/state.txt that it is still at the date where you expect
updates to start.
Checking the wiki, it looks like the installation instructions contain
a bad recommendation on maxInterval. I'll fix that later.
Sarah
> Error: 1
> Re-trying: /usr/bin/osmosis --read-replication-interval
> workingDirectory=/home/nominatim/Nominatim/settings --simplify-change
> --write-xml-change /home/nominatim/Nominatim/data/osmosischange.osc
> 19-Jul-2013 18:05:10 org.openstreetmap.osmosis.core.Osmosis run
> INFO: Osmosis Version 0.40.1
> 19-Jul-2013 18:05:10 org.openstreetmap.osmosis.core.Osmosis run
> INFO: Preparing pipeline.
> 19-Jul-2013 18:05:10 org.openstreetmap.osmosis.core.Osmosis run
> INFO: Launching pipeline execution.
> 19-Jul-2013 18:05:10 org.openstreetmap.osmosis.core.Osmosis run
> INFO: Pipeline executing, waiting for completion.
> 19-Jul-2013 18:06:14
> org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager
> waitForCompletion
> SEVERE: Thread for task 1-read-replication-interval failed
> org.openstreetmap.osmosis.core.OsmosisRuntimeException: Pipeline
> entities are not sorted, previous entity type=Node, id=26303082,
> version=3 current entity type=Node, id=26303082, version=3.
> at org.openstreetmap.osmosis.core.sort.v0_6.SortedHistoryChangePipeValidator.process(SortedHistoryChangePipeValidator.java:50)
> at org.openstreetmap.osmosis.set.v0_6.ChangeSimplifier.process(ChangeSimplifier.java:39)
> at org.openstreetmap.osmosis.core.sort.v0_6.ChangeSorter.complete(ChangeSorter.java:64)
> at org.openstreetmap.osmosis.replication.v0_6.ReplicationDownloader.processComplete(ReplicationDownloader.java:93)
> at org.openstreetmap.osmosis.replication.v0_6.BaseReplicationDownloader.runImpl(BaseReplicationDownloader.java:288)
> at org.openstreetmap.osmosis.replication.v0_6.BaseReplicationDownloader.run(BaseReplicationDownloader.java:349)
> at java.lang.Thread.run(Thread.java:679)
> 19-Jul-2013 18:06:14 org.openstreetmap.osmosis.core.Osmosis main
> SEVERE: Execution aborted.
> org.openstreetmap.osmosis.core.OsmosisRuntimeException: One or more
> tasks failed.
> at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.waitForCompletion(Pipeline.java:146)
> at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:92)
> at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:37)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:328)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
> Error: 1
More information about the Geocoding
mailing list