我有一个具有6核,60GB RAM和1TB SSD空间的VPS。
进行了官方安装后,在Ubuntu 18.04上安装了Nominatim。我试图导入位于Planet OpenStreetMap
的openstreet planet pbf文件./ utils / setup.php --osm文件planet-latest.osm.pbf --all --osm2pgsql-cache 28000 2>&1 |开球setup.log
几个小时后出现错误Segmentation fault ERROR:无数据,见下文:
> 2019-11-30 16:50:55 == Setup DB Postgres version found: 10 Postgis
> version found: 2.4 set_config
> ------------
>
> (1 row)
>
> 2019-11-30 16:51:04 == Import data osm2pgsql version 1.2.0 (64 bit id
> space)
>
> Allocating memory for dense node cache Processing: Node(618450k
> 2425.3k/s) Way(0k 0.00k/s) Relation(0 0.00/s) Allocating memory for sparse node cache Sharing dense sparse Node-cache: cache=28000MB,
> maxblocks=448000*65536, allocation method=11 Mid: loading persistent
> node cache from /srv/nominatim/flatnode/flatnode.file Mid: pgsql,
> cache=28000 Setting up table: planet_osm_nodes Setting up table:
> planet_osm_ways Setting up table: planet_osm_rels Processing:
> Node(621390k 2427.3k/s) Way(0k 0.00k/s) Relation(0
> 0.00/s)import-full.style'. Using projection SRS 4326 (Latlong) NOTICE: table "place" does not exist, skipping
>
> Reading in file:
> /srv/nominatim/Nominatim-3.4.0/build/planet-latest.osm.pbf Using PBF
> parser. Processing: Node(5612922k 3148.0k/s) Way(437617k 33.05k/s)
> Relation(0 0.00/s)Segmentation fault ERROR: No Data string(7) "No
> Data"
知道为什么我会收到此错误吗? 谢谢。