环境
- EMQX 版本:5.5.1
- 操作系统版本:openeluer22.03
1、在emqx.conf配置排他订阅后启动emqx报错
[gciadm@kafka-dmz-1 emqx]$ ./emqx/bin/emqx start
WARNING: Default (insecure) Erlang cookie is in use.
WARNING: Configure node.cookie in /opt/panzhihua/emqx/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.5.1 using node name ‘emqx@127.0.0.1’ failed 120 probes.
Find more information in the latest log file: /opt/panzhihua/emqx/emqx/log/erlang.log.*
2、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
}
}
mqtt.exclusive_subscription {
enable = true
}
3、日志具体报错如下:
===== LOGGING STARTED Tue Jun 4 15:45:32 CST 2024
2024-06-04T15:45:34.371753+08:00 [error] failed_to_check_schema: emqx_conf_schema
2024-06-04T15:45:34.375563+08:00 [error] #{reason => #{expected => “boolean()”},value => #{<<“enable”>> => true},path => “mqtt.exclusive_subscription”,kind => validation_error}
ERROR: call_hocon_failed: -v -t 2024.06.04.15.45.33 -s emqx_conf_schema -c /opt/panzhihua/emqx/emqx/etc/emqx.conf -d /opt/panzhihua/emqx/emqx/data/configs generate