Skip to content

RabbitMQ node stops right after installation #12991

Closed Answered by lukebakken
MathewJoy2018 asked this question in Questions
Discussion options

You must be logged in to vote

The problem is that RabbitMQ can't determine the home directory for the user who installed RabbitMQ on this particular Windows machine.

This code:
https://github.com/rabbitmq/rabbitmq-server/blob/v4.0.x/deps/rabbit/src/rabbit.erl#L1401

...calls this code:
https://github.com/rabbitmq/rabbitmq-server/blob/v4.0.x/deps/rabbit/src/rabbit.erl#L1679-L1683

...which means that the Erlang VM can't determine the value for home when it starts. This is the code that determines the home directory on Windows:

https://github.com/erlang/otp/blob/maint-27/erts/etc/common/erlexec.c#L1629-L1651

On Windows, this code uses HOMEDRIVE and HOMEPATH, or the value of USERPROFILE, to determine the home directory. Th…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by lukebakken
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #12991 on December 20, 2024 18:12.