环境信息:
系统版本:
cat /proc/version
Linux version 4.19.90-vhulk2103.1.0.h1144.eulerosv2r9.aarch64 (abuild@szxrtosci10000) (gcc version 7.3.0 (GCC))
emqx 版本:https://www.emqx.com/zh/downloads/broker/v5.3.1/emqx-5.3.1-el8-arm64.tar.gz
问题描述:
执行./emqx/bin/emqx start启动失败,日志输出如下
emqx start
WARNING: Default (insecure) Erlang cookie is in use.
WARNING: Configure node.cookie in /opt/emqx/etc/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.3.1 using node name 'emqx@127.0.0.1' failed 120 probes.
Find more information in the latest log file: /opt/emqx/log/erlang.log.*
配置及日志
/opt/emqx/etc/emqx.conf 配置文件
node {
name = "emqx@127.0.0.1"
cookie = "emqxsecretcookie"
data_dir = "data"
}
cluster {
name = emqxcl
discovery_strategy = manual
}
dashboard {
listeners.http {
bind = 18083
}
}
/opt/emqx/log/erlang.log.1 日志输出
=====
===== LOGGING STARTED Tue Dec 10 11:15:04 CST 2024
=====
logger: socket /dev/log: No such file or directory^M
执行./emqx/bin/emqx console 输出
emqx console
WARNING: Default (insecure) Erlang cookie is in use.
WARNING: Configure node.cookie in /opt/emqx/etc/emqx.conf or override from environment variable EMQX_NODE__COOKIE
WARNING: NOTE: Use the same cookie for all nodes in the cluster.
logger: socket /dev/log: No such file or directory
执行./emqx/bin/emqx foreground输出
emqx foreground
WARNING: Default (insecure) Erlang cookie is in use.
WARNING: Configure node.cookie in /opt/emqx/etc/emqx.conf or override from environment variable EMQX_NODE__COOKIE
WARNING: NOTE: Use the same cookie for all nodes in the cluster.
logger: socket /dev/log: No such file or directory