Hi,
I hope I have installed nominatim successfully. But when I try to import the osm.pbf data, it gives the following error
nominatim@byk-ubuntu:~/Nominatim/build$ ./utils/setup.php --osm-file /home/ybalasubramanian/Documents/germany-latest.osm.pbf --all 2>&1 | tee setup.log
WARNING: resetting threads to 1
Create DB
Setup DB
Postgres version found: 9.5
CREATE EXTENSION
CREATE EXTENSION
Postgis version found: 2.2
SET
SET
SET
SET
SET
SET
SET
SET
SET
CREATE TABLE
COPY 250
CREATE INDEX
SET
SET
SET
SET
SET
SET
SET
SET
SET
CREATE TABLE
COPY 229
CREATE INDEX
CREATE INDEX
SET
SET
SET
SET
SET
SET
SET
SET
SET
CREATE TABLE
COPY 25477
CREATE INDEX
SET
SET
SET
SET
SET
SET
SET
SET
SET
CREATE TABLE
WARNING: external UK postcode table not found.
SET
SET
SET
SET
SET
SET
SET
SET
SET
CREATE TABLE
COPY 32387
CREATE TABLE
CREATE TYPE
Import
sh: 1: /srv/nominatim/Nominatim/build/osm2pgsql: Permission denied
ERROR: Error executing external command: /srv/nominatim/Nominatim/build/osm2pgsql -lsc -O gazetteer --hstore --number-processes 1 -C 2676 -P 5432 -d nominatim /home/ybalasubramanian/Documents/germany-latest.osm.pbf
Error executing external command: /srv/nominatim/Nominatim/build/osm2pgsql -lsc -O gazetteer --hstore --number-processes 1 -C 2676 -P 5432 -d nominatim /home/ybalasubramanian/Documents/germany-latest.osm.pbf
I am running as the nominatim user as per the documentation. All the files inside the above folder has rights with nominatim user. I have no idea why the permission is denied
asked
04 Feb '17, 10:29
3yK
11●4●4●8
accept rate:
0%
Discussion moved to https://github.com/twain47/Nominatim/issues/625