[rabbitmq-discuss] Using rabbitmq with cean erlang
Matthias Radestock
matthias at lshift.net
Sat Nov 3 10:41:02 GMT 2007
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.
More information about the rabbitmq-discuss
mailing list