[rabbitmq-discuss] "Hello World" not work for rabbitmq

Marek Majkowski majek04 at gmail.com
Tue May 15 11:17:01 BST 2012


On Mon, May 14, 2012 at 6:07 PM, fanchyna <fanchyna at gmail.com> wrote:
> Hi, I am new to rabbitmq, but for some (unknown) reason, the "hello
> world" program does not work for me.
> The send.py and receive.py are simply copied and pasted from the
> tutorial page:
>
> http://www.rabbitmq.com/tutorials/tutorial-one-python.html
>
> rabbitmq is installed using "yum" on a RHEL 6. Python version is 2.6.
> I started the server using
>
> $ service rabbitmq-server start
>
> and it prints "SUCCESS".
>
> There is no error or warning messages by running send.py and
> receive.py:
>
> $ python send.py
>  [x] Sent 'Hello World!'
>
> $ python receive.py
>  [*] Waiting for messages. To exit press CTRL+C
>
> Then it never prints "Hello World!".
>
> What's wrong with it?

It should work - receive.py should give you a message.

You need to figure out what's wrong - are you running
this on the same machine?

Try looking at rabbitmq-management plugin to see
if the queue was created, or run:
 sudo rabbitmqctl list_queues

Marek


More information about the rabbitmq-discuss mailing list