[rabbitmq-discuss] error connecting to rabbitmq node

Matthias Radestock matthias at lshift.net
Mon Sep 15 20:41:57 BST 2008


Sarah,

Sarah Jelinek wrote:
> Matthias Radestock wrote:
>> What error did you get when you tried starting the server prior to 
>> modifying the path?
>>
> The rabbitmq code is installed in /usr/lib/erlang/lib/rabbitmq_server... 
> And the log shows:
>> more /var/log/rabbitmq/startup.log
>> {"init terminating in 
>> do_boot",{undef,[{rabbit_multi,start,[]},{init,start_it,1},{init,start_em, 
>>
>> 1}]}}

That is strange. Where are your Erlang/OTP modules installed? They 
*should* be under /usr/lib/erlang/ .

> The /etc/init.d/rabbitmq-server script starts /usr/sbin/rabbitmq-multi, 
> ... is looking in /usr/sbin/../ebin for erlang code.

../ebin is just *one* of the places where erl looks for modules. erl 
will also look in the place where Erlang/OTP is installed, and *that's* 
where it should find the rabbit modules.

> I am using apt-get to install the rabbitmq server pkg. Is there 
> something else I should be doing?

That's all you should have to do.


Matthias.




More information about the rabbitmq-discuss mailing list