gpt4 book ai didi

crash - 控制rabbitmq 'name'而不是 'sname'

转载 作者:行者123 更新时间:2023-12-03 04:34:23 25 4
gpt4 key购买 nike

在lion OS上,安装后,运行时出现错误。首先,不使用rabbitmq-env.config文件,从“sudorabbitmq-server”开始,显示以下消息:

yus-iMac:rabbitmq yuchen$ sudo rabbitmq-server
Activating RabbitMQ plugins ...

********************************************************************************
********************************************************************************

0 plugins activated:

ERROR: epmd error for host "yus-iMac": address (unable to establish tcp connection)

然后我添加rabbitmq-env.conf 文件。内容如下:

RABBITMQ_NODENAME=rabbitb@yus-iMac.local

When starting, another error message is given:

yus-iMac:rabbitmq yuchen$ sudo rabbitmq-server
Activating RabbitMQ plugins ...

********************************************************************************
********************************************************************************

0 plugins activated:

{error_logger,{{2012,5,26},{21,47,13}},"Can't set short node name!\n Please check your configuration\n",[]}

我认为该消息意味着无法使用短节点。但我不知道如何控制rabbitmq-server使用name,而不是sname

最佳答案

在 Google 上搜索发现 this link ,这应该可以解决您在开始时看到的问题。以下是相关部分,以防无法访问:

making sure that your machine name (rs-mbp in my case) is in /private/etc/hosts

##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost rs-mbp
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost

关于crash - 控制rabbitmq 'name'而不是 'sname',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10767037/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com