I've installed Nominatim on CentOS 7 because I want to do some reverse geo-coding.

However, when I try to load the and create a Nominatim database with this command:

./utils/setup.php --osm-file /var/lib/pgsql/indiana-latest.osm.pbf --all --osm2pgsql-cache 4000 2>&1 | tee setup.log

I get the following error:

Create DB
Setup DB
createlang: language "plpgsql" is already installed in database     "nominatim"
ERROR:  function st_lineinterpolatepoint(geometry, double precision)  already exists in schema "public"
ERROR: pgsql returned with error code (3)
pgsql returned with error code (3)

I've searched the web and can't find any valuable resources to solve my problem.

closed as off-topic by PolyGeo Jul 9 '17 at 10:41

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This problem cannot or can no longer be reproduced. Changes to the system or to the asker's circumstances may have rendered the question obsolete, or the question does not include a procedure to enable potential answerers to reproduce the same symptoms. Such questions are off-topic as they are unlikely to help future readers, but editing them to include more details can lead to re-opening." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.