This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Error while installing Nominatim

0

I am following steps given on https://wiki.openstreetmap.org/wiki/Nominatim/Installation to install Nominatim on my system. But while setting up postgresql, when I enter command - sudo service postgresql initdb, I receive an error message: "Missing SERVICE_URI environment variable" I don't understand what value should I set for SERVICE_URI as environment variable. I searched over internet, but couldn't find any solution to it. Please help me with this.

asked 16 Apr '13, 11:16

roshannerd's gravatar image

roshannerd
11112
accept rate: 0%

it may be helpful if you would describe what your system is (operating system, version) and if you would cite the full error message.

(20 Apr '13, 02:33) aseerel4c26 ♦

One Answer:

2

The message comes from a proprietary tool that is called service. Apparently the poster is my colleague. The correct executable is /sbin/service and the full command should be sudo /sbin/service postgresql initdb

answered 12 Dec '16, 22:57

proski's gravatar image

proski
4113
accept rate: 0%

1

A third-party tool calling itself service? Oh dear...

(13 Dec '16, 07:45) scai ♦

Source code available on GitHub .