Hello friends, good afternoon

I want to configure osmosis to get updates, but shows error:

./utils/update.php --import-osmosis-all --no-npi
WARNING: resetting cache memory to 686
sh: 1: /home/ubuntu/osmosis: Permission denied
Error: 126. Re-trying: /home/ubuntu/osmosis -q --read-replication-lag workingDirectory=/home/ubuntu/Nominatim/settings in 900 secs
  1. I did download the latest osmosis, put in <home>/osmosis
  2. Change CONST_Osmosis_Binary on settings.php and point to <home>/osmosis
  3. Change replication params
  4. Execute ./utils/setup.php --osmosis-init
  5. Execute ./utils/setup.php --create-functions --enable-diff-updates

When I try to execute ./utils/update.php --import-osmosis-all --no-npi then shows error.

asked 19 Nov '15, 18:49

jeancz's gravatar image

jeancz
47337
accept rate: 33%

1

Does it work after executing chmod +x /home/ubuntu/osmosis? I.e. is the execution mode bit set?

(19 Nov '15, 19:11) scai ♦

I try change permission for all files, bus does not work. :(

(19 Nov '15, 19:24) jeancz

I think the binary that you need to configure is /home/ubuntu/osmosis/bin/osmosis - try it by entering this full path on the command line before, you should be greeted by an extensive help message. And if you've installed osmosis from zip and not from tar.gz, you will need the chmod a+x /home/ubuntu/osmosis/bin/osmosis too.

permanent link

answered 19 Nov '15, 20:05

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
71.0k836431107
accept rate: 24%

1

Works fine. Thats it. Thanks Frederik.

(20 Nov '15, 14:53) jeancz
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:

×219

question asked: 19 Nov '15, 18:49

question was seen: 2,018 times

last updated: 20 Nov '15, 14:53

powered by OSQA