[rabbitmq-discuss] starting rabbit on centos 5

Amos Elliston amos at geni.com
Thu Apr 9 07:32:10 BST 2009

On Wed, Apr 8, 2009 at 10:36 PM, Matthias Radestock  
<matthias at lshift.net> wrote:


     Amos Elliston wrote:

         i can't seem to install it. getting:

         [root at office002 rabbitmq]# /etc/init.d/rabbitmq-server start
         Starting rabbitmq-server: TIMEOUT - check /var/log/rabbitmq/ 

         [root at office002 rabbitmq]# ll
         total 8
         -rw-r--r-- 1 root root  77 Apr  8 16:33 startup_err
         -rw-r--r-- 1 root root 103 Apr  8 16:33 startup_log
         [root at office002 rabbitmq]# cat startup_*

         Crash dump was written to: erl_crash.dump
         init terminating in do_boot ()
         {"init terminating in do_boot",{undef,[{rabbit_multi,start, 

     Is the thread
     of any help?

     i.e. are you perhaps running a manually built Erlang?

     One way to find out is to run erl and call code:get_path(), e.g.

     $ erl
     Erlang (BEAM) emulator version 5.6.5 [source] [smp:4] [async- 
threads:0] [hipe] [kernel-poll:false]

     Eshell V5.6.5  (abort with ^G)
     1> code:get_path().

     If the result does not have /usr/lib/erlang/lib/... as the paths  
then you are not running the debian-packaged Erlang and either need to  
switch to that, or add some suitable symlinks, or tweak Erlang's load  

     If the result *does* have /usr/lib/erlang/lib but there is no  
sign of rabbitmq_server-* in the list then the package didn't install  

     If the result looks as above but rabbit still won't start then  
something  weird is going on.

     PS: Next time please email the rabbitmq-discuss list. You'll get  
an answer quicker that way and other users benefit from the findings.

thanks for the help!

turns out that there were 2 version of erlang installed on that  
computer. i386 and x86_64. i was installing the 64bit version of  
rabbit, but the default erl was 32 bit. if i removed the 32bit version  
and symlinked /usr/lib64/erlang/bin/erl to /usr/bin/erl, the server  

too bad erlang doesn't give more helpful error messages. like  
'rabbitmq not found in /usr/lib/erlang/lib'.

More information about the rabbitmq-discuss mailing list