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

Mongoose doesn't start (mongooseim@localhost)1> *** Terminating erlang (mongooseim@localhost) #1

Closed
gnunicorn opened this issue Feb 8, 2015 · 1 comment

Comments

@gnunicorn
Copy link

When running

docker run mongooseim/mongooseim-docker

MongooseIM dies with the following output:

Exec: /usr/lib/mongooseim/erts-6.0/bin/erlexec -boot /usr/lib/mongooseim/releases//mongooseim -embedded -config /usr/lib/mongooseim/etc/app.config -args_file /usr/lib/mongooseim/etc/vm.args -- console
Root: /usr/lib/mongooseim
2015-02-08 11:48:16.615 [info] <0.7.0> Application lager started on node mongooseim@localhost
2015-02-08 11:48:16.618 [info] <0.7.0> Application ranch started on node mongooseim@localhost
2015-02-08 11:48:16.705 [info] <0.7.0> Application mnesia started on node mongooseim@localhost
2015-02-08 11:48:16.706 [info] <0.7.0> Application asn1 started on node mongooseim@localhost
2015-02-08 11:48:16.706 [info] <0.7.0> Application public_key started on node mongooseim@localhost
2015-02-08 11:48:16.727 [info] <0.7.0> Application sasl started on node mongooseim@localhost
2015-02-08 11:48:16.743 [info] <0.7.0> Application ssl started on node mongooseim@localhost
2015-02-08 11:48:16.751 [info] <0.7.0> Application p1_stringprep started on node mongooseim@localhost
2015-02-08 11:48:16.787 [info] <0.7.0> Application inets started on node mongooseim@localhost
2015-02-08 11:48:16.787 [info] <0.7.0> Application exml started on node mongooseim@localhost
2015-02-08 11:48:16.788 [info] <0.7.0> Application cowlib started on node mongooseim@localhost
2015-02-08 11:48:16.797 [info] <0.7.0> Application cowboy started on node mongooseim@localhost
2015-02-08 11:48:16.807 [notice] <0.50.0>@lager_file_backend:128 Changed loglevel of log/ejabberd.log to info
2015-02-08 11:48:16.838 [info] <0.7.0> Application mnesia exited with reason: stopped
Eshell V6.0  (abort with ^G)
(mongooseim@localhost)1> *** Terminating erlang (mongooseim@localhost)

No other command (live, start, nor debug) seem to work either. I suspect that erlang rejects the fake shell docker gives it. How did you make it work?

@gnunicorn
Copy link
Author

My bad, you need to run it either with -d or -i -t, then the shell stays open:

docker run -d mongooseim/mongooseim-docker

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

1 participant