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

Nominatim working while postgreSQL down

0

Something happened to my postgres and the database is currently down on my server, but strangely, Nominatim is still able to reverse geocode locations. I'm a bit confused here, doesn't Nominatim's reverse geocoding use postgres database to find locations? Or is my postgres actually half-working?

asked 03 Mar '14, 22:35

baekacaek's gravatar image

baekacaek
176121317
accept rate: 0%


One Answer:

2

Nominatim cannot work without a PostgreSQL connection.

One of the following is probably happening:

  • Nominatim is not working. You are looking at cached results.
  • Nominatim is not working. You are accidentally accessing a different server.
  • Nominatim is working; the database is down; but Nominatim is configured to access a different database, possible even
  • Nominatim is working; the database is not down; it just appears down to you because you tried to connect through a different route (e.g. Nominatim connects via Unix domain socket which works, you try to connect via TCP which doesn't, and assume the database is down)

answered 05 Mar '14, 21:45

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

A nice list. Add this ;-)

  • Nominatim is working, the database is down and up at random times and Nominatim was lucky while you were were unlucky when trying to access.
(05 Mar '14, 22:04) aseerel4c26 ♦

Could you please help me steps to install Nominatim and PostgreSQ?

(15 Jun '15, 13:35) vinay Kumar M B
1

@vinay-kumar-m-b Please ask a separate question and provide clear details why the installation instructions don't work for you.

(15 Jun '15, 14:06) scai ♦

Source code available on GitHub .