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

Hello,

We are getting the following error while importing OSM data during the installation of Nominatim on Centos 6.6 cPanel server:

--

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

Create DB
Strict Standards: Non-static method PEAR::isError() should not be called statically in /home/fleetlink/public_html/Nominatim/utils/setup.php on line 96
Password: createdb: database creation failed: ERROR: permission denied to create database Error executing external command: createdb -E UTF-8 -p 5432 nominatim --

Can any one please let us know how to resolve?

Thank you.

asked 01 Aug '15, 02:00

wizztechs's gravatar image

wizztechs
11112
accept rate: 0%


Are you sure you followed the instructions correctly, particularly

Creating the importer account

The import needs to be done with a postgres superuser with the same name as the account doing the import. You can create such a postgres superuser account by running:

sudo -u postgres createuser -s [your user name]
permanent link

answered 01 Aug '15, 08:32

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Frederik, Could you please give more enlighten help for this error? Would like also to see a solution for this type of errors.

Thank you.

(03 Aug '15, 15:29) gregosmartinez

Yes, this has been already done, but still no success.

permanent link

answered 01 Aug '15, 15:11

wizztechs's gravatar image

wizztechs
11112
accept rate: 0%

edited 01 Aug '15, 15:13

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:

×710
×689
×293
×196

question asked: 01 Aug '15, 02:00

question was seen: 4,891 times

last updated: 04 Aug '15, 19:11

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