当前位置: 首页 > news >正文

emqx异常处理

请添加图片描述

启动异常

通过解压tar压缩包安装后通过 ./bin/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
NOTE: Use the same config value for all nodes in the cluster.
!!!
Erlang/OTP 24 [erts-12.3.2.2] [emqx] [64-bit] [smp:4:4] [ds:4:4:8] [async-threads:4]
{“Kernel pid terminated”,application_controller,“{application_start_failure,kernel,{{shutdown,{failed_to_start_child,kernel_safe_sup,{on_load_function_failed,quicer_nif,{{badmatch,{error,{load_failed,“Failed to load NIF library /opt/emqx/lib/quicer-0.0.16/priv/libquicer_nif: ‘libatomic.so.1: cannot open shared object file: No such file or directory’”}}},[{quicer_nif,init,0,[{file,“quicer_nif.erl”},{line,54}]},{init,‘-run_on_load_handlers/2-fun-0-’,1,[]}]}}}},{kernel,start,[normal,[]]}}}”}
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{{shutdown,{failed_to_start_child,kernel_safe_sup,{on_load_function_failed,quicer_nif,{{badmatch,{error,{load_failed,“Failed to load NIF library /opt/emqx/lib/quicer-0.0.16/priv/libquicer_nif: ‘libatomic.so.1: cannot open shared object file: No such file or directory’”}}},[{quicer_nif,init,0,[{file,“quicer_nif.erl”},{line,54}]},{init,‘-run_on_load_handlers/2-fun-0-’,1,[]}]}}}},{kernel,start,[normal,[]]}}})

解决方式:
修改解压包后 /opt/emqx/etc/emqx.conf 内的cookie名 然后启动命令改为 ./bin/emqx start &

http://www.lryc.cn/news/6903.html

相关文章:

  • Web前端:开始学习ReactJS需要知道什么?
  • 卡诺图化简
  • 带你了解软件测试是做什么的
  • 企业电子招投标采购系统源码之功能模块功能描述
  • 职场中的高手,是如何高质量解决问题?
  • 报表生成工具Stimulsoft中的电子签名和 PDF 数字签名
  • 【Hello Linux】Linux环境下写的第一个程序 -- 进度条
  • 【基础】性能测试,从0到实战(手把手教,非常实用)
  • 07-Java异常分类以及处理机制
  • 用到的C++的相关知识-----未完待续
  • JavaScript刷LeetCode拿offer-贪心算法
  • selenium
  • SpringMVC的视图
  • idea使用本地代码远程调试线上运行代码---windows环境
  • 简单记录简单记录
  • 源码系列 之 ThreadLocal
  • C语言入门(1)——特点及关键字
  • react中useEffect和useLayoutEffect的区别
  • NoSQL(非关系型数据库)与SQL(关系型数据库)的差别
  • new bing的申请与使用教程
  • yaml配置文件
  • 284. 顶端迭代器
  • 自学前端最容易犯的10个的错误,入门学前端快来看看
  • 【ADRC控制】使用自抗扰控制器调节起动机入口压力值
  • 剑指 Offer Day2——链表(简单)
  • Final Cut Pro 10.6.5
  • Modelsim仿真操作指导
  • 你知道这20个数组方法是怎么实现的吗?
  • 《系统架构设计》-01-架构和架构师概述
  • 第七届蓝桥杯省赛——5分小组