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

I am following steps given on http://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 ♦

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

permanent link

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 ♦
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
×165
×61

question asked: 16 Apr '13, 11:16

question was seen: 4,071 times

last updated: 13 Dec '16, 07:45

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