Hey again,<div><br></div><div>Great news! It's all now working :) This is the combination of items I had to use in the end:</div><div><br></div><div><div><b>Erlang: </b>Erlang R14A (erts-5.8) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:0] [hipe] [kernel-poll:false]</div>
<div><b>Python Celery: </b>celery-2.0.2-py2.6</div><div><b>Python Django Celery: </b>django_celery-2.0.2-py2.6</div><div><b>Python Django: </b>Django-1.2.1-py2.6</div><div><b>RabbitMQ:</b> Latest as of 18th August 2010 (AMQP 0-9-1 / 0-9 / 0-8)</div>
<div><br></div><div>Also, this next bit is slightly off topic but, to make the latest version of RabbitMQ work nicely with Celery, the set_permissions method stated in the documentation of Celery is wrong.. </div><div><br>
</div><div><b>Correct:</b> ./rabbitmqctl set_permissions -p vhost username ".*" ".*" ".*"</div><div><b>Wrong:</b> ./rabbitmqctl set_permissions -p vhost username "" ".*" ".*"</div>
<div><br></div><div>I really hope this helps someone, as it's taken me 2-3 days to figure this out.</div><div><br></div><div>Thanks again to Matthew for pointing out the re:split problem!</div><div><br></div><div>Cheers</div>
<div><br></div><div>Cal</div><div><br></div><div class="gmail_quote">On Thu, Aug 19, 2010 at 12:53 PM, Cal Leeming [Simplicity Media Ltd] <span dir="ltr"><<a href="mailto:cal.leeming@simplicitymedialtd.co.uk">cal.leeming@simplicitymedialtd.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi again,<div><br></div><div>Looks like you were right Matthew. It would seem V5.6.3 is no longer adequate for RabbitMQ to function properly. For anyone else who runs into this problem with Celery/Django Celery along side RabbitMQ, you have to make sure you are running a newer version of Erlang (I'm now using 5.8) along with the latest export of RabbitMQ.</div>
<div><br></div><div>I'll let you know if this resolves all the bugs..</div><div><br></div><div>Cheers</div><div><br></div><div>Cal</div><div><br></div><div><div class="im"><div> <a href="mailto:root@mail01.dmemedialtd.com" target="_blank">root@mail01.dmemedialtd.com</a> [~] > erl</div>
<div>Erlang (BEAM) emulator version 5.6.3 [source] [64-bit] [smp:2] [async-threads:0] [kernel-poll:false]</div><div><br></div><div>Eshell V5.6.3 (abort with ^G)</div></div><div>1> re:split("Erlang","[ln]",[{return,list}]).</div>
<div class="im">
<div>** exception error: undefined function re:split/3</div><div><br></div></div><div><div> <a href="mailto:root@mail01.dmemedialtd.com" target="_blank">root@mail01.dmemedialtd.com</a> [~/otp_src_R14A] > ./bin/erl</div>
<div>Erlang R14A (erts-5.8) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:0] [hipe] [kernel-poll:false]</div>
<div><br></div><div>Eshell V5.8 (abort with ^G)</div><div>1> re:split("Erlang","[ln]",[{return,list}]).</div><div>["Er","a","g"]</div><div>2></div></div><div><div>
</div><div class="h5"><div><br></div>
<div><br></div><br><div class="gmail_quote">On Thu, Aug 19, 2010 at 12:51 PM, Cal Leeming [Simplicity Media Ltd] <span dir="ltr"><<a href="mailto:cal.leeming@simplicitymedialtd.co.uk" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey guys,<div><br></div><div>Looks like I found the offending change.. I'm attempting to compile a newer version of Erlang now to see if this resolves the problem. </div>
<div><br></div><div><span style="font-family:sans-serif;font-size:12px"><pre style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><font color="#008800" face="sans-serif"><span style="white-space:normal"><font face="monospace"><span style="white-space:pre-wrap"><span style="color:rgb(0, 0, 0);font-family:sans-serif;white-space:normal"><div style="display:block;padding-top:6px;padding-right:8px;padding-bottom:6px;padding-left:8px;font-weight:bold;background-color:rgb(237, 236, 230);text-decoration:none;color:rgb(0, 0, 0)">
src/rabbit_exchange_type_topic.erl</div><table style="padding-top:8px;padding-right:4px;padding-bottom:8px;padding-left:4px"><tbody><tr><td style="padding-top:2px;padding-right:5px;padding-bottom:2px;padding-left:5px;font-size:12px;vertical-align:top">
branch</td><td style="padding-top:2px;padding-right:5px;padding-bottom:2px;padding-left:5px;font-size:12px;vertical-align:top">bug23138</td></tr><tr><td style="padding-top:2px;padding-right:5px;padding-bottom:2px;padding-left:5px;font-size:12px;vertical-align:top">
changeset 4513</td><td style="padding-top:2px;padding-right:5px;padding-bottom:2px;padding-left:5px;font-size:12px;vertical-align:top;font-family:monospace"><a href="http://hg.rabbitmq.com/rabbitmq-server/rev/6c99455ffbc1" style="color:rgb(0, 0, 0);text-decoration:none" target="_blank">6c99455ffbc1</a></td>
</tr><tr><td style="padding-top:2px;padding-right:5px;padding-bottom:2px;padding-left:5px;font-size:12px;vertical-align:top">parent 3982</td><td style="padding-top:2px;padding-right:5px;padding-bottom:2px;padding-left:5px;font-size:12px;vertical-align:top;font-family:monospace">
<a href="http://hg.rabbitmq.com/rabbitmq-server/diff/ce8aaaaaa101/src/rabbit_exchange_type_topic.erl" style="color:rgb(0, 0, 0);text-decoration:none" target="_blank">ce8aaaaaa101</a></td></tr></tbody></table><div style="padding-top:6px;padding-right:8px;padding-bottom:4px;padding-left:8px;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:rgb(217, 216, 209);border-right-color:rgb(217, 216, 209);border-bottom-color:rgb(217, 216, 209);border-left-color:rgb(217, 216, 209);border-width:initial;border-top-width:1px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;font-style:italic">
</div><div style="padding-top:8px;padding-right:8px;padding-bottom:8px;padding-left:8px"><pre style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="color:rgb(204, 0, 0)"><a href="http://hg.rabbitmq.com/rabbitmq-server/diff/6c99455ffbc1/src/rabbit_exchange_type_topic.erl#l1" style="color:rgb(153, 153, 153);text-decoration:none" target="_blank"> 1</a> --- a/src/rabbit_exchange_type_topic.erl        Fri Jul 09 12:59:30 2010 +0100
</span><span style="color:rgb(0, 136, 0)"><a href="http://hg.rabbitmq.com/rabbitmq-server/diff/6c99455ffbc1/src/rabbit_exchange_type_topic.erl#l2" style="color:rgb(153, 153, 153);text-decoration:none" target="_blank"> 2</a> +++ b/src/rabbit_exchange_type_topic.erl        Thu Aug 19 12:28:48 2010 +0100
</span><span style="color:rgb(153, 0, 153)"><a href="http://hg.rabbitmq.com/rabbitmq-server/diff/6c99455ffbc1/src/rabbit_exchange_type_topic.erl#l3" style="color:rgb(153, 153, 153);text-decoration:none" target="_blank"> 3</a> @@ -67,8 +67,7 @@
</span><span><a href="http://hg.rabbitmq.com/rabbitmq-server/diff/6c99455ffbc1/src/rabbit_exchange_type_topic.erl#l4" style="color:rgb(153, 153, 153);text-decoration:none" target="_blank"> 4</a> Delivery).
</span><span><a href="http://hg.rabbitmq.com/rabbitmq-server/diff/6c99455ffbc1/src/rabbit_exchange_type_topic.erl#l5" style="color:rgb(153, 153, 153);text-decoration:none" target="_blank"> 5</a>
</span><span><a href="http://hg.rabbitmq.com/rabbitmq-server/diff/6c99455ffbc1/src/rabbit_exchange_type_topic.erl#l6" style="color:rgb(153, 153, 153);text-decoration:none" target="_blank"> 6</a> split_topic_key(Key) ->
</span><span style="color:rgb(204, 0, 0)"><a href="http://hg.rabbitmq.com/rabbitmq-server/diff/6c99455ffbc1/src/rabbit_exchange_type_topic.erl#l7" style="color:rgb(153, 153, 153);text-decoration:none" target="_blank"> 7</a> - KeySplit = re:split(Key, "\\.", [{return, list}]),
</span><span style="color:rgb(204, 0, 0)"><a href="http://hg.rabbitmq.com/rabbitmq-server/diff/6c99455ffbc1/src/rabbit_exchange_type_topic.erl#l8" style="color:rgb(153, 153, 153);text-decoration:none" target="_blank"> 8</a> - KeySplit.
</span><span style="color:rgb(0, 136, 0)"><a href="http://hg.rabbitmq.com/rabbitmq-server/diff/6c99455ffbc1/src/rabbit_exchange_type_topic.erl#l9" style="color:rgb(153, 153, 153);text-decoration:none" target="_blank"> 9</a> + re:split(Key, "\\.", [{return, list}]).
</span><span><a href="http://hg.rabbitmq.com/rabbitmq-server/diff/6c99455ffbc1/src/rabbit_exchange_type_topic.erl#l10" style="color:rgb(153, 153, 153);text-decoration:none" target="_blank"> 10</a>
</span><span><a href="http://hg.rabbitmq.com/rabbitmq-server/diff/6c99455ffbc1/src/rabbit_exchange_type_topic.erl#l11" style="color:rgb(153, 153, 153);text-decoration:none" target="_blank"> 11</a> topic_matches(PatternKey, RoutingKey) ->
</span><span><a href="http://hg.rabbitmq.com/rabbitmq-server/diff/6c99455ffbc1/src/rabbit_exchange_type_topic.erl#l12" style="color:rgb(153, 153, 153);text-decoration:none" target="_blank"> 12</a> P = split_topic_key(PatternKey),
</span></pre></div><div style="padding-top:4px;padding-right:8px;padding-bottom:4px;padding-left:8px;background-color:rgb(217, 216, 209)"></div></span></span></font></span></font></pre></span><div><div></div><div>
<br>
<div class="gmail_quote">On Thu, Aug 19, 2010 at 1:56 AM, Cal Leeming [Simplicity Media Ltd] <span dir="ltr"><<a href="mailto:cal.leeming@simplicitymedialtd.co.uk" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Cal Leeming [Simplicity Media Ltd]</b> <span dir="ltr"><<a href="mailto:cal.leeming@simplicitymedialtd.co.uk" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a>></span><br>
Date: Thu, Aug 19, 2010 at 1:56 AM<br>Subject: Re: [rabbitmq-discuss] Problems with RabbitMQ not responding on channel request<br>To: "Cal Leeming [Simplicity Media Ltd]" <<a href="mailto:cal.leeming@simplicitymedialtd.co.uk" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a>>, <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<br><br>Hey Matthew,<div><br></div><div>As far as I know, there is only a single instance of Erlang installed on the server.</div><div><br></div><div>However, I think it's safe to assume that I am probably doing something wrong when compiling the RabbitMQ from scratch, so I'm going to have another play around and see if I can figure out what is happening.</div>
<div><br></div><div>Thank you for all your help :)</div><div><br></div><font color="#888888"><div>Cal</div></font><div><div><div></div><div><br><div class="gmail_quote">On Thu, Aug 19, 2010 at 1:42 AM, Matthew Sackman <span dir="ltr"><<a href="mailto:matthew@rabbitmq.com" target="_blank">matthew@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Thu, Aug 19, 2010 at 01:36:33AM +0100, Cal Leeming [Simplicity Media Ltd] wrote:<br>
> Also, now that I reverted back to the original RabbitMQ (1.8.1-1), the re<br>
> bug disappears...<br>
<br>
</div>That's very odd - as far as I'm aware, there are no changes between<br>
1.8.1 and default regarding the use of regexp versus the re module (the<br>
re module is the replacement for the new deprecated regexp module). I<br>
wonder if this points more to different multiple versions of erlang<br>
installed on your system - thus when you run and compile rabbit from<br>
source it picks up something different to if you use the binary. Any<br>
chance of that happening?<br>
<br>
I would have thought a ps ax | grep rabbit for each case should be<br>
enough to see what's different.<br>
<font color="#888888"><br>
Matthew<br>
</font></blockquote></div><br><br clear="all"><br></div></div><div>-- <br><p style="color:rgb(0, 51, 102);font-weight:bold"><span style="border-collapse:separate;font-family:arial;line-height:normal;font-size:small">Cal Leeming</span></p>
<p style="color:rgb(0, 51, 102);font-weight:bold">Operational Security & Support Team<br></p><p style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:25px"><b>Out of Hours: </b>+44 (07534) 971120 | <b>Support Tickets: </b><a href="mailto:support@simplicitymedialtd.co.uk" style="color:rgb(49, 132, 173)" target="_blank">support@simplicitymedialtd.co.uk</a> <br>
<b>Fax: </b>+44 (02476) 578987 | <b>Email: </b><a href="mailto:cal.leeming@simplicitymedialtd.co.uk" style="color:rgb(49, 132, 173)" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a> </p><div><span style="line-height:13px;font-size:10px;color:rgb(185, 184, 184)">Simplicity Media Ltd. All rights reserved.<br>
</span></div><div><span style="line-height:13px;font-size:10px;color:rgb(185, 184, 184)">Registered company number 7143564<span></span><span></span></span></div><br>
</div></div>
</div><br><br clear="all"><br>-- <br><p style="color:rgb(0, 51, 102);font-weight:bold"><span style="border-collapse:separate;font-family:arial;line-height:normal;font-size:small">Cal Leeming</span></p><p style="color:rgb(0, 51, 102);font-weight:bold">
Operational Security & Support Team<br></p><p style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:25px"><b>Out of Hours: </b>+44 (07534) 971120 | <b>Support Tickets: </b><a href="mailto:support@simplicitymedialtd.co.uk" style="color:rgb(49, 132, 173)" target="_blank">support@simplicitymedialtd.co.uk</a> <br>
<b>Fax: </b>+44 (02476) 578987 | <b>Email: </b><a href="mailto:cal.leeming@simplicitymedialtd.co.uk" style="color:rgb(49, 132, 173)" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a> </p><div><span style="line-height:13px;font-size:10px;color:rgb(185, 184, 184)">Simplicity Media Ltd. All rights reserved.<br>
</span></div><div><span style="line-height:13px;font-size:10px;color:rgb(185, 184, 184)">Registered company number 7143564<span></span><span></span></span></div><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><p style="color:rgb(0, 51, 102);font-weight:bold"><span style="border-collapse:separate;font-family:arial;line-height:normal;font-size:small">Cal Leeming</span></p>
<p style="color:rgb(0, 51, 102);font-weight:bold">Operational Security & Support Team<br></p><p style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:25px"><b>Out of Hours: </b>+44 (07534) 971120 | <b>Support Tickets: </b><a href="mailto:support@simplicitymedialtd.co.uk" style="color:rgb(49, 132, 173)" target="_blank">support@simplicitymedialtd.co.uk</a> <br>
<b>Fax: </b>+44 (02476) 578987 | <b>Email: </b><a href="mailto:cal.leeming@simplicitymedialtd.co.uk" style="color:rgb(49, 132, 173)" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a> </p><div><span style="line-height:13px;font-size:10px;color:rgb(185, 184, 184)">Simplicity Media Ltd. All rights reserved.<br>
</span></div><div><span style="line-height:13px;font-size:10px;color:rgb(185, 184, 184)">Registered company number 7143564<span></span><span></span></span></div><br>
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><p style="color:rgb(0, 51, 102);font-weight:bold"><span style="border-collapse:separate;font-family:arial;line-height:normal;font-size:small">Cal Leeming</span></p><p style="color:rgb(0, 51, 102);font-weight:bold">
Operational Security & Support Team<br></p><p style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:25px"><b>Out of Hours: </b>+44 (07534) 971120 | <b>Support Tickets: </b><a href="mailto:support@simplicitymedialtd.co.uk" style="color:rgb(49, 132, 173)" target="_blank">support@simplicitymedialtd.co.uk</a> <br>
<b>Fax: </b>+44 (02476) 578987 | <b>Email: </b><a href="mailto:cal.leeming@simplicitymedialtd.co.uk" style="color:rgb(49, 132, 173)" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a> </p><div><span style="line-height:13px;font-size:10px;color:rgb(185, 184, 184)">Simplicity Media Ltd. All rights reserved.<br>
</span></div><div><span style="line-height:13px;font-size:10px;color:rgb(185, 184, 184)">Registered company number 7143564<span></span><span></span></span></div><br>
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><p style="color:rgb(0, 51, 102);font-weight:bold"><span style="border-collapse:separate;font-family:arial;line-height:normal;font-size:small">Cal Leeming</span></p><p style="color:rgb(0, 51, 102);font-weight:bold">
Operational Security & Support Team<br></p><p style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:25px"><b>Out of Hours: </b>+44 (07534) 971120 | <b>Support Tickets: </b><a href="mailto:support@simplicitymedialtd.co.uk" style="color:rgb(49, 132, 173)" target="_blank">support@simplicitymedialtd.co.uk</a> <br>
<b>Fax: </b>+44 (02476) 578987 | <b>Email: </b><a href="mailto:cal.leeming@simplicitymedialtd.co.uk" style="color:rgb(49, 132, 173)" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a> </p><div><span style="line-height:13px;font-size:10px;color:rgb(185, 184, 184)">Simplicity Media Ltd. All rights reserved.<br>
</span></div><div><span style="line-height:13px;font-size:10px;color:rgb(185, 184, 184)">Registered company number 7143564<span></span><span></span></span></div><br>
</div>