Erlang/OTP Forums

Author Message

<  RabbitMQ mailing list  ~  Problem running rabbitmqctl

Guest
Posted: Wed Nov 04, 2009 12:24 am Reply with quote
Guest
I've installed rabbitmq 1.6.0 via yum on two CentOS servers (one on slicehost and the other on EC2) and I'm running rabbitmq as a service.
Guest
Posted: Wed Nov 04, 2009 12:31 am Reply with quote
Guest
There's not enough information here to troubleshoot the problem. Do you mind locating the log files (usually /var/log/rabbitmq/), specifically the startup_err and startup_log files, and showing us the last few lines?

Matt




On Tue, Nov 3, 2009 at 7:24 PM, Marcus Irven <marcus@marcusirven.com (marcus@marcusirven.com)> wrote:
Quote:
I've installed rabbitmq 1.6.0 via yum on two CentOS servers (one on slicehost and the other on EC2) and I'm running rabbitmq as a service.  On both servers I get an error when trying to run rabbitmqctl:

Quote:
{"init terminating in do_boot",{undef,[{rabbit_control,start,[]},{init,start_it,1},{init,start_em,1}]}}

Crash dump was written to: erl_crash.dump


Any help is appreciated.


Thanks,
Marcus


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




--
Matt Todd
Highgroove Studios
www.highgroove.com
cell: 404-314-2612
blog: maraby.org

Scout - Web Monitoring and Reporting Software
www.scoutapp.com


Post received from mailinglist
Guest
Posted: Wed Nov 04, 2009 12:44 am Reply with quote
Guest
On Tue, Nov 3, 2009 at 6:30 PM, Matt Todd <mtodd@highgroove.com (mtodd@highgroove.com)> wrote:
Quote:
There's not enough information here to troubleshoot the problem. Do you mind locating the log files (usually
Guest
Posted: Wed Nov 04, 2009 12:57 am Reply with quote
Guest
On Tue, Nov 3, 2009 at 7:43 PM, Marcus Irven <marcus@marcusirven.com (marcus@marcusirven.com)> wrote: 
Quote:
I should point out that rabbitmq is working fine, I just can't use rabbitmqctl.



Interesting. I'm no expert, but things I would check first are the cookie files matching correctly (if you have one in your home directory), the node being set correctly (marcusirven-1... being set to localhost or generally accessible by itself), or the node name being correctly set (rabbit, though this looks just fine).


Matt


Post received from mailinglist
Guest
Posted: Wed Nov 04, 2009 10:06 am Reply with quote
Guest
Marcis,

Marcus Irven wrote:
> I've installed rabbitmq 1.6.0 via yum on two CentOS servers (one on
> slicehost and the other on EC2) and I'm running rabbitmq as a service.
> On both servers I get an error when trying to run rabbitmqctl:
>
> {"init terminating in
> do_boot",{undef,[{rabbit_control,start,[]},{init,start_it,1},{init,start_em,1}]}}

The error indicates that rabbitmqctl cannot find the rabbit erlang
modules. Where did you install the server?

Btw, I recommend upgrading to RabbitMQ 1.7.0 - it is less sensitive to
install locations than previous releases.


Regards,

Matthias.

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist
Guest
Posted: Wed Nov 04, 2009 10:08 am Reply with quote
Guest
On Wed, Nov 4, 2009 at 12:24 AM, Marcus Irven <marcus@marcusirven.com (marcus@marcusirven.com)> wrote:
Quote:
I've installed rabbitmq 1.6.0 via yum on two CentOS servers (one on slicehost and the other on EC2) and I'm running rabbitmq as a service.  On both servers I get an error when trying to run rabbitmqctl:

Quote:
{"init terminating in do_boot",{undef,[{rabbit_control,start,[]},{init,start_it,1},{init,start_em,1}]}}

Crash dump was written to: erl_crash.dump


Any help is appreciated.



The error means that rabbit_control:start() is a function that could not be found by the Erlang runtime (it's undefined). I'm not sure how things are installed for you (combined Erlang and Rabbit or just Rabbit making use of a centrally installed Erlang). You could check the Erlang path settings in the rabbitmqctl script to see if the Rabbit folders are included correctly.

Robby




Post received from mailinglist
Guest
Posted: Wed Nov 04, 2009 10:53 am Reply with quote
Guest
On Nov 4, 2009, at 11:08 AM, Robert Raschke wrote:
> On Wed, Nov 4, 2009 at 12:24 AM, Marcus Irven
> <marcus@marcusirven.com> wrote:
> I've installed rabbitmq 1.6.0 via yum on two CentOS servers (one on
> slicehost and the other on EC2) and I'm running rabbitmq as a
> service. On both servers I get an error when trying to run
> rabbitmqctl:
[...]

Just to let you know that we managed to install RabbitMQ 1.6.0
successfully on CentOS 5.3 using following:
$ sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-3.noarch.rpm
$ sudo yum install erlang
$ sudo yum install rabbitmq-server

Good luck,
Robert


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist
Guest
Posted: Wed Nov 04, 2009 2:00 pm Reply with quote
Guest
Ok, thanks everybody for your help. The problem is that I had installed erlang several months ago by hand and yum also installed it in a different location when installing rabbit. When I deleted the old version everything started working.

Cheers!
Marcus

On Wed, Nov 4, 2009 at 4:08 AM, Robert Raschke <rtrlists@googlemail.com (rtrlists@googlemail.com)> wrote:
Quote:


On Wed, Nov 4, 2009 at 12:24 AM, Marcus Irven <marcus@marcusirven.com (marcus@marcusirven.com)> wrote:
Quote:
I've installed rabbitmq 1.6.0 via yum on two CentOS servers (one on slicehost and the other on EC2) and I'm running rabbitmq as a service.

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum