NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi,

I am trying to install the overpass API on my server but im getting an error. I'm following these instructions.

After importing a .bz2 file of great Britain (wget -O planet.osm.bz2 "http://download.geofabrik.de/europe/great-britain/england-latest.osm.bz2"), I'm now trying to populate the database with the following command:

nohup /root/osm-3s_v0.7.3/src/bin/init_osm3s.sh ../root/planet.osm.bz2 `pwd`/../ /root/osm-3s_v0.7.3 &
tail -f nohup.out

But halfway through the import I'm getting the error:

Reading XML file ... elapsed node 2125784163. Flushing to database ...... done.
Reading XML file ... elapsed node 2368197335. Flushing to database ...... done.
Reading XML file ... elapsed node 2598221903. Flushing to database ...... done.
Reading XML file ... finished reading nodes. Flushing to database ...... done.
Reorganizing the database .../root/osm-3s_v0.7.3/src/bin/init_osm3s.sh: line 43: 11607 Broken pipe             bunzip2 < $PLANET_FILE
     11608 Killed                  | $EXEC_DIR/bin/update_database --db-dir=$DB_DIR/ $META

Anybody know what's causing this?

asked 25 May '14, 16:22

gmeister4's gravatar image

gmeister4
608812
accept rate: 0%

edited 26 May '14, 07:56

scai's gravatar image

scai ♦
33.3k21309459

1

Killed can have many reasons. Maybe you did run out of memory? Check dmesg for OOM messages.

(26 May '14, 07:57) scai ♦

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×483
×293
×290
×23

question asked: 25 May '14, 16:22

question was seen: 3,160 times

last updated: 26 May '14, 07:57

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum