[rabbitmq-discuss] rabbitmq install on mac 10.6.4 os using macports

9 views
Skip to first unread message

spasco

unread,
Oct 7, 2010, 5:00:26 PM10/7/10
to rabbitmq...@lists.rabbitmq.com

Following the Macports install notes here (running Mac 10.6.4):

http://www.rabbitmq.com/install.html#macports

I'm getting a not so intuitive error upon starting RabbitMQ (see below).

Any clues would be helpful.

Thank you,
Stephen


AMQP 0-9-1 / 0-9 / 0-8
Copyright (C) 2007-2010 LShift Ltd., Cohesive Financial Technologies LLC.,
and Rabbit Technologies Ltd.
Licensed under the MPL. See http://www.rabbitmq.com/

node : rabbit@spasco
app descriptor :
/opt/local/lib/rabbitmq/bin/../lib/rabbitmq_server-2.1.0/sbin/../ebin/rabbit.app
home dir : /opt/local/var/lib/rabbitmq
cookie hash : oajNNcoTG/ZsFKLN7fTzaQ==
log : /opt/local/var/log/rabbitmq/rab...@spasco.log
sasl log : /opt/local/var/log/rabbitmq/rab...@spasco-sasl.log
database dir : /opt/local/var/lib/rabbitmq/mnesia/rabbit@spasco
erlang version : 5.7.5

WARNING: module gen_server2 not found, so not scanned for boot steps.
WARNING: module rabbit_tests not found, so not scanned for boot steps.
WARNING: module test_sup not found, so not scanned for boot steps.
starting file handle cache server
...done
starting worker pool
...BOOT ERROR: FAILED
Reason: {{badmatch,
{error,
{shutdown,
{child,undefined,worker_pool_sup,
{worker_pool_sup,start_link,[]},
transient,4294967295,worker,
[worker_pool_sup]}}}},
[{rabbit_sup,start_child,3},
{rabbit,'-run_boot_step/1-lc$^1/1-1-',1},
{rabbit,run_boot_step,1},
{rabbit,'-start/2-lc$^0/1-0-',1},
{rabbit,start,2},
{application_master,start_it_old,4}]}
{"Kernel pid
terminated",application_controller,"{application_start_failure,rabbit,{bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{rabbit,failure_during_boot}}}}}"}

Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller)
({application_start_failure,rabbit,{bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{rabbit,failure_during_boot}}}}})

--
View this message in context: http://old.nabble.com/rabbitmq-install-on-mac-10.6.4-os-using-macports-tp29910220p29910220.html
Sent from the RabbitMQ mailing list archive at Nabble.com.

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

Adam Nelson

unread,
Oct 7, 2010, 8:03:29 PM10/7/10
to spasco, rabbitmq...@lists.rabbitmq.com
Homebrew has a much easier Mac installation process. Try that one.

Adam

Sent from my iPhone

Matthias Radestock

unread,
Oct 8, 2010, 4:21:35 AM10/8/10
to spasco, rabbitmq...@lists.rabbitmq.com
Stephen,

spasco wrote:
> Following the Macports install notes here (running Mac 10.6.4):
>
> http://www.rabbitmq.com/install.html#macports
>
> I'm getting a not so intuitive error upon starting RabbitMQ (see below).

How are you starting rabbit?

> WARNING: module gen_server2 not found, so not scanned for boot steps.
> WARNING: module rabbit_tests not found, so not scanned for boot steps.
> WARNING: module test_sup not found, so not scanned for boot steps.

Very strange. That looks like missing files / wrong permissions.

Does
/opt/local/lib/rabbitmq/lib/rabbitmq_server-2.1.0/ebin/gen_server2.beam
exists? What's the size of the file? Are its permissions the same as
/opt/local/lib/rabbitmq/lib/rabbitmq_server-2.1.0/ebin/rabbit.beam?

OR (and perhaps more likely), this could be an Erlang version issue. The
current version of Erlang in macports is R14A, but the output from your
rabbit startup indicates that it is running R13B04. Do you have an old
version of Erlang installed somewhere?


Regards,

Matthias.

Reply all
Reply to author
Forward
0 new messages