Erlang Mailing Lists

Author Message

<  RabbitMQ mailing list  ~  Using rabbitmq with cean erlang

Guest
Posted: Fri Nov 02, 2007 10:18 pm Reply with quote
Guest
Hi,

I have installed the cean erlang package and rabbitmq from source. I
can start a broker with rabbitmq-server, but when I do rabbitmqctl
status, I get an error. Here is what I see:

Invalid command ["status","-s","cean","version"]
Usage: rabbitmqctl [-n <node>] <command> [<arg> ...]

I traced this down to the actuall erl bash script that invokes erl in
the cean distribution. The last line if this script has:

#$BINDIR/$cmd ${1+"$@"} -s cean version

So, you see that it is passing -s cean version to erlang as plain
arguments, which causes the pattern matching of the action function to
fail. Simply commenting out these extra arguments makes it work fine,
but this seems like a bug either in cean or rabbitmq.

I am new to erlang so it is not clear why -s cean version is being
passed to erlang. Should I keep using the cean dist or should I
switch to something else? Is there a better work around for this
issue?

Thanks!

Brian

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
Guest
Posted: Sat Nov 03, 2007 10:40 am Reply with quote
Guest
Brian,

Brian Granger wrote:
> Hi,
>
> I have installed the cean erlang package and rabbitmq from source. I
> can start a broker with rabbitmq-server, but when I do rabbitmqctl
> status, I get an error. Here is what I see:
>
> Invalid command ["status","-s","cean","version"]
> Usage: rabbitmqctl [-n <node>] <command> [<arg> ...]
>
> I traced this down to the actuall erl bash script that invokes erl in
> the cean distribution. The last line if this script has:
>
> #$BINDIR/$cmd ${1+"$@"} -s cean version
>
> So, you see that it is passing -s cean version to erlang as plain
> arguments, which causes the pattern matching of the action function to
> fail. Simply commenting out these extra arguments makes it work fine,
> but this seems like a bug either in cean or rabbitmq.
>
> I am new to erlang so it is not clear why -s cean version is being
> passed to erlang. Should I keep using the cean dist or should I
> switch to something else? Is there a better work around for this
> issue?

That cean command line looks strange.

If it's not too much trouble for you I'd recommend using the stock
Erlang distribution.

Meanwhile, if anybody on the list has experience with cean I'd
appreciate their insight on why this error might be happening (and,
indeed, why it doesn't happen for rabbitmq-server).


Matthias.

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist

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