Hello friends !

I'm new here in the forum and am trying to install my first Nominatim server.

I need it to reverse geocode . I am following the step by step installation manual as in : http://wiki.openstreetmap.org/wiki/Nominatim/Installation_on_CentOS . and I am facing the following problem on the orientation of import initial data.

I ran the following command:

./utils/setup.php --osm-file brazil-latest.osm.pbf --all --osm2pgsql-cache 18000

But returns as follows:

./utils/setup.php: No such file or directory

Already researched corrections but so far not found , I thank if anyone can help me .

Thank you

asked 23 Sep '15, 20:10

wmarth's gravatar image

accept rate: 0%

edited 24 Sep '15, 06:20

aseerel4c26's gravatar image

aseerel4c26 ♦

I do not know if made ​​properly, but after its review performed the procedure below and it was the same result , EVEN knowing que la Within this setup.php . See:

[root@nominaticentos /]# cd /srv/Nominatim/utils
[root@nominaticentos utils]# ./utils/setup.php --osm-file brazil-latest.osm.pbf  --all --osm2pgsql-cache 18000 2>&1 | tee setup.log
-bash: ./utils/setup.php: No such file or directory
(24 Sep '15, 01:36) wmarth

If you already switched to the utils directory then remove /utils from the call and just run ./setup.php [...] instead. Alternatively just run cd /srv/Nominatim/.

(24 Sep '15, 07:46) scai ♦

Are you in the correct directory? After unpacking the tar archive or cloning the git directory you should switch to the newly created Nominatim directory where ./utils/setup.php should be located.

Based on your new comment: After you did cd /srv/Nominatim/utils you already are in the utils directiory. If you try to run ./utils/setup.php you are actually trying to run the file /srv/Nominatim/utils/utils/setup.php – and this file does not exist.

So, try this:

[root@nominaticentos /]# cd /srv/Nominatim
[root@nominaticentos Nominatim]# ./utils/setup.php --osm-file brazil-latest.osm.pbf  --all --osm2pgsql-cache 18000 2>&1 | tee setup.log
permanent link

answered 23 Sep '15, 21:07

scai's gravatar image

scai ♦
accept rate: 23%

edited 24 Sep '15, 06:15

aseerel4c26's gravatar image

aseerel4c26 ♦

Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 23 Sep '15, 20:10

question was seen: 4,595 times

last updated: 24 Sep '15, 07:47

powered by OSQA