问题描述1:
启动时报错:win10下emqx启动报错 Unable to load emulator DLL
D:\Applications_installed\emqx-5.0.4-windows-amd64\bin>emqx start
Unable to load emulator DLL
(D:\Applications_installed\emqx-5.0.4-windows-amd64\erts-12.2.1\bin\beam.smp.dll)
此时不应有 SET。
D:\Applications_installed\emqx-5.0.4-windows-amd64\bin>@if ===/ SET data_dir="
解决办法:
-
安装Erlang/OTP 25.0.3(截止2022.7.22最新版)
官网下载地址:https://www.erlang.org/downloads -
要是提示安装C++,选择安装,进行重启。
问题描述2:
在 emqx-5.0.4-windows-amd64
版本下运行 emqx start
显示:
D:\Applications_installed\emqx-5.0.4-windows-amd64\bin>emqx start
node.db_role = EMQX_NODE__DB_ROLE = core
node.db_backend = EMQX_NODE__DB_BACKEND = mnesia
解决办法:
- 切换版本:
emqx-4.4.6-otp24.2.1-windows-amd64
- https://www.emqx.com/zh/try?product=broker