[rabbitmq-discuss] Rabbitmq Stomp error
Steve Powell
steve at rabbitmq.com
Tue Feb 14 16:06:04 GMT 2012
Ram,
It looks as though the mc-ping is negotiating a STOMP connection, but
RabbitMQ's-STOMP adapter doesn't seem to cope with checking the version; the
re:split() function may not exist in your version.
I'm not sure why this blows up -- but what version of Erlang are you running on?
My version prints out this in status:
{erlang_version, "Erlang R15B (erts-5.9) [source] [64-bit] [smp:8:8]
[async-threads:30] [hipe] [kernel-poll:true]\n"}
From your output I guess you are running R12B-3, and although we (just about)
support that for the server, the STOMP adapter needs the later re:split/2 function,
which is available in R12B-5 onwards (I think).
I'm not sure what distribution of Linux you are using, but take a look at our
page http://www.rabbitmq.com/which-erlang.html which has links to the
distribution pages and advice about which Erlang version you need. (It doesn't
mention the STOMP adapter, though, I notice.)
Steve Powell (a happy bunny)
----------some more definitions from the SPD----------
vermin (v.) Treating the dachshund for roundworm.
chinchilla (n.) Cooling device for the lower jaw.
socialcast (n.) Someone to whom everyone is speaking but nobody likes.
On 7 Feb 2012, at 12:57, Ram Chander wrote:
> Hi,
>
> I have configured rabbitmq+mcollective on a host with stomp. I see below error when tried to mc-ping. Any idea on what could be the issue ? Or is there a better way to setup mcollective with rabbitmq.
>
> # mc-ping
> /usr/sbin/mc-ping failed to run: incompatible marshal file format (can't be read)
> format version 4.8 required; 89.111 given (TypeError)
>
> # less /var/log/rabbitmq/rabbit at ops-build-1.log
>
> =ERROR REPORT==== 7-Feb-2012::18:21:54 ===
> STOMP error frame sent:
> Message: "Processing error"
> Detail: "Processing error\n"
> Server private detail: {undef,
> [{re,split,["1.0",",",[{return,list}]]},
> {rabbit_stomp_processor,negotiate_version,1},
> {rabbit_stomp_processor,
> '-process_connect/3-fun-0-',6},
> {rabbit_stomp_processor,process_request,3},
> {gen_server2,handle_msg,2},
> {proc_lib,init_p,5}]}
>
>
> # rabbitmqctl status
>
> Status of node 'rabbit at ops-build-1' ...
> [{pid,29332},
> {running_applications,
> [{rabbitmq_stomp,"Embedded Rabbit Stomp Adapter","2.7.1"},
> {rabbit,"RabbitMQ","2.7.1"},
> {mnesia,"MNESIA CXC 138 12","4.4.3"},
> {os_mon,"CPO CXC 138 46","2.1.6"},
> {sasl,"SASL CXC 138 11","2.1.5.3"},
> {amqp_client,"RabbitMQ AMQP Client","2.7.1"},
> {stdlib,"ERTS CXC 138 10","1.15.3"},
> {kernel,"ERTS CXC 138 10","2.12.3"}]},
> {os,{unix,linux}},
> {erlang_version,
> "Erlang (BEAM) emulator version 5.6.3 [source] [64-bit] [smp:8] [async-threads:30] [kernel-poll:true]\n"},
> {memory,
> [{total,32028218},
> {processes,10076904},
> {processes_used,10070256},
> {system,21951314},
> {atom,1068057},
> {atom_used,1054149},
> {binary,64614},
> {code,11843405},
> {ets,742608}]},
> {vm_memory_high_watermark,0.39999999995230406},
> {vm_memory_limit,3354584678}]
> ...done.
>
> # dpkg -l |grep stomp
> ii libstomp-ruby 1.0.4-3~bpo50+1 Ruby bindings for the stomp messaging protoc
> ii libstomp-ruby1.8 1.0.4-3~bpo50+1 Ruby 1.8 bindings for the stomp messaging pr
> ii libstomp-ruby1.9.1 1.0.4-3~bpo50+1 Ruby 1.9.1 bindings for the stomp messaging
>
>
> Regards,
> Ram
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
More information about the rabbitmq-discuss
mailing list