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

Error with lookup service nominatim.openstreetmap.org

1

https://nominatim.openstreetmap.org/ See below - any help?

I'm trying to lookup like this: https://nominatim.openstreetmap.org/search?format=json&city=calgary&state=alberta&country=canada


string(19) "pgsql://@/nominatim"
object(DB_Error)#2 (8) {
 ["error_message_prefix"]=>
 string(0) ""
 ["mode"]=>
 int(1)
 ["level"]=>
 int(1024)
 ["code"]=>
 int(-24)
 ["message"]=>
 string(24) "DB Error: connect failed"
 ["userinfo"]=>
 string(272) " [nativecode=pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: No such file or directory
   Is the server running locally and accepting
   connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?] ** pgsql://@/nominatim"

...

DB Error: connect failed

asked 17 Oct '14, 02:46

SSF%20Support's gravatar image

SSF Support
26112
accept rate: 0%

edited 17 Oct '14, 07:20

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273


One Answer:

5

The server that does the name searches is currently broken. Admins are aware of it and will fix the problem. A first port of call for when things don't work is https://wiki.openstreetmap.org/wiki/Platform_Status which will often tell you about known issues, or check on IRC whether the problem is there for everyone or just you.

answered 17 Oct '14, 07:23

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Source code available on GitHub .