X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e7b738fe35a2ec13efdc22c9f068c477182da6c3..5f19b23f49aee9989267ac03b488049f9d681166:/docs/admin/Faq.md?ds=inline diff --git a/docs/admin/Faq.md b/docs/admin/Faq.md index 46da7e21..db5e101c 100644 --- a/docs/admin/Faq.md +++ b/docs/admin/Faq.md @@ -71,6 +71,23 @@ and recompile (`cmake .. && make`). Reinstall the nominatim functions with `setup.php --create--functions` and check for any errors, e.g. a missing `nominatim.so` file. +### I see the error: "ERROR: mmap (remap) failed" + +This may be a simple out-of-memory error. Try reducing the memory used +for `--osm2pgsql-cache`. Also make sure that overcommitting memory is +allowed: `cat /proc/sys/vm/overcommit_memory` should print 0 or 1. + +If you are using a flatnode file, then it may also be that the underlying +filesystem does not fully support 'mmap'. A notable candidate is virtualbox's +vboxfs. + +### nominatim UPDATE failed: ERROR: buffer 179261 is not owned by resource owner Portal + +Several users [reported this](https://github.com/openstreetmap/Nominatim/issues/1168) during the initial import of the database. It's +something Postgresql internal Nominatim doesn't control. And Postgresql forums +suggest it's threading related but definitely some kind of crash of a process. +Users reported either rebooting the server, different hardware or just trying +the import again worked. ### The website shows: "Could not get word tokens" @@ -93,6 +110,11 @@ However, you can solve this the quick and dirty way by commenting out that line sudo systemctl restart httpd +### "must be an array or an object that implements Countable" warning in /usr/share/pear/DB.php + +The warning started with PHP 7.2. Make sure you have at least [version 1.9.3 of PEAR DB](https://github.com/pear/DB/releases) +installed. + ### Website reports "DB Error: insufficient permissions" The user the webserver, e.g. Apache, runs under needs to have access to the Nominatim database. You can find the user like [this](https://serverfault.com/questions/125865/finding-out-what-user-apache-is-running-as), for default Ubuntu operating system for example it's `www-data`.