<div>
                    Hey everyone,
                </div><div><br></div><div>For a project I'm using RabbitMQ and I've encountered a strange problem that I'm unable to solve. The rabbit-server will automatically shut down every night with the following logging (I cleaned the log files and just waited for the next shutdown to occur :)):</div><div><br></div><div><font face="'Courier New'"><b>shutdown_err:</b></font></div><div><font face="'Courier New'">Error: {'EXIT',{error,{could_not_read_pid,{error,enoent}}}}</font></div><div><font face="'Courier New'"><br></font></div><div><font face="'Courier New'"><b>shutdown_log:</b></font></div><div><font face="'Courier New'">Stopping and halting node rabbit@lukas …</font></div><div><font face="'Courier New'"><br></font></div><div><font face="'Courier New'"><b>startup_err:</b></font></div><div><font face="'Courier New'">/usr/lib/rabbitmq/bin/rabbitmq-server: 90: erl: not found</font></div><div><font face="'Courier New'"><br></font></div><div><font face="'Courier New'"><b>startup_log</b> is empty</font></div><div><font face="'Courier New'"><br></font></div><div><div><font face="'Courier New'"><b>rabbit@lukas-sasl.log.1:&nbsp;</b></font></div><div><font face="'Courier New'">=SUPERVISOR REPORT==== 11-Jul-2012::04:33:51 ===</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp;Supervisor: {&lt;0.720.0&gt;,rabbit_channel_sup_sup}</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp;Context: &nbsp; &nbsp;shutdown_error</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp;Reason: &nbsp; &nbsp; shutdown</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp;Offender: &nbsp; [{pid,&lt;0.722.0&gt;},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {name,channel_sup},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {mfa,{rabbit_channel_sup,start_link,[]}},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {restart_type,temporary},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {shutdown,infinity},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {child_type,supervisor}]</font></div></div><div><font face="'Courier New'"><br></font></div><div><font face="'Courier New'"><b>rabbit@lukas.log:</b></font></div><div><div><font face="'Courier New'">=INFO REPORT==== 10-Jul-2012::06:16:55 === <font color="#4646fb"><b>&lt;- This is when I started the server</b></font></font></div><div><font face="'Courier New'">accepting AMQP connection &lt;0.721.0&gt; (127.0.0.1:54219 -&gt; 127.0.0.1:5672)</font></div><div><font face="'Courier New'"><br></font></div><div><font face="'Courier New'">=INFO REPORT==== 11-Jul-2012::04:33:51 === <font color="#4646fb"><b>&lt;- From here, it went wrong</b></font></font></div><div><font face="'Courier New'">Stopping Rabbit</font></div><div><font face="'Courier New'"><br></font></div><div><font face="'Courier New'">=INFO REPORT==== 11-Jul-2012::04:33:51 ===</font></div><div><font face="'Courier New'">&nbsp; &nbsp; application: rabbitmq_management</font></div><div><font face="'Courier New'">&nbsp; &nbsp; exited: stopped</font></div><div><font face="'Courier New'">&nbsp; &nbsp; type: permanent</font></div><div><font face="'Courier New'"><br></font></div><div><font face="'Courier New'">=INFO REPORT==== 11-Jul-2012::04:33:51 ===</font></div><div><font face="'Courier New'">&nbsp; &nbsp; application: rabbitmq_management_agent</font></div><div><font face="'Courier New'">&nbsp; &nbsp; exited: stopped</font></div><div><font face="'Courier New'">&nbsp; &nbsp; type: permanent</font></div><div><font face="'Courier New'"><br></font></div><div><font face="'Courier New'">=INFO REPORT==== 11-Jul-2012::04:33:51 ===</font></div><div><font face="'Courier New'">stopped TCP Listener on [::]:5672</font></div><div><font face="'Courier New'"><br></font></div><div><font face="'Courier New'">=INFO REPORT==== 11-Jul-2012::04:33:51 ===</font></div><div><font face="'Courier New'">&nbsp; &nbsp; application: rabbit</font></div><div><font face="'Courier New'">&nbsp; &nbsp; exited: stopped</font></div><div><font face="'Courier New'">&nbsp; &nbsp; type: permanent</font></div><div><font face="'Courier New'"><br></font></div><div><font face="'Courier New'">=INFO REPORT==== 11-Jul-2012::04:33:51 ===</font></div><div><font face="'Courier New'">&nbsp; &nbsp; application: os_mon</font></div><div><font face="'Courier New'">&nbsp; &nbsp; exited: stopped</font></div><div><font face="'Courier New'">&nbsp; &nbsp; type: permanent</font></div><div><font face="'Courier New'"><br></font></div><div><font face="'Courier New'">=INFO REPORT==== 11-Jul-2012::04:33:51 ===</font></div><div><font face="'Courier New'">&nbsp; &nbsp; application: mnesia</font></div><div><font face="'Courier New'">&nbsp; &nbsp; exited: stopped</font></div><div><font face="'Courier New'">&nbsp; &nbsp; type: permanent</font></div><div><font face="'Courier New'"><br></font></div><div><font face="'Courier New'">=INFO REPORT==== 11-Jul-2012::04:33:51 ===</font></div><div><font face="'Courier New'">Halting Erlang VM</font></div></div><div><br></div><div><br></div><div><br></div><div>I'm using a plain version of RabbitMQ 2.8.2 on Ubuntu 10.04.4 LTS, so far I've only installed RabbitMQ without changing the configuration. Also, the app hasn't been released for testing yet, so there's been no traffic over RabbitMQ...&nbsp;</div><div><br></div><div><br></div><div><br></div><div>After re-starting Rabbit, this is the output of rabbitmqctl status:</div><div><br></div><div><div><font face="'Courier New'">Status of node rabbit@lukas ...</font></div><div><font face="'Courier New'">[{pid,24404},</font></div><div><font face="'Courier New'">&nbsp;{running_applications,</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp;[{rabbitmq_management,"RabbitMQ Management Console","2.8.2"},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; {xmerl,"XML parser","1.2.9"},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; {rabbitmq_management_agent,"RabbitMQ Management Agent","2.8.2"},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; {amqp_client,"RabbitMQ AMQP Client","2.8.2"},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; {rabbit,"RabbitMQ","2.8.2"},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; {os_mon,"CPO &nbsp;CXC 138 46","2.2.6"},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; {sasl,"SASL &nbsp;CXC 138 11","2.1.9.4"},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; {rabbitmq_mochiweb,"RabbitMQ Mochiweb Embedding","2.8.2"},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; {webmachine,"webmachine","1.7.0-rmq2.8.2-hg"},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; {mochiweb,"MochiMedia Web Server","1.3-rmq2.8.2-git"},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; {inets,"INETS &nbsp;CXC 138 49","5.6"},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; {mnesia,"MNESIA &nbsp;CXC 138 12","4.4.19"},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; {stdlib,"ERTS &nbsp;CXC 138 10","1.17.4"},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; {kernel,"ERTS &nbsp;CXC 138 10","2.14.4"}]},</font></div><div><font face="'Courier New'">&nbsp;{os,{unix,linux}},</font></div><div><font face="'Courier New'">&nbsp;{erlang_version,</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp;"Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:30] [hipe] [kernel-poll:true]\n"},</font></div><div><font face="'Courier New'">&nbsp;{memory,</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp;[{total,34184288},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; {processes,11938464},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; {processes_used,11925920},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; {system,22245824},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; {atom,1545609},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; {atom_used,1533234},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; {binary,274032},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; {code,17459254},</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp; {ets,1181624}]},</font></div><div><font face="'Courier New'">&nbsp;{vm_memory_high_watermark,0.39999999990469176},</font></div><div><font face="'Courier New'">&nbsp;{vm_memory_limit,839381811},</font></div><div><font face="'Courier New'">&nbsp;{disk_free_limit,2098454528},</font></div><div><font face="'Courier New'">&nbsp;{disk_free,33166905344},</font></div><div><font face="'Courier New'">&nbsp;{file_descriptors,</font></div><div><font face="'Courier New'">&nbsp; &nbsp; &nbsp;[{total_limit,924},{total_used,4},{sockets_limit,829},{sockets_used,2}]},</font></div><div><font face="'Courier New'">&nbsp;{processes,[{limit,1048576},{used,185}]},</font></div><div><font face="'Courier New'">&nbsp;{run_queue,0},</font></div><div><font face="'Courier New'">&nbsp;{uptime,20}]</font></div><div><font face="'Courier New'">...done.</font></div></div><div><br></div><div><br></div>
                <div><div>I've searched the internet for a while now, but so far I wasn't able to find anything -- perhaps someone on this mailing encountered the same issue and has a solution?</div><div><br></div><div>Thanks!</div><div><br></div><div>Kind regards,</div><div><br></div>--&nbsp;<br>Eric</div>