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

Hi, I have the following error when i try to import europe-latest.osm.pbf into database:

import command : ./utils/setup.php --osm-file europe-latest.osm.pbf --all --osm2pgsql-cache 1000 2>&1 | tee setup.log

error: Failed to allocate space for node cache file: Internal error 22 Error occurred, cleaning up I'm using ubuntu 14.04 and i have 800 GB free space, 24 GB RAM installed.

osm2pgsql SVN version 0.89.0-dev (64bit id space)

Using projection SRS 4326 (Latlong) NOTICE: table "place" does not exist, skipping Allocating memory for sparse node cache Node-cache: cache=1000MB, maxblocks=0*128000, allocation method=8192 Mid: loading persistent node cache from /home/nominatim/Nominatim-2.5.1/osm2pgsql/flat.nodes Failed to allocate space for node cache file: Internal error 22 Error occurred, cleaning up ERROR: Error executing external command: /home/nominatim/Nominatim-2.5.1/osm2pgsql/osm2pgsql --flat-nodes /home/nominatim/Nominatim-2.5.1/osm2pgsql/flat.nodes -lsc -O gazetteer --hstore --number-processes 1 -C 1000 -P 5432 -d nominatim /home/nominatim/Nominatim-2.5.1/europe-latest.osm.pbf Error executing external command: /home/nominatim/Nominatim-2.5.1/osm2pgsql/osm2pgsql --flat-nodes /home/nominatim/Nominatim-2.5.1/osm2pgsql/flat.nodes -lsc -O gazetteer --hstore --number-processes 1 -C 1000 -P 5432 -d nominatim /home/nominatim/Nominatim-2.5.1/europe-latest.osm.pbf

If anyone has any ideea please help.

root@:/home/nominatim/Nominatim-2.5.1# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             12G  4.0K   12G   1% /dev
tmpfs           2.4G  796K  2.4G   1% /run
/dev/dm-0       892G   41G  807G   5% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
none            5.0M     0  5.0M   0% /run/lock
none             12G     0   12G   0% /run/shm
none            100M     0  100M   0% /run/user
/dev/sda1       236M   39M  185M  18% /boot

root@:/home/nominatim/Nominatim-2.5.1# df -i
Filesystem       Inodes  IUsed    IFree IUse% Mounted on
udev             156520    480   156040    1% /dev
tmpfs            162032    516   161516    1% /run
/dev/dm-0      59400192 147447 59252745    1% /
none             162032      2   162030    1% /sys/fs/cgroup
none             162032      4   162028    1% /run/lock
none             162032      1   162031    1% /run/shm
none             162032      2   162030    1% /run/user
/dev/sda1         62248    298    61950    1% /boot

Thank you !

asked 09 Jun '17, 12:02

valianghel's gravatar image

valianghel
11112
accept rate: 0%

edited 09 Jun '17, 13:02

scai's gravatar image

scai ♦
33.3k21309459

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:

×689
×263

question asked: 09 Jun '17, 12:02

question was seen: 1,369 times

last updated: 09 Jun '17, 13:02

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