[rabbitmq-discuss] rabbitmq-discuss Digest, Vol 25, Issue 54

Panayiotis Papadopoulos panosjee at gmail.com
Wed Jun 24 23:27:47 BST 2009


Please ignore my message, I fixed it. Thank you for your time

On Wed, Jun 24, 2009 at 3:25 PM, <
rabbitmq-discuss-request at lists.rabbitmq.com> wrote:

> Send rabbitmq-discuss mailing list submissions to
>        rabbitmq-discuss at lists.rabbitmq.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> or, via email, send a message with subject or body 'help' to
>        rabbitmq-discuss-request at lists.rabbitmq.com
>
> You can reach the person managing the list at
>        rabbitmq-discuss-owner at lists.rabbitmq.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of rabbitmq-discuss digest..."
>
>
> Today's Topics:
>
>   1. Re: 0-9-1 Coming Soon (Was: Roadmap Questions) (celldee)
>   2. Re: 0-9-1 Coming Soon (Was: Roadmap Questions) (Holger Hoffst?tte)
>   3. Re: my gen_fsm's supervisor getting channel       'DOWN' messages
>      (Ben Hood)
>   4. problems with rabbitmqctl & rabbitmq-server on    RHEL5
>      (Sho Fukamachi)
>   5. Max OS X failure on start up / Trivial (Panayiotis Papadopoulos)
>   6. Re: AMQP 0.9 CLI client (Alexis Richardson)
>   7. Re: AMQP 0.9 CLI client (Peter Fischer (gb consite GmbH))
>   8. Re: 0-9-1 Coming Soon (Was: Roadmap Questions)
>      (Tony Garnock-Jones)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 24 Jun 2009 09:16:51 -0700 (PDT)
> From: celldee <celldee at gmail.com>
> Subject: Re: [rabbitmq-discuss] 0-9-1 Coming Soon (Was: Roadmap
>        Questions)
> To: rabbitmq-discuss at lists.rabbitmq.com
> Message-ID:
>        <2a70b2e4-51d2-4bfa-b4ac-1d6c24378261 at f33g2000vbm.googlegroups.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Tony,
>
> On Jun 22, 5:20?pm, Tony Garnock-Jones <to... at lshift.net> wrote:
> > Please try the "amqp_0_9_1" branch(es). You'll need both
> > rabbitmq-codegen and rabbitmq-server from mercurial, both on the
> > "amqp_0_9_1" branch.
> >
> > I'm very keen to hear how you get on! :-) Bug reports especially welcome.
> >
> > We periodically merge the "default" branch into the "amqp_0_9_1" branch,
> > so that it tracks (roughly) the ongoing development and bugfixing work
> > from the mainline (0-8) release.
> >
>
> Pardon my ignorance, but how do I get hold of the "amqp_0_9_1" branch?
> I've looked at http://hg.rabbitmq.com/rabbitmq-server but the
> whereabouts of the "amqp_0_9_1" branch is not apparent to me.
>
> Regards,
>
> Chris
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 24 Jun 2009 18:42:22 +0200
> From: Holger Hoffst?tte <holger.hoffstaette at googlemail.com>
> Subject: Re: [rabbitmq-discuss] 0-9-1 Coming Soon (Was: Roadmap
>        Questions)
> To: rabbitmq-discuss at lists.rabbitmq.com
> Message-ID: <4A42576E.3020601 at googlemail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> celldee wrote:
> > Pardon my ignorance, but how do I get hold of the "amqp_0_9_1" branch?
> > I've looked at http://hg.rabbitmq.com/rabbitmq-server but the
> > whereabouts of the "amqp_0_9_1" branch is not apparent to me.
>
> All explained at http://www.rabbitmq.com/mercurial.html
>
> hg clone http://hg.rabbitmq.com/rabbitmq-server
> cd rabbitmq-server
> hg up amqp_0_9_1
>
> -h
>
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 24 Jun 2009 17:45:36 +0100
> From: Ben Hood <0x6e6562 at gmail.com>
> Subject: Re: [rabbitmq-discuss] my gen_fsm's supervisor getting
>        channel 'DOWN' messages
> To: Jack Moffitt <jack at collecta.com>
> Cc: rabbitmq <rabbitmq-discuss at lists.rabbitmq.com>
> Message-ID:
>        <269388e30906240945j4c3b515bmd3d9e1871e1d3d6 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Jack,
>
> On Mon, Jun 22, 2009 at 12:55 AM, Jack Moffitt<jack at collecta.com> wrote:
> > I have a gen_fsm that monitors a rabbitmq queue. ?Everything works
> > fine unti lthere is an error.
> >
> > When I connect and open the channel, I put a monitor on it so that I
> > get a 'DOWN' message when the channel dies. ?Before I down the channel
> > myself, I always demonitor the reference.
> >
> > Unfortunately, for some reason whenever I close the channel and
> > connection, the supervisor starts trying to shut down my process. ?I'm
> > opening the connection with start() not start_link(), so I don't
> > understand why my supervisor is being notified about AMQP connection
> > process states.
> >
> > This is actually causing us serious problems because Erlang
> > supervisors can't do backoff, so this usually results in the
> > supervisor exceeding the restart limits and terminating the whole
> > application.
>
> Alexis has brought this to my attention, and I gather that there has
> been some initial discourse, but unfortunately I don't have anything
> with which I can diagnose the issue.
>
> Is it possible for you to send a cut down version of some code that
> provokes this symptom and also the log or error output that it
> produces for you?
>
> Thx,
>
> Ben
>
>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 25 Jun 2009 04:42:29 +1000
> From: Sho Fukamachi <sho.fukamachi at gmail.com>
> Subject: [rabbitmq-discuss] problems with rabbitmqctl &
>        rabbitmq-server on      RHEL5
> To: rabbitmq <rabbitmq-discuss at lists.rabbitmq.com>
> Message-ID: <159D09A4-6499-40D2-9CA0-3971A7F36AAF at gmail.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> Hi list,
>
> I've had some issues with rabbitmq on x86_64 RHEL5. At first I had a
> problem not being able to run it at all, but tracked down the problem
> to conflicting (i386/x86_64) erlang installs. I can now start and
> connect to the server using the init.d scripts. I mention that just
> for background.
>
> However, when trying to run anything from the command line, things go
> a bit pear-shaped. Here's the system:
>
> RHEL 5.2 ( I think ..)
> erlang.x86_64 R12B-5.6.el5.1
> rabbitmq-server-1.6.0-1.x86_64.rpm (downloaded from web page and
> installed via rpm)
>
> Try to run rabbitmqctl:
>
> # rabbitmqctl status
> {"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
> init terminating in do_boot ()
>
> That crash dump is very long and, to me, utterly incomprehensible.
> Running rabbitmq-server gets a similar result:
>
> # /usr/sbin/rabbitmq-server
> {"init terminating in do_boot",{undef,[{rabbit,start,[]},
> {init,start_it,1},{init,start_em,1}]}}
>
> Crash dump was written to: erl_crash.dump
> init terminating in do_boot ()
>
> Even though it runs fine from the init script:
>
> # service start rabbitmq-server
>  > Starting rabbitmq-server: SUCCESS
>
> I've been tinkering and playing around but can't figure it out. Any
> clues? It's not a showstopper, rabbitmq's running fine from the
> scripts, just wondering what it could be and not familiar enough with
> the erlang environment to put my finger on it.
>
> Thanks a lot,
>
> Sho
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 24 Jun 2009 13:40:03 -0700
> From: Panayiotis Papadopoulos <panosjee at gmail.com>
> Subject: [rabbitmq-discuss] Max OS X failure on start up / Trivial
> To: rabbitmq-discuss at lists.rabbitmq.com
> Message-ID:
>        <2c6a2a5a0906241340t2c7b1392mf6c62352f16affb3 at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi everyone, I know it is trivial but I could not do anything so far, i
> guess cos i am a noob in ErlangAnyway 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
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090624/9bb4cdfa/attachment-0001.htm
>
> ------------------------------
>
> Message: 6
> Date: Wed, 24 Jun 2009 21:46:47 +0100
> From: Alexis Richardson <alexis.richardson at gmail.com>
> Subject: Re: [rabbitmq-discuss] AMQP 0.9 CLI client
> To: Tony Garnock-Jones <tonyg at lshift.net>
> Cc: rabbitmq-discuss at lists.rabbitmq.com
> Message-ID:
>        <167204d20906241346y64afc1aflc45c4b58018f4cf4 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> I'm cross-posting an off list question - and Peter's reply - back
> here.  Suggestions welcome :-)
>
>
>
> > Do you mean a C client, or a command line interface?
>
> Yes, I meant a command line interface.
>
> I have somehow "inherited" an application, and parts of it are written
> in bash.
>
> All I need is to make it consume job-IDs from a queue and provide result
> codes to a queue, then I could a) reuse that old report generation
> stack, and b) I would be able to control it in an asynchrounous way.
>
> That would provide me with spare time to improve the overall design of
> the application one modeule at a time.
>
> Hence my question for a tiny little something like /usr/bin/amqp which
> fits in a shell script.
>
> -----
>
>
>
>
>
>
> On Mon, Jun 22, 2009 at 4:58 PM, Tony Garnock-Jones<tonyg at lshift.net>
> wrote:
> > Peter Fischer (gb consite GmbH) wrote:
> >> It seems to me that there is no binary executable CLI client availible
> >
> > Try rabbitmq-c:
> >
> > hg clone http://hg.rabbitmq.com/rabbitmq-codegen
> > hg clone http://hg.rabbitmq.com/rabbitmq-c
> > cd rabbitmq-c
> > autoreconf -i
> > ./configure
> > make
> > ./examples/amqp_listen dev.rabbitmq.com 5672 amq.rabbitmq.log error
> >
> > There are other examples in the ./examples directory.
> >
> > Regards,
> > ?Tony
> > --
> > ?[][][] Tony Garnock-Jones ? ? | Mob: +44 (0)7905 974 211
> > ? [][] LShift Ltd ? ? ? ? ? ? | Tel: +44 (0)20 7729 7060
> > ?[] ?[] http://www.lshift.net/ | Email: tonyg at lshift.net
> >
> > _______________________________________________
> > rabbitmq-discuss mailing list
> > rabbitmq-discuss at lists.rabbitmq.com
> > http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> >
>
>
>
> ------------------------------
>
> Message: 7
> Date: Wed, 24 Jun 2009 22:55:45 +0200
> From: "Peter Fischer (gb consite GmbH)" <peter.fischer at gbconsite.de>
> Subject: Re: [rabbitmq-discuss] AMQP 0.9 CLI client
> To: Tony Garnock-Jones <tonyg at lshift.net>
> Cc: rabbitmq-discuss at lists.rabbitmq.com
> Message-ID: <4A4292D1.7010905 at gbconsite.de>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Just tried to build this, compile worked, playing/learning starts
> tomorrow (it's almost 11pm over here).
>
> Who ever wants to try this:
>
> apt-get install mercurial autoconf automake1.9 libtool python-simplejson
>
> *before* Tony's little howto will help.
>
> Cheers,
>     Peter
>
> Tony Garnock-Jones schrieb:
> > Peter Fischer (gb consite GmbH) wrote:
> >
> >> It seems to me that there is no binary executable CLI client availible
> >>
> >
> > Try rabbitmq-c:
> >
> > hg clone http://hg.rabbitmq.com/rabbitmq-codegen
> > hg clone http://hg.rabbitmq.com/rabbitmq-c
> > cd rabbitmq-c
> > autoreconf -i
> > ./configure
> > make
> > ./examples/amqp_listen dev.rabbitmq.com 5672 amq.rabbitmq.log error
> >
> > There are other examples in the ./examples directory.
> >
> > Regards,
> >   Tony
> >
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090624/a2f8a1ee/attachment-0001.htm
>
> ------------------------------
>
> Message: 8
> Date: Wed, 24 Jun 2009 23:25:19 +0100
> From: Tony Garnock-Jones <tonyg at lshift.net>
> Subject: Re: [rabbitmq-discuss] 0-9-1 Coming Soon (Was: Roadmap
>        Questions)
> To: celldee <celldee at gmail.com>
> Cc: rabbitmq-discuss at lists.rabbitmq.com
> Message-ID: <4A42A7CF.3060507 at lshift.net>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Chris,
>
> celldee wrote:
> > Pardon my ignorance, but how do I get hold of the "amqp_0_9_1" branch?
> > I've looked at http://hg.rabbitmq.com/rabbitmq-server but the
> > whereabouts of the "amqp_0_9_1" branch is not apparent to me.
>
> Here's an example that checks out the server, the code generator, and
> the C client, switches the checkouts to the amqp_0_9_1 branch, builds
> them, and runs the examples:
>
> # Check out the code
> hg clone http://hg.rabbitmq.com/rabbitmq-codegen
> hg clone http://hg.rabbitmq.com/rabbitmq-server
> hg clone http://hg.rabbitmq.com/rabbitmq-c
>
> # Switch to amqp_0_9_1 branches
> (cd rabbitmq-codegen; hg up amqp_0_9_1)
> (cd rabbitmq-server; hg up amqp_0_9_1)
> (cd rabbitmq-c; hg up amqp_0_9_1)
>
> # Build and start the server
> make -C rabbitmq-server run
>
> # Build the C client examples
> (cd rabbitmq-c; autoreconf -i)
> (cd rabbitmq-c; ./configure)
> (cd rabbitmq-c; make)
>
> # Run a listener
> ./rabbitmq-c/examples/amqp_listen localhost 5672 amq.direct foo
>
> # Send a couple of test messages (from another window)
> ./rabbitmq-c/examples/amqp_sendstring localhost 5672 amq.direct foo 1
> ./rabbitmq-c/examples/amqp_sendstring localhost 5672 amq.direct foo 2
> ./rabbitmq-c/examples/amqp_sendstring localhost 5672 amq.direct foo 3
>
>
> Regards,
>   Tony
>
>
>
> ------------------------------
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
> End of rabbitmq-discuss Digest, Vol 25, Issue 54
> ************************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090624/3621e6c5/attachment.htm 


More information about the rabbitmq-discuss mailing list