Erlang Mailing Lists

Author Message

<  RabbitMQ mailing list  ~  Alice wonderland and RabbitMQ issue

Guest
Posted: Fri Dec 18, 2009 6:51 am Reply with quote
Guest
Somebody can tell me any conceivable reasons?
Guest
Posted: Fri Dec 18, 2009 9:23 am Reply with quote
Guest
Wilson,

Wilson Ke wrote:
> =CRASH REPORT==== 7-Dec-2009::21:25:28 ==
> crasher:
> initial call: mochiweb_socket_server:acceptor_loop/1
> pid: <0.67.0>
> registered_name: []
> exception error: no function clause matching
> lists:map(#Fun<conn.0.81991811>,
> {badrpc,
> {'EXIT',
> {undef,
> [{rabbit_networking,connection_info_all,[]},

The above indicates that something fails to find a function in the
RabbitMQ code base. Does your rabbit installation function normally? And
what version of RabbitMQ are you running?


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: Mon Dec 21, 2009 1:52 am Reply with quote
Guest
The rabbitmq version is 1.7.0,it can work normal.

-----Original Message-----
From: Matthias Radestock [mailto:matthias@lshift.net]
Sent: 2009
Guest
Posted: Mon Dec 21, 2009 7:55 am Reply with quote
Guest
Wilson,

Wilson Ke wrote:
> The rabbitmq version is 1.7.0,it can work normal.

Does rabbitmqctl work too?

AFAICT from looking at the Alice code, the error would most likely be
caused by Alice connecting to an Erlang node that isn't running rabbit.

What's the name of your rabbit node, as displayed by rabbit during startup?

Have you got the RABBIT_HOST shell environment variable or 'rabbithost'
alice application environment variable set (e.g. by specifying it in
"./start.sh -alice rabbithost <host>")?


Overall this looks like a problem with Alice or your usage of it, rather
than a RabbitMQ problem. So I suggest you ask the Alice developers for help.


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: Mon Dec 21, 2009 8:17 am Reply with quote
Guest
I start the alice with the bellow bash command:
Guest
Posted: Mon Dec 21, 2009 8:31 am Reply with quote
Guest
Wilson,

Wilson Ke wrote:
> *My rabbitmq work normal,the start information as bellow*
> node : rabbit@centos

In that case ...

> ./start.sh -alice rabbithost "alice@centos" -setcookie
> "UD/8aYoam23kYFz4aWO2bA=="

the above should say "rabbit@centos".

Also, the cookie information is wrong; you set it to what rabbit
displays here:

> cookie hash : UD/8aYoam23kYFz4aWO2bA==

but that is the *hash* of the cookie, not the cookie itself. You can
find the cookie in rabbit's home dir under .erlang.cookie, e.g. given

> home dir : /root

the cookie should be in /root/.erlang.cookie. The contents of that file
should be supplied to -setcookie.


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: Mon Dec 21, 2009 9:24 am Reply with quote
Guest
Matthias,
Guest
Posted: Mon Dec 21, 2009 9:28 am Reply with quote
Guest
Hi Ari,
Guest
Posted: Mon Dec 21, 2009 9:32 am Reply with quote
Guest
Wilson,

Wilson Ke wrote:
> I did following your suggestions.
> Use rabbit@centos as node name;
> Set "UD/8aYoam23kYFz4aWO2bA==" as /root/.erlang.cookie content;
> ./start.sh -alice rabbithost "rabbit@centos";
> But when is use the bellow curl command to test.
> *curl -i http://localhost:9999/conn*
> it still throw bellow exception

I have run out of ideas. As I said in my previous email, this isn't a
rabbit problem. I suggest you contact the alice authors.


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: Mon Dec 21, 2009 10:05 am Reply with quote
Guest
Wilson,

Hey, sorry, I've been away from my email for a little while. Does he have the rabbit source?
Guest
Posted: Mon Dec 21, 2009 10:16 am Reply with quote
Guest
Hi Ari,
Guest
Posted: Mon Dec 21, 2009 10:23 am Reply with quote
Guest
Hi Ari,
Guest
Posted: Mon Dec 21, 2009 10:26 am Reply with quote
Guest
The error is coming from an alice call, not from mochiweb. But you can find those in the mochiweb source:
Guest
Posted: Mon Dec 21, 2009 10:33 am Reply with quote
Guest
Wilson,

Yep, so it's on the rabbit node. Do you have the rabbit console open? Can you try typing this in the rabbit console:


rabbit_networking:connection_info_all().


What does that give you?


Ari Lerner


Hi Ari,
Bellow
Guest
Posted: Mon Dec 21, 2009 10:38 am Reply with quote
Guest
Hi Ari,

Display posts from previous:  

All times are GMT
Page 1 of 2
Goto page 1, 2  Next
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