error in config file "/etc/rabbitmq/rabbitmq.config"

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了error in config file "/etc/rabbitmq/rabbitmq.config"相关的知识,希望对你有一定的参考价值。

记录一次RabbitMQ配置文件配置错误

error信息:

[email protected]:/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,数组[]中最后一项,后面不能加逗号。逗号删除,问题解决。

技术分享



以上是关于error in config file "/etc/rabbitmq/rabbitmq.config"的主要内容,如果未能解决你的问题,请参考以下文章

mysql数据库error: Found option without preceding group in config file 问题解决

[typescript] ERROR TS18002: The 'files' list in config file 'tsconfig.json' is emp

Found option without preceding group in config file

MySQL - Found option without preceding group in config file

Spring 定时器 使用quartz 报错问题 Error creating bean with name 'reportTask' defined in file 求解

CMake error:System Error:No such file or directory CMake error:Could not open file for write in cop