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

Docker image fails to build #27

Open
bisoldi opened this issue Sep 10, 2015 · 3 comments
Open

Docker image fails to build #27

bisoldi opened this issue Sep 10, 2015 · 3 comments

Comments

@bisoldi
Copy link

bisoldi commented Sep 10, 2015

When trying to build the Docker image, the build fails with a host of errors throughout the build process, see below.

Note, I realize the JVM error might be related to Issue #22 however I can't do much about the swap space or the .profile configuration during the build process.

Any help in being able to build nominatim, either standalone or Docker would be appreciated!

invoke-rc.d: policy-rc.d denied execution of start.
update-initramfs: deferring update (trigger activated)


invoke-rc.d: unknown initscript, /etc/init.d/systemd-logind not found.
invoke-rc.d: policy-rc.d denied execution of start.


Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Error occurred during initialization of VM
Could not reserve enough space for object heap
ignoring dump failure


(gconftool-2:5064): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

@mvl22
Copy link
Member

mvl22 commented Sep 11, 2015

@melvinzhang Are you able to advise?

@melvinzhang
Copy link
Contributor

@mvl22 sure, will look into it. @bisoldi can you paste your .config.sh file in this issue so that we can replicate the problem? Do change the password and other sensitive info to something else first.

@melvinzhang
Copy link
Contributor

779027f + #28 is able to build the image successfully using .config.sh modified from .config.sh.template as follows.

diff .config.sh .config.sh.template
19c19
< password=123456
---
> password=
26c26
< includeWikipedia=
---
> includeWikipedia=yes

Had to disable wikipedia to avoid running out of memory.

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

3 participants