I'm trying to get nominatim up and running but am running into some problems. Here are the last few lines from my execution. Anyone run into this problem? Did I mess up the build steps?
asked 28 Oct '13, 14:29 sbryfcz |
The import script cannot write to answered 28 Oct '13, 21:55 lonvia Thanks for the suggestions. It doesn't look like a settings/download.lock file exists so I'm guessing my issue is the first one. Unfortunately, I'm a bit unclear as to how to fix it. The script I'm running is simply ./utils/setup.php --osm-file greenland.osm.pbf --all Does the setup script call the import script? I've given my user sudoer privledges so I don't have to log in as root. Thanks for the help.
(29 Oct '13, 14:56)
sbryfcz
I was able to clear up the lock error but still am getting the following errors related to opening stream. I spun up a test VM and was able to get everything working. So maybe its something I need my IT group to clear up on the server. Any suggestions? ... Nov 04, 2013 2:53:33 PM org.openstreetmap.osmosis.core.Osmosis run INFO: Total execution time: 322 milliseconds. PHP Warning: file_get_contents(http://www.openstreetmap.org/api/0.6/node/2506472169/1): failed to open stream: Connection timed out in /home/spbryfczynski/Documents/Nominatim/utils/setup.php on line 540 ...more errors
(04 Nov '13, 20:07)
sbryfcz
|
I ended up having to use curl for the file_get_contents methods (with urls). I added this function to the utils/setup.php file and then changed the file_get_contents calls to URLs to file_get_contents_curl. Things then worked.
answered 05 Nov '13, 14:21 sbryfcz |