[rabbitmq-discuss] error connecting to rabbitmq node
Matthias Radestock
matthias at lshift.net
Tue Sep 16 08:19:47 BST 2008
Sarah,
Sarah Jelinek wrote:
> I have two places where erlang appears to be installed:
> /usr/lib/erlang
> And:
> /usr/local/lib/erlang.
Did you compile&install Erlang from source? IIRC that installs into
/usr/local by default.
What does 'which erl' return? If it's /usr/local/bin/erl then it's
picking up the source-compiled install, which will look for modules in
/usr/local/lib/erlang and hence not find the rabbit modules.
In that case you have several options:
- uninstall the source-compiled version, leaving you just with the
debian version
- change the rabbit startup scripts to use /usr/bin/erl and thus pick up
the debian version
- symlink /usr/local/lib/erlang/lib/rabbitmq... to
/usr/lib/erlang/lib/rabbitmq..., thus making the rabbit modules
available in both the source-compiled and debian Erlang version
Matthias.
More information about the rabbitmq-discuss
mailing list