error in config file "/etc/rabbitmq/rabbitmq.config"
2017-01-03 18:22 DillGao 阅读(3256) 评论(0) 编辑 收藏 举报记录一次RabbitMQ配置文件配置错误
error信息:
dill@ubuntu-vm:/usr/share/doc/rabbitmq-server$ sudo /usr/lib/rabbitmq/bin/rabbitmq-server
{"could not start kernel pid",application_controller,"error in config file \"/etc/rabbitmq/rabbitmq.config\" (318): syntax error before: ']'"}
Crash dump is being written to: erl_crash.dump...done
could not start kernel pid (application_controller) (error in config file "/etc/rabbitmq/rabbitmq.config" (318): syntax error before: ']')
原因:
出错原因在逗号,类似JSON,数组[]中最后一项,后面不能加逗号。逗号删除,问题解决。