[rabbitmq-discuss] ERLANG_HOME not set correctly

Tim Watson tim at rabbitmq.com
Wed Oct 17 15:13:30 BST 2012


On 10/17/2012 01:41 PM, Endy Tjahjono wrote:
> Hi,
> I'm completely new to RabbitMQ, but I have read tutorial 1 - 6. I'm 
> trying to install RabbitMQ on several windows servers, using 
> rabbitmq-server-2.8.7 and otp_win32_R15B02. Most installations work 
> without errors, but on two servers, both Server 2003, after the 
> installation is completed, when I tried to run rabbitmqctl.bat from 
> folder "C:\Program Files\RabbitMQ Server\rabbitmq_server-2.8.7\sbin", 
> I got an error:
>     ******************************
>     ERLANG_HOME not set correctly.
>     ******************************
>     Please either set ERLANG_HOME to point to your Erlang installation 
> or place the
>     RabbitMQ server distribution in the Erlang lib folder.
> But ERLANG_HOME is already set to C:\Program Files\erl5.9.2. I have 
> checked this through the SET command and through my computer - 
> properties - advanced - environment variables.
> I have also tried restarting the server. No changes.
> What else should I check?

Is the ERLANG_HOME environment variable set for *all* users or just for 
one account? It is possible that the user it is set for is not the user 
that broker is being run by. Try setting this as a system environment 
variable and see if that helps.

> --
> Endy
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121017/e9cff7bd/attachment.htm>

More information about the rabbitmq-discuss mailing list