<font face="arial" size="2"><p style="margin:0;padding:0;font-family: arial; font-size: 10pt;">eessh... too easy!! hehe...</p>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt;"> </p>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt;">Actually there were a number of errors and the dot was missing because the config was failing before it got to the end...</p>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt;"> </p>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt;">here is my "working copy"... setting "Binary" attribute in TCP was one of the problems..</p>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt;"> </p>
<p style="margin:0;padding:0;">
<p style="margin:0;padding:0;"><span style="font-family: arial; font-size: 10pt;">[</span></p>
<p style="margin:0;padding:0;"><span style="font-family: arial; font-size: 10pt;"> {mnesia, [{dump_log_write_threshold, 1000}]},</span></p>
<p style="margin:0;padding:0;"><span style="font-family: arial; font-size: 10pt;"><span style="white-space: pre;"> </span>{tcp_listen_options, [{packet, raw},</span></p>
<p style="margin:0;padding:0;"><span style="font-family: arial; font-size: 10pt;"> {reuseaddr, true},</span></p>
<p style="margin:0;padding:0;"><span style="font-family: arial; font-size: 10pt;"> {backlog, 128},</span></p>
<p style="margin:0;padding:0;"><span style="font-family: arial; font-size: 10pt;"> {nodelay, true},</span></p>
<p style="margin:0;padding:0;"><span style="font-family: arial; font-size: 10pt;"> {exit_on_close, false},</span></p>
<p style="margin:0;padding:0;"><span style="font-family: arial; font-size: 10pt;"> {keepalive, true}]}</span></p>
<p style="margin:0;padding:0;"><span style="font-family: arial; font-size: 10pt;"> ].</span></p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;"><span style="font-family: arial; font-size: 10pt;"><br /></span></p>
</p>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt;"> </p>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt;">-----Original Message-----<br />From: "Matthias Reik" <matthias.reik@gmail.com><br />Sent: Tuesday, August 28, 2012 12:20pm<br />To: "Discussions about RabbitMQ" <rabbitmq-discuss@lists.rabbitmq.com><br />Subject: Re: [rabbitmq-discuss] rabbitmq.config location and link<br /><br /></p>
<div id="SafeStyles1346171912" style="font-family: arial; font-size: 10pt;">
<p style="margin:0;padding:0;">The error message says it all :-)<br /><br />You should (without looking any further through your config) add a dot at the end of your config, we have for example something like this:<br />[ {rabbit, [{vm_memory_high_watermark, 0.5}] } ].<br /><br />Note the dot at the end. This is a Erlang weirdness (actually end of instruction, like the ';' in other programming languages)<br /><br />Hope that helps<br /><br />Cheers<br />Matthias<br /><br /><br /><br /></p>
<div class="gmail_quote">On Tue, Aug 28, 2012 at 5:28 PM, <span dir="ltr"><<a href="mailto:m.luchak@smartasking.com" target="_blank">m.luchak@smartasking.com</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;"><span style="font-family: arial;">
<p style="margin:0;padding:0;margin: 0; padding: 0; font-family: arial; font-size: 10pt;">nevermind... got it to load on start... but I have an error in the file</p>
<p style="margin:0;padding:0;margin: 0; padding: 0; font-family: arial; font-size: 10pt;">"(error in config file "/etc/rabbitmq/rabbitmq.config" (none): no ending <dot> found)"</p>
<p style="margin:0;padding:0;margin: 0; padding: 0; font-family: arial; font-size: 10pt;"> </p>
<p style="margin:0;padding:0;margin: 0; padding: 0; font-family: arial; font-size: 10pt;">here's my .config... can someone tell me what I've missed? A dot at the end ;)? Do I need a complet .config or is it ok to just define the tcp settings..?</p>
<p style="margin:0;padding:0;margin: 0; padding: 0; font-family: arial; font-size: 10pt;"> </p>
<p style="margin:0;padding:0;margin: 0; padding: 0;"> </p>
<p style="margin:0;padding:0;margin: 0; padding: 0;"><span style="font-family: arial; font-size: 10pt;">[{tcp_listen_options, [binary,</span></p>
<p style="margin:0;padding:0;margin: 0; padding: 0;"><span style="font-family: arial; font-size: 10pt;"> {packet, raw},</span></p>
<p style="margin:0;padding:0;margin: 0; padding: 0;"><span style="font-family: arial; font-size: 10pt;"> {reuseaddr, true},</span></p>
<p style="margin:0;padding:0;margin: 0; padding: 0;"><span style="font-family: arial; font-size: 10pt;"> {backlog, 128},</span></p>
<p style="margin:0;padding:0;margin: 0; padding: 0;"><span style="font-family: arial; font-size: 10pt;"> {nodelay, true},</span></p>
<p style="margin:0;padding:0;margin: 0; padding: 0;"><span style="font-family: arial; font-size: 10pt;"> {exit_on_close, false},</span></p>
<p style="margin:0;padding:0;margin: 0; padding: 0;"><span style="font-family: arial; font-size: 10pt;"> {keepalive, true}]},</span></p>
<p style="margin:0;padding:0;margin: 0; padding: 0;"><span style="font-family: arial; font-size: 10pt;"> {tcp_listeners,[5672]},</span></p>
<p style="margin:0;padding:0;margin: 0; padding: 0;"><span style="font-family: arial; font-size: 10pt;"> {trace_vhosts,[<<"/">>]},</span></p>
<p style="margin:0;padding:0;margin: 0; padding: 0;"><span style="font-family: arial; font-size: 10pt;"> {vm_memory_high_watermark,0.4}]</span></p>
<div>
<div class="h5">
<p style="margin:0;padding:0;margin: 0; padding: 0; font-family: arial; font-size: 10pt;"> </p>
<p style="margin:0;padding:0;margin: 0; padding: 0; font-family: arial; font-size: 10pt;">-----Original Message-----<br />From: <a href="mailto:m.luchak@smartasking.com" target="_blank">m.luchak@smartasking.com</a><br />Sent: Tuesday, August 28, 2012 10:23am<br /> To: "Discussions about RabbitMQ" <<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a>><br />Subject: [rabbitmq-discuss] rabbitmq.config location and link<br /><br /></p>
<div style="font-family: arial; font-size: 10pt;"><span style="font-family: arial; font-size: 10pt;">
<p style="margin:0;padding:0;margin: 0; padding: 0;">Hi All,</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;"> </p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">I have created a rabbitmq.config file in "\etc\rabbitmq\" (ubuntu RabbitMQ 2.8.5) but I can't seem to point my instance to pick it up.. I have configured tcp keepalive true in the .config file but when I restart and run report the configs were not picked up..</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;"> </p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">How can I get Rabbitmq to pick up the .config file?</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;"> </p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">thansk,</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">Matthew</p>
</span></div>
</div>
</div>
</span><br />_______________________________________________<br /> rabbitmq-discuss mailing list<br /><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br /><a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br /><br /></blockquote>
</div>
</div></font>