[Tile-serving] [openstreetmap/osm2pgsql] osm2pgsql failed due to error: open failed for .bz2. (#870)

F-Chaudhry notifications at github.com
Wed Sep 26 10:15:44 UTC 2018


Thank you so much for the reply.

yes i did run the command `su - postgres`, as the tutorial i am following ran the commands:
`su - postgres` before 
`time osm2pgsql -v --number-processes=16 -d gis -s --bbox -97.5, 43.0, -89.0, 49.5 planet.osm.bz2`

i copied the `pakistan-latest.osm.bz2` from where it was downloaded `cd /home/map/` to the directory `cd /osm/osm2pgsql/`.
running `ls pakistan-latest.osm.bz2` gave 
`ls pakistan-latest.osm.bz2`

what am i doing wrong?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/870#issuecomment-424662262
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20180926/e7bbeabe/attachment.html>


More information about the Tile-serving mailing list