Windows x64 RabbitMQ install error with Erlang environment var (ERLANG_HOME)

前端 未结 15 717
孤独总比滥情好
孤独总比滥情好 2020-12-14 01:38

I\'m ask/answering this question because it hung me up & it\'s likely someone else will have the same problem.

Install of RabbitMQ x64 v2.8.6 on Windows Server 2

相关标签:
15条回答
  • 2020-12-14 02:13

    Even I was this problem. The issue was the environment variable ERLANG_HOME=c:\Program Files\erl9.0 which was never existed.

    I cross checked the path. The correct path was c:\Program Files\erl9.3.

    After correcting the

    ERLANG_HOME=c:\Program Files\erl9.3

    the problem solved. So, definitely it is a path issue.

    0 讨论(0)
  • 2020-12-14 02:14

    If above solutions doesn't work for you then you can try following

    1. Find another compatible version of erlang for your rabbit mq e.g. for rabbit 3.7.x erlang version 20.3.x to 22.0.x all are compatible .

    2. Right click newly downloaded erlang version and from properties select the option to unblock the file .

    3. Run the erlang with admin persssion .

    4. Re run rabbit mq exe

    0 讨论(0)
  • 2020-12-14 02:15

    I got into same kind of problem. I solved it by doing three changes as given below.

    1. Update Path variable "ERLANG_HOME" : "C:\Program Files\erl8.0" in Environment Variables.
    2. Upadte "Path" variable "Path" : ";%ERLANG_HOME%\bin;"
    3. Give urself FULL CONTROL permissions over "Program Files" in C drive.

    It worked for me in this way.

    0 讨论(0)
  • 2020-12-14 02:15

    I think this is encoding issue on windows.I see a correct value but I write echo %ERLANG_HOME% on console the value come with question mark. These steps fix it.

    1.go environment variable window

    2.edit ERLANG_HOME item

    3.copy the value, open notepad and paste there

    4.copy again on notepad and paste to edit window

    5.apply and exit window

    6.close command line tools and reopen

    7.run rabbitmq bat file.

    0 讨论(0)
  • 2020-12-14 02:17

    1- Set environment variable:

    Variable name : ERLANG_HOME
    Variable value: C:\Program Files (x86)\erl6.4

    note: don't include bin on above step.

    2- Add %ERLANG_HOME%\bin to the PATH environmental variable:

    Variable name : PATH
    Variable value: %ERLANG_HOME%\bin

    This works well.

    0 讨论(0)
  • 2020-12-14 02:22

    Interesting that this worked for you. There is record of a two bugs in Erl5.9.2 that cause an incomplete installation where %ERLANG_HOME%\bin is not installed.

    Either of * Installed 64bit erlang on 32bit machine * "The program can't start because MSVCR100.dll is missing from your computer."

    https://groups.google.com/d/topic/erlang-programming/wGtFLzapiQ0/discussion

    Try 5.9.1 or any other version. They also mention making the future versions of the installer alert you if it fails.

    0 讨论(0)
提交回复
热议问题