subprocess.CalledProcessError: Command '['/usr/local/lib/nominatim/osm2pgsql' #3016
Replies: 5 comments 7 replies
-
Could you check the kernel log using |
Beta Was this translation helpful? Give feedback.
-
Hi @otbutz !
|
Beta Was this translation helpful? Give feedback.
-
Bingo
Your VM runs out of memory and kills osm2pgsql. |
Beta Was this translation helpful? Give feedback.
-
Make sure you use the flatnode file, too. That saves a lot of memory during the osm2pgsql step https://nominatim.org/release-docs/latest/admin/Import/#flatnode-files |
Beta Was this translation helpful? Give feedback.
-
Here : https://nominatim.org/release-docs/latest/admin/Installation/#tuning-the-postgresql-database it is suggested to tune Postgresql DB as follows: But I have :
As far as I understand, I do not see any discrepancies ... am I right or wrong ? |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
To Reproduce
Following the indications found here: https://www.linuxbabe.com/ubuntu/osm-nominatim-geocoding-server-ubuntu-22-04#comment-936705
I tried to import OSM Database :
I first gave the
root
user the role ofSuperuser
:Then in a screen session I executed the import process:
Related part in
postgresql-15-main.log
:Software Environment (please complete the following information):
4.1.0
15
postgresql-15-postgis-3
Ubuntu 22.04
Hardware Configuration (please complete the following information):
**Postgresql Configuration: I attach here the complete Postgresql Configuration File:
postgresql-conf.txt
Beta Was this translation helpful? Give feedback.
All reactions