<div dir="ltr"><div>Hi, Ken:</div><div><br></div><div>So this thread&#39;s been going a while, and taken a bunch of twists and turns. �</div><div><br></div><div>Some remarks inline to try to establish context on where we are and how we might solve your problems...</div>
<div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 16, 2013 at 12:36 PM, ken macpherson <span dir="ltr">&lt;<a href="mailto:kmacpher67@gmail.com" target="_blank">kmacpher67@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">nope didn&#39;t work...�<div><br></div><div>
# nohup rabbitmq-server &amp;</div><div><br></div><div>&amp;�</div><div><div># rabbitmqctl status</div><div>Status of node rabbit@qaapp ...</div><div>[{pid,30347},</div><div>�{running_applications,</div><div>� � �[{rabbitmq_tracing,&quot;RabbitMQ message logging / tracing&quot;,&quot;3.1.5&quot;},</div>
<div>� � � {rabbitmq_management_visualiser,&quot;RabbitMQ Visualiser&quot;,&quot;3.1.5&quot;},</div><div>� � � {rabbitmq_management,&quot;RabbitMQ Management Console&quot;,&quot;3.1.5&quot;},</div><div>� � � {rabbitmq_web_dispatch,&quot;RabbitMQ Web Dispatcher&quot;,&quot;3.1.5&quot;},</div>
<div>� � � {webmachine,&quot;webmachine&quot;,&quot;1.10.3-rmq3.1.5-gite9359c7&quot;},</div><div>� � � {mochiweb,&quot;MochiMedia Web Server&quot;,&quot;2.7.0-rmq3.1.5-git680dba8&quot;},</div><div>� � � {rabbitmq_management_agent,&quot;RabbitMQ Management Agent&quot;,&quot;3.1.5&quot;},</div>
<div>� � � {rabbit,&quot;RabbitMQ&quot;,&quot;3.1.5&quot;},</div><div>� � � {os_mon,&quot;CPO �CXC 138 46&quot;,&quot;2.2.13&quot;},</div><div>� � � {inets,&quot;INETS �CXC 138 49&quot;,&quot;5.9.6&quot;},</div><div>� � � {mnesia,&quot;MNESIA �CXC 138 12&quot;,&quot;4.10&quot;},</div>
<div>� � � {amqp_client,&quot;RabbitMQ AMQP Client&quot;,&quot;3.1.5&quot;},</div><div>� � � {xmerl,&quot;XML parser&quot;,&quot;1.3.4&quot;},</div><div>� � � {sasl,&quot;SASL �CXC 138 11&quot;,&quot;2.3.3&quot;},</div><div>
� � � {stdlib,&quot;ERTS �CXC 138 10&quot;,&quot;1.19.3&quot;},</div><div>� � � {kernel,&quot;ERTS �CXC 138 10&quot;,&quot;2.16.3&quot;}]},</div><div>�{os,{unix,linux}},</div><div>�{erlang_version,</div><div>� � �&quot;Erlang R16B02 (erts-5.10.3) [source] [64-bit] [smp:4:4] [async-threads:30] [hipe] [kernel-poll:true]\n&quot;},</div>
<div>�{memory,</div><div>� � �[{total,41243224},</div><div>� � � {connection_procs,5600},</div><div>� � � {queue_procs,5600},</div><div>� � � {plugins,382736},</div><div>� � � {other_proc,13561960},</div><div>� � � {mnesia,60272},</div>
<div>� � � {mgmt_db,47344},</div><div>� � � {msg_index,28496},</div><div>� � � {other_ets,1108360},</div><div>� � � {binary,34144},</div><div>� � � {code,19598331},</div><div>� � � {atom,703377},</div><div>� � � {other_system,5707004}]},</div>
<div>�{vm_memory_high_watermark,0.4},</div><div>�{vm_memory_limit,1658167296},</div><div>�{disk_free_limit,1000000000},</div><div>�{disk_free,6997409792},</div><div>�{file_descriptors,</div><div>� � �[{total_limit,10140},</div>
<div>� � � {total_used,3},</div><div>� � � {sockets_limit,9124},</div><div>� � � {sockets_used,1}]},</div><div>�{processes,[{limit,1048576},{used,199}]},</div><div>�{run_queue,0},</div><div>�{uptime,192}]</div><div>...done.</div>
</div><div><br></div><div><br></div><div>BUT ... the services are bumbkiss. �</div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div><br></div><div><div>#/sbin/service rabbitmq-server status</div><div class="im"><div>pthread/ethr_event.c:98: Fatal error in wait__(): Function not implemented (38)</div></div></div><div><br></div><div>
It&#39;s running the server now, so there&#39;s 8 hours I&#39;ll never get back.�</div></div></blockquote><div><br></div><div>I can&#39;t quite understand what state you&#39;re in or how you got there.</div><div><br></div>
<div>Did you:</div><div><br></div><div><ol><li>On a relatively clean CentOS machine...</li><li>...set up the EPEL repositories as documented here: �<a href="http://www.rabbitmq.com/install-rpm.html">http://www.rabbitmq.com/install-rpm.html</a></li>
<li>...install a sufficiently modern Erlang from the EPEL repository set up in 2</li><li>...install the rabbitmq-server RPM as documented at the URL above</li><li>Start the service with: �/sbin/service rabbitmq-server start</li>
<li>Verify that it&#39;s alive by things like:</li><ol><li>Trying to telnet to port 5672 where Rabbit should be listening for AMQP connection attempts (bang on some keys and see if you get kicked out with an AMQP error message)</li>
<li>Use ps to find processes whose name contains &#39;beam&#39; (the name of the Erlang VM) and whose command line arguments show they&#39;re running Rabbit</li><li>&#39;sudo rabbitmqctl status&#39; and see what you get back.</li>
</ol></ol><div>The chain of things in your mail thread suggests one or more of these things have gone wrong, as well as some possible red herrings, like worrying about the epmd process... this is the Erlang port mapper daemon, which Erlang applications use to find one another for IPC, and will be running if Erlang has previous started up on the machine.</div>
</div><div><br></div><div>The &quot;function not implemented&quot; error you&#39;re seeing is something that you&#39;ll sometimes see on CentOS installs running Erlang on older Linux kernels that don&#39;t implement FUTEX_WAIT_PRIVATE and FUTEX_WAKE_PRIVATE. �What CentOS version are you working with?</div>
<div><br></div><div>I&#39;m also wondering a bit whether there might be more than one Erlang install on this machine.</div><div><br></div><div>Can you back out and try again, following the instructions at the above URL carefully, and reporting what you see as you go?</div>
<div><br></div><div>Best regards,</div><div>Jerry</div><div><br></div><div><br></div></div></div></div>