- Notifications
You must be signed in to change notification settings - Fork4k
[Questions] use erl_inetrc rabbitmqctl cluster_status not work#14205
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Community Support Policy
RabbitMQ version used4.1.1 Erlang version used27.3.x Operating system (distribution) usedlinux How is RabbitMQ deployed?Community Docker image rabbitmq-diagnostics status outputSeehttps://www.rabbitmq.com/docs/cli to learn how to use rabbitmq-diagnostics DetailsLogs from node 1 (with sensitive values edited out)Seehttps://www.rabbitmq.com/docs/logging to learn how to collect logs DetailsLogs from node 2 (if applicable, with sensitive values edited out)Seehttps://www.rabbitmq.com/docs/logging to learn how to collect logs DetailsLogs from node 3 (if applicable, with sensitive values edited out)Seehttps://www.rabbitmq.com/docs/logging to learn how to collect logs Detailsrabbitmq.confSeehttps://www.rabbitmq.com/docs/configure#config-location to learn how to find rabbitmq.conf file location DetailsSteps to deploy RabbitMQ clusterconfig erl_inetrc and start rabbitmq Steps to reproduce the behavior in questionerl_inetrc file info: /usr/local/rabbitmq_server-4.1.1/etc/rabbitmq/rabbitmq_hosts is my hosts file: my rabbitmq-env.conf: advanced.configSeehttps://www.rabbitmq.com/docs/configure#config-location to learn how to find advanced.config file location DetailsApplication codeDetails# PASTE CODE HERE, BETWEEN BACKTICKSKubernetes deployment fileDetails# Relevant parts of K8S deployment that demonstrate how RabbitMQ is deployed# PASTE YAML HERE, BETWEEN BACKTICKS What problem are you trying to solve?I find rabbitmq process is start success, but |
BetaWas this translation helpful?Give feedback.
All reactions
Do you setRABBITMQ_CTL_ERL_ARGS? I think you need to - otherwise the CLI is unaware of the inetrc configuration
Replies: 1 comment 3 replies
-
Do you set |
BetaWas this translation helpful?Give feedback.
All reactions
-
Thank you for your suggestion. After adding the variable, I received an error message about the encoding format. I'm not sure where I went wrong in the configuration. error message: |
BetaWas this translation helpful?Give feedback.
All reactions
-
There is no shortage of examplesin the relevant doc guide, even for Windows. 'value' and "value" in Erlang are not the same thing. The former is an atom (a data type) and the latter is a string. RABBITMQ_CTL_ERL_ARGS="-kernel inetrc '/usr/local/rabbitmq_server-4.1.1/etc/rabbitmq/erl_inetrc'"should probably be RABBITMQ_CTL_ERL_ARGS='-kernel inetrc /usr/local/rabbitmq_server-4.1.1/etc/rabbitmq/erl_inetrc'or RABBITMQ_CTL_ERL_ARGS='-kernel inetrc "/usr/local/rabbitmq_server-4.1.1/etc/rabbitmq/erl_inetrc"' |
BetaWas this translation helpful?Give feedback.
All reactions
-
ok, thank you. i find one way, set a global parameter, like |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1