首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >无法在centos7上启动rabbitmq-server

无法在centos7上启动rabbitmq-server
EN

Stack Overflow用户
提问于 2020-06-24 10:56:45
回答 1查看 175关注 0票数 0

我在centos7上安装了RabbitMQ,但是当我启动服务器时,我得到一个警告:

代码语言:javascript
复制
Warning: PID file not written; -detached was passed.

然后我检查rabbitmq服务器的状态,得到这样的消息

代码语言:javascript
复制
centos Error: unable to perform an operation on node 'rabbit@ecs-8767'. Please see diagnostics information and suggestions below.

Most common reasons for this are:

* Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues)
* CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server)
* Target node is not running

In addition to the diagnostics info below:

* See the CLI, clustering and networking guides on https://rabbitmq.com/documentation.html to learn more
* Consult server logs on node rabbit@ecs-8767
* If target node is configured to use long node names, don't forget to use --longnames with CLI tools

DIAGNOSTICS
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-06-29 05:31:37

您的用户是否具有写入文件夹/var/run的权限?如果用户没有权限,您可以尝试从sudo开始。

您还可以在此链接中尝试其他方法:https://serverfault.com/questions/159334/what-permissions-are-needed-to-write-a-pid-file-in-var-run/159349#159349

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/62546870

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档