[rabbitmq-discuss] Max OS X failure on start up / Trivial

0 views
Skip to first unread message

Panayiotis Papadopoulos

unread,
Jun 24, 2009, 4:40:03 PM6/24/09
to rabbitmq...@lists.rabbitmq.com
Hi everyone, I know it is trivial but I could not do anything so far, i guess cos i am a noob in Erlang
Anyway I have followed the port install way to install both erlang and rabbitmq. Rabbit is install in the the lib folder of Erland
and erlang loads rabbit
 
2> code:which(rabbit).
"/opt/local/lib/erlang/lib/rabbitmq_server-1.6.0/ebin/rabbit.beam"

Despite that when i start the rabbit by sudo rabbitmq-server i get the usual


Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})

the rabbit.log has this output

=INFO REPORT==== 23-Jun-2009::15:23:02 ===
    application: mnesia
    exited: stopped
    type: temporary

=INFO REPORT==== 23-Jun-2009::15:23:07 ===
Added vhost <<"/">>

=INFO REPORT==== 23-Jun-2009::15:23:07 ===
Created user <<"guest">>

=INFO REPORT==== 23-Jun-2009::15:23:07 ===
    application: rabbit
    exited: {{bad_type,realm_exchange,{realm_resource,'_',<<"amq.fanout">>}},
             {rabbit,start,[normal,[]]}}
    type: temporary

=INFO REPORT==== 23-Jun-2009::15:23:07 ===
    application: mnesia
    exited: stopped
    type: temporary

=INFO REPORT==== 23-Jun-2009::15:23:07 ===
    application: os_mon
    exited: stopped
    type: temporary

I have no clue, i am sorry :) But i hope to learn it some day

Tony Garnock-Jones

unread,
Jun 24, 2009, 6:28:09 PM6/24/09
to pano...@gmail.com, rabbitmq...@lists.rabbitmq.com
Hello,

You may have an old database from a previous installation -- if you
don't mind recreating your queues and exchanges, you can delete it, and
the next time rabbitmq starts, it will create a fresh empty database.
The database lives by default in
/opt/local/var/lib/rabbitmq/mnesia/rabbit under macports.

Regards,
Tony

> ------------------------------------------------------------------------
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq...@lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq...@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

Matthias Radestock

unread,
Jun 25, 2009, 8:20:43 PM6/25/09
to pano...@gmail.com, rabbitmq...@lists.rabbitmq.com
Tony Garnock-Jones wrote:
> You may have an old database from a previous installation

I don't think that's the problem. From the release notes: "When the
RabbitMQ server detects the presence of an old database, it moves it to
a backup location, creates a fresh, empty database, and logs a warning."

In fact the error looks more like it's picking up an ancient version of
rabbitmq - folks were seeing this error 8 months ago when attempting to
run RabbitMQ 1.4.0 or earlier on R12B-5 (or later). See, for example,
http://www.nabble.com/RabbitMQ-starting-problem-on-Ubuntu-td20480353.html

So I recommend searching the system for any remnants of other rabbitmq
installations, in particular rabbit_*.beam files, and remove them.


Regards,

Matthias.

Tony Garnock-Jones

unread,
Jun 30, 2009, 3:10:33 AM6/30/09
to Matthias Radestock, pano...@gmail.com, rabbitmq...@lists.rabbitmq.com
Matthias Radestock wrote:
> So I recommend searching the system for any remnants of other rabbitmq
> installations, in particular rabbit_*.beam files, and remove them.

Good point. I just used Spotlight to search for "rabbit.beam" and found
four separate instances. (All of which were, in my case, expected, but
nonetheless it's a valuable troubleshooting hint...)

Tony

Reply all
Reply to author
Forward
0 new messages