Hi guys, I just installed Nominatim on my Ubuntu 12.04 (personal OSM server for offline use). I'm wondering why I got no result when peforming a search on search.php ?! I checked in the nominatim DB and there's data... Here's the log I get at the end of my import:

Reanalysing database... NOTICE: no notnull values, invalid stats ANALYZE Jun 12, 2013 2:41:08 PM org.openstreetmap.osmosis.core.Osmosis run INFO: Osmosis Version 0.40.1 Jun 12, 2013 2:41:08 PM org.openstreetmap.osmosis.core.Osmosis run INFO: Preparing pipeline. Jun 12, 2013 2:41:08 PM org.openstreetmap.osmosis.core.Osmosis run INFO: Launching pipeline execution. Jun 12, 2013 2:41:08 PM org.openstreetmap.osmosis.core.Osmosis run INFO: Pipeline executing, waiting for completion. Jun 12, 2013 2:41:08 PM org.openstreetmap.osmosis.core.Osmosis run INFO: Pipeline complete. Jun 12, 2013 2:41:08 PM org.openstreetmap.osmosis.core.Osmosis run INFO: Total execution time: 373 milliseconds. PHP Warning: file_get_contents(http://www.openstreetmap.org/api/0.6/node/2340848120/1): failed to open stream: Network is unreachable in /home/lucas/src/Nominatim/utils/setup.php on line 524 PHP Notice: Undefined offset: 1 in /home/lucas/src/Nominatim/utils/setup.php on line 526 PHP Warning: file_get_contents(http://planet.openstreetmap.org/replication/minute/?C=M;O=D): failed to open stream: Network is unreachable in /home/lucas/src/Nominatim/utils/setup.php on line 531 PHP Notice: Undefined variable: aRepMatch in /home/lucas/src/Nominatim/utils/setup.php on line 543 PHP Warning: file_get_contents(http://planet.openstreetmap.org/replication/minute/?C=M;O=D): failed to open stream: Network is unreachable in /home/lucas/src/Nominatim/utils/setup.php on line 544 PHP Notice: Undefined variable: aRepMatch in /home/lucas/src/Nominatim/utils/setup.php on line 554 PHP Warning: file_get_contents(http://planet.openstreetmap.org/replication/minute/?C=M;O=D): failed to open stream: Network is unreachable in /home/lucas/src/Nominatim/utils/setup.php on line 555 PHP Notice: Undefined variable: aRepMatch in /home/lucas/src/Nominatim/utils/setup.php on line 565 Getting state file: http://planet.openstreetmap.org/replication/minute/.state.txt PHP Warning: file_get_contents(http://planet.openstreetmap.org/replication/minute/.state.txt): failed to open stream: Network is unreachable in /home/lucas/src/Nominatim/utils/setup.php on line 567 ERROR: unable to obtain state file unable to obtain state file

However, these lines seem to be referring only to the "updating" process handled by Nominatim. By the way, I'm using a proxy. Thanks, Lucas

asked 13 Jun '13, 15:14

Kalu06's gravatar image

Kalu06
1407815
accept rate: 0%

edited 14 Jun '13, 15:16

I know nothing about Nominatim (except how to spell it), but in order to give those that do a chance I suggest that you read the link below and edit a few more details into the question:

http://www.joelonsoftware.com/articles/fog0000000029.html

(14 Jun '13, 09:44) SomeoneElse ♦
1

That's true. I'm going to edit my post right away.

(14 Jun '13, 09:49) Kalu06

I figured it out!

Actually, I realized that setup.php was failing during the 'osmosis-init'. I run ./utils/setup.php --index --create-search-indices (after the setup.php --all who failed) and now everything is working great!

permanent link

answered 14 Jun '13, 10:55

Kalu06's gravatar image

Kalu06
1407815
accept rate: 0%

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:

×549
×78
×13

question asked: 13 Jun '13, 15:14

question was seen: 7,467 times

last updated: 14 Jun '13, 15:16

powered by OSQA