Emq2.3. X will appear this error, how to break? Emq program cannot start properly because port 1883 is not listening.

 

emqttd broker is starting… [ok]

emqttd alarm is starting… [ok]

emqttd mod supervisor is starting… [ok]

emqttd bridge supervisor is starting… [ok]

emqttd access control is starting… [ok]

emqttd system monitor is starting… [ok]

Emqttd 2.3.6 is running now

Eshell V9.3  (abort with ^G)

([email protected])1> 13:27:04.684 [error] Autocluster exception: {badmatch,undefined}

 

The main reason is the emqttd_plugins.erl file

plugin(CfgFile) ->

{ok, Attrs} = application:get_all_key(AppName),

Not getting the right key.

([email protected]) 1 > filelib: wildcard (*. “{conf, config}”, “etc/plugins/”). [“emq_auth_clientid.conf”,”emq_auth_http.conf”, “emq_auth_jwt.conf”,”emq_auth_ldap.conf”, “emq_auth_mongo.conf”,”emq_auth_mysql.conf”, “emq_auth_pgsql.conf”,”emq_auth_redis.conf”, “emq_auth_username.conf”,”emq_coap.conf”, “emq_dashboard.conf”,”emq_lua_hook.conf”,”emq_modules.conf”, “emq_plugin_kafka_brod.config”,”emq_plugin_template.config”, “emq_recon.conf”,”emq_reloader.conf”,”emq_retainer.conf”, “emq_sn.conf”,”emq_stomp.conf”,”emq_web_hook.conf”, “firecat_api.conf”,”firecat_api.config”, “Firecat_info.config “] ([email protected])2> Application :get_all_key(firecat_info). {ok,[{description,”emqttd info save To MySQL “}, {id, []}, {VSN, “1.1.2”}, {modules, [firecat_info_app firecat_info_data, firecat_info_data_sup,firecat_info_mysql, firecat_info_mysql_sup]}, {maxP,infinity}, {maxT,infinity}, {registered,[]}, {included_applications,[]}, {applications,[stdlib,kernel,ecpool,mysql]}, {env,[{included_applications,[]}]}, {mod,{firecat_info_app,[]}}, {start_phases,undefined}]}

 

Undefined is displayed if there is a problem.

 

My solution: delete the plugins in the DEps folder and copy them again. /home/emqx-rel-2.3.11/data/loaded_plugins /home/emqx-rel-2.3.11/data/loaded_plugins /home/emqx-rel-2.3.11/data/loaded_plugins /home/emqx-rel-2.3.11/data/loaded_plugins /home/emqx-rel-2.3.11/data/loaded_plugins