[rabbitmq-discuss] Clustering on Same Machine

Max Bridgewater max.bridgewater at gmail.com
Sat Feb 5 22:21:53 GMT 2011


Spot on!

Thanks Alex.

Max.

On Sat, Feb 5, 2011 at 5:13 PM, Alexandru Scvorţov
<alexandru at rabbitmq.com> wrote:
> Hi Max,
>
> That might be caused by stale mnesia databases in /var/lib/rabbitmq.
>
> Could you try to clean that directory (rm -rf /var/lib/rabbitmq/* should
> be enough) and try again?
>
> Note that this will remove any messages, queues, etc. from that machine.
>
> Cheers,
> Alex
>
> On Sat, Feb 05, 2011 at 02:40:31PM -0500, Max Bridgewater wrote:
>> Hi,
>>
>> For experimental purposes, I'm trying to create a cluster of three
>> nodes, all on the same machine. I can run the three nodes by setting
>> the value of NODE_COUNT to 3 in /etc/init.d/rabbitmq-server.
>> To create the cluster, I enter the following in /etc/rabbitmq/rabbitmq.config:
>>
>> [{rabbit, [{cluster_nodes,
>> ['rabbit at ip-10-196-18-9','rabbit_1 at ip-10-196-18-9','rabbit_2 at ip-10-196-18-9']}]}].
>>
>> Unfortunately, this doesn't work. Error message is: Starting
>> rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_log, _err
>>
>> The last line in the /var/log/rabbitmq/startup_log is below.
>>
>> Any idea?
>> Thanks,
>> Max.
>>
>> starting database    ...{"Kernel pid
>> terminated",application_controller,"{application_start_failure,rabbit,{bad_return,{{rabbit,start,[normal,[]]},
>> {'EXIT',{{case_clause,{error,{unable_to_join_cluster,['rabbit at ip-10-196-18-9','rabbit_1 at ip-10-196-18-9','rabbit_2 at ip-10-196-18-9'],{merge_schema_failed,
>> [66,97,100,32,99,111,111,107,105,101,32,105,110,32,116,97,98,108,101,32,100,101,102,105,110,105,116,105,111,110,32,114,97,98,98,105,116,95,
>> 117,115,101,114,95,112,101,114,109,105,115,115,105,111,110,58,32,39,114,97,98,98,105,116,95,49,64,105,112,45,49,48,45,49,57,54,45,49,56,45,57,
>> 39,32,61,32,123,99,115,116,114,117,99,116,44,114,97,98,98,105,116,95,117,115,101,114,95,112,101,114,109,105,115,115,105,111,110,44,115,101,
>> 116,44,91,93,44,91,39,114,97,98,98,105,116,95,49,64,105,112,45,49,48,45,49,57,54,45,49,56,45,57,39,93,44,91,93,44,48,44,
>> 114,101,97,100,95,119,114,105,116,101,44,91,93,44,91,93,44,102,97,108,115,101,44,117,115,101,114,95,112,101,114,109,105,115,115,105,111,110,44,91,117,115,101,114,95,118,
>> 104,111,115,116,44,112,101,114,109,105,115,115,105,111,110,93,44,91,93,44,91,93,44,123,123,49,50,57,54,44,57,50,50,54,50,51,44,56,49,48,53,56,52,125,44,39,114,97,
>> 98,98,105,116,95,49,64,105,112,45,49,48,45,49,57,54,45,49,56,45,57,39,125,44,123,123,50,44,48,125,44,91,93,125,125,44,32,39,114,97,98,98,105,116,64,105,112,
>> 45,49,48,45,49,57,54,45,49,56,45,57,39,32,61,32,123,99,115,116,114,117,99,116,44,114,97,98,98,105,116,95,117,115,101,114,95,112,101,114,109,105,115,115,
>> 105,111,110,44,115,101,116,44,91,93,44,91,39,114,97,98,98,105,116,64,105,112,45,49,48,45,49,57,54,45,49,56,45,57,39,93,44,91,93,44,48,44,114,101,97,100,95,
>> 119,114,105,116,101,44,91,93,44,91,93,44,102,97,108,115,101,
>> 44,117,115,101,114,95,112,101,114,109,105,115,115,105,111,110,44,91,117,115,101,114,95,118,104,111,115,116,44,112,101,114,109,105,115,115,105,
>> 111,110,93,44,91,93,44,91,93,44,123,123,49,50,57,54,44,57,50,49,56,48,57,44,50,57,53,54,51,53,125,44,39,114,97,98,98,105,116,64,105,112,45,49,48,45,49,57,54,45,49,
>> 56,45,57,39,125,44,123,123,50,44,48,125,44,91,93,125,125,10]}}}},[{rabbit,'-run_boot_step/1-lc$^1/1-1-',1},
>> {rabbit,run_boot_step,1},{rabbit,'-start/2-lc$^0/1-0-',1},{rabbit,start,2},{application_master,start_it_old,4}]}}}}}"}
>> _______________________________________________
>> 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