drolbr / Overpass-API

A database engine to query the OpenStreetMap data.
http://overpass-api.de
GNU Affero General Public License v3.0
716 stars 90 forks source link

Import: init_osm3s.sh - `Zlib_Inflate::Error` #627

Open razorness opened 3 years ago

razorness commented 3 years ago

Hi Folks!

I am tried so setup a new instance of overpass with Europe from Geofabrik (https://download.geofabrik.de/europe-latest.osm.bz2). Several hours after executing nohup init_osm3s.sh ../europe-latest.osm.bz2 /opt/lib/overpass /opt/overpass-bin --meta & tail -f nohup.out, I faced this error:

Reading XML file ...Reading XML file ... elapsed node 2010929451.  elapsed node 2010929451. Flushing to database ..
Flushing to database .......... done.
 done.
Reorganizing the database ...Reorganizing the database ...terminate called after throwing an instance of 'terminate 
called after throwing an instance of 'Zlib_Inflate::Error'
Zlib_Inflate::Error'
  what():    what():  ▒▒Uq▒VU

/opt/overpass-bin/bin/init_osm3s.sh: line 44: 20891 Broken pipe             bunzip2 < $PLANET_FILE
/opt/overpass-bin/bin/init_osm3s.sh: line 44: 20884 Broken pipe             bunzip2 < $PLANET_FILE
     20892 Aborted                 | $EXEC_DIR/bin/update_database --db-dir=$DB_DIR/ $META $COMPRESSION
     20885 Aborted                 | $EXEC_DIR/bin/update_database --db-dir=$DB_DIR/ $META $COMPRESSION

Nothing happend anymore. Any suggestions? May I misconfigured something?