Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

psql: FATAL: database "nominatim" does not exist #12

Open
hichamat opened this issue Jul 8, 2014 · 1 comment
Open

psql: FATAL: database "nominatim" does not exist #12

hichamat opened this issue Jul 8, 2014 · 1 comment

Comments

@hichamat
Copy link

hichamat commented Jul 8, 2014

Hi and thank you for your script.

I get this error when trying to install Nominatim for the first time in Ubuntu 12 with 4GO RAM and 320 GB of disk space. I want just use it for one or two countries.

The installation gives me this error:

Allocating memory for sparse node cache
Out of memory for sparse node cache, reduce --cache size
Error occurred, cleaning up
ERROR: Error executing external command: /home/nominatim/Nominatim/osm2pgsql/osm2pgsql -lsc -O gazetteer --hstore -C 3207 -P 5432 -d nominatim /home/nominatim/Nominatim/data/europe/andorra-latest.osm.pbf

So I modified : .config.sh > [osm2pgsqlcache="--osm2pgsql-cache 2000"] for 2000MB only.

After reexecuting run.sh I get this error:

Makefile:10: warning: overriding commands for target install' /usr/lib/postgresql/9.1/lib/pgxs/src/makefiles/pgxs.mk:116: warning: ignoring old commands for targetinstall'
DROP DATABASE
psql: FATAL: database "nominatim" does not exist

The content of mu .config.sh file is the following:
http://codepad.org/HVH8Ec3e

Please advice.

@nisaacson
Copy link

The warning of not having a database nominatim is normal and can be safely ignored.

The error that is relevant here is an out of memory error

Out of memory for sparse node cache, reduce --cache size

Did the rest of the installation complete correctly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants