NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hello, The following happens to me, mark permission denied and I tried with sudo and without sudo also with sudo -u username ./utils / ..., but nothing

/srv/nominatim/build/Nominatim$ ./utils/setup.php --osm-file /home/ubuntu/Descargas/mexico-latest.osm.pbf --all --osm2pgsql-cache 28000 2>&1 | tee setup.log bash: ./utils/setup.php: Permiso denegado

asked 18 May '20, 22:02

edderantonio's gravatar image

edderantonio
11556
accept rate: 0%


If you have a 'Nominatim' directory inside a 'build' directory, then I'm confused. No part of the installation instructions create this directory structure. It should've been /srv/nominatim/Nominatim/build

Try logging in as user nominatim: 'sudo su nominatim' and then executing the script. And delete the file setup.log, maybe the file already exists and is write-protected (or owned by another user).

At some point helping from the other side of the world will no longer be possible, "permission denied" is a kind of error message a system administrator needs to be able to debug themselves, at least a bit. It's possible the software is too complex for your needs.

permanent link

answered 18 May '20, 22:10

mtmail's gravatar image

mtmail
4.8k1574
accept rate: 27%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×689
×196
×11

question asked: 18 May '20, 22:02

question was seen: 2,782 times

last updated: 18 May '20, 22:10

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum