-
Notifications
You must be signed in to change notification settings - Fork 162
Cannot start emqx single node setup #119
Comments
Also, it does not make a difference if I comment out the line with EMQX_NODE__COOKIE: 9beqyAQGcWQ1FvSiLnf3 in docker-compose.yml |
While the container is active, docker ps is
|
I came one step further in this analysis. If I revert to using
|
Specify image as |
@sourcekick Just exactly same as I've met. I can normally run the emqx image without enviroment confiuration EMQX_NODE__NAME(or any configuration), but with this, the container died silently, and the logs are same with what you displayed |
@PotatoGuo Can you share your environment configuration? |
@zhanghongtong I just added -e EMQX_NODE__NAME="emqx@192.168.0.234" |
@PotatoGuo The IP address in the |
@zhanghongtong Yes, it worked, Thanks! |
@PotatoGuo You're welcome :) |
Expected behavior
emqx starts up and accepts connections. The container does not exit.
Actual behavior
The process exits after about 30 seconds without any log output that would indicate the error.
logs:
The first log is the console output. To see that I made a run with the logging gelf configuration in docker-compose.yml commented out.
^ here at the end you see that an Eshell promt is open somehow and then after some seconds the process exists
Test code
my docker-compose.yml
All these files and directories on the Docker Host belong to root:docker and all of them are also readable and traversable by others. The stuff under local is also writeable by others.
EMQ version
Which branch are you on? If you know the Git revision then add it here as well.
emqx/emqx latest
Docker version
Docker version 18.09.7, build 2d0083d
How docker info?
System
CentOS 7
Hardware
standard modern Azrue VM
The text was updated successfully, but these errors were encountered: