EMQX Broker Starting Error on Ubuntu 22.04

374 Views Asked by At

I'm quite new to using EMQX MQTT broker. I ran installation successfully using the commands as given here: curl -s https://assets.emqx.com/scripts/install-emqx-deb.sh | sudo bash sudo apt-get install emqx

After this, i started the newly installed EMQX broker using the command: sudo emqx start

which resulted to the following error:

WARNING: Default (insecure) Erlang cookie is in use.
WARNING: Configure node.cookie in /etc/emqx/emqx.conf or override from environment variable EMQX_NODE__COOKIE
WARNING: NOTE: Use the same cookie for all nodes in the cluster.
ERROR: EMQX 5.2.0-build.1 using node name '[email protected]' failed 120 probes.

I kindly request any of your assistance please, in case you've bumped in such error. Thank you!

I tried running the installation as given in this guide

1

There are 1 best solutions below

0
ochieno Eliud On

After digging around for the potential solutions to this, I got this to start the EMQX broker:

sudo systemctl start emqx

Worked for me!