It's very hard for me to understand errors. I've added -x to shell scripts so <br><br>First O've checked if anything is running<br># ps ax | grep beam | grep -v grep<br># ps ax | grep epmd | grep -v grep<br># <br>
<br>then:<br><br>----------------------------------<br>/usr/sbin/rabbitmq-multi start_all 1<br>+ for arg in '"$@"'<br>++ sed -e 's/"/\\"/g'<br>+ arg=start_all<br>+ CMDLINE=' "start_all"'<br>
+ for arg in '"$@"'<br>++ sed -e 's/"/\\"/g'<br>+ arg=1<br>+ CMDLINE=' "start_all" "1"'<br>+ cd /var/lib/rabbitmq<br>++ basename /usr/sbin/rabbitmq-multi<br>
+ SCRIPT=rabbitmq-multi<br>++ id -u<br>+ '[' 0 = 0 ']'<br>+ su rabbitmq -s /bin/sh -c '/usr/lib/rabbitmq/bin/rabbitmq-multiĀ "start_all" "1"'<br>+ '[' x = <a href="http://xsendsorium.com">xsendsorium.com</a> ']'<br>
+ NODENAME=rabbit@sendsorium<br>++ dirname /usr/lib/rabbitmq/bin/rabbitmq-multi<br>+ SCRIPT_HOME=/usr/lib/rabbitmq/bin<br>+ PIDS_FILE=/var/lib/rabbitmq/pids<br>+ MULTI_ERL_ARGS=<br>+ MULTI_START_ARGS=<br>+ CONFIG_FILE=/etc/rabbitmq/rabbitmq<br>
++ dirname /usr/lib/rabbitmq/bin/rabbitmq-multi<br>+ . /usr/lib/rabbitmq/bin/rabbitmq-env<br>++ SCRIPT_PATH=/usr/lib/rabbitmq/bin/rabbitmq-multi<br>++ '[' -h /usr/lib/rabbitmq/bin/rabbitmq-multi ']'<br>+++ readlink -f /usr/lib/rabbitmq/bin/rabbitmq-multi<br>
++ FULL_PATH=/usr/lib/rabbitmq/lib/rabbitmq_server-1.8.1/sbin/rabbitmq-multi<br>++ '[' 0 '!=' 0 ']'<br>++ SCRIPT_PATH=/usr/lib/rabbitmq/lib/rabbitmq_server-1.8.1/sbin/rabbitmq-multi<br>++ '[' -h /usr/lib/rabbitmq/lib/rabbitmq_server-1.8.1/sbin/rabbitmq-multi ']'<br>
+++ dirname /usr/lib/rabbitmq/lib/rabbitmq_server-1.8.1/sbin/rabbitmq-multi<br>++ SCRIPT_DIR=/usr/lib/rabbitmq/lib/rabbitmq_server-1.8.1/sbin<br>++ RABBITMQ_HOME=/usr/lib/rabbitmq/lib/rabbitmq_server-1.8.1/sbin/..<br>++ '[' -f /etc/rabbitmq/rabbitmq.conf ']'<br>
+ DEFAULT_NODE_IP_ADDRESS=0.0.0.0<br>+ DEFAULT_NODE_PORT=5672<br>+ '[' x = x ']'<br>+ '[' x '!=' x ']'<br>+ '[' x = x ']'<br>+ '[' x '!=' x ']'<br>
+ '[' x = x ']'<br>+ '[' x '!=' x ']'<br>+ '[' x = x ']'<br>+ RABBITMQ_NODENAME=rabbit@sendsorium<br>+ '[' x = x ']'<br>+ RABBITMQ_SCRIPT_HOME=/usr/lib/rabbitmq/bin<br>
+ '[' x = x ']'<br>+ RABBITMQ_PIDS_FILE=/var/lib/rabbitmq/pids<br>+ '[' x = x ']'<br>+ RABBITMQ_MULTI_ERL_ARGS=<br>+ '[' x = x ']'<br>+ RABBITMQ_MULTI_START_ARGS=<br>+ '[' x = x ']'<br>
+ RABBITMQ_CONFIG_FILE=/etc/rabbitmq/rabbitmq<br>+ export RABBITMQ_NODENAME RABBITMQ_NODE_IP_ADDRESS RABBITMQ_NODE_PORT RABBITMQ_SCRIPT_HOME RABBITMQ_PIDS_FILE RABBITMQ_CONFIG_FILE<br>+ RABBITMQ_CONFIG_ARG=<br>+ '[' -f /etc/rabbitmq/rabbitmq.config ']'<br>
+ RABBITMQ_CONFIG_ARG='-config /etc/rabbitmq/rabbitmq'<br>+ set -f<br>+ exec erl -pa /usr/lib/rabbitmq/lib/rabbitmq_server-1.8.1/sbin/../ebin -noinput -hidden -sname rabbitmq_multi16112 -config /etc/rabbitmq/rabbitmq -s rabbit_multi -extra start_all 1<br>
{error_logger,{{2010,9,29},{20,36,33}},"Protocol: ~p: register error: ~p~n",["inet_tcp",{{badmatch,{error,etimedout}},[{inet_tcp_dist,listen,1},{net_kernel,start_protos,4},{net_kernel,start_protos,3},{net_kernel,init_node,2},{net_kernel,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}]}<br>
{error_logger,{{2010,9,29},{20,36,33}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.19.0>},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{ancestors,[net_sup,kernel_sup,<0.9.0>]},{messages,[]},{links,[#Port<0.100>,<0.16.0>]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,987},{stack_size,24},{reductions,513}],[]]}<br>
{error_logger,{{2010,9,29},{20,36,33}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[[rabbitmq_multi16112,shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}<br>
{error_logger,{{2010,9,29},{20,36,33}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}<br>
{error_logger,{{2010,9,29},{20,36,33}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}<br>{"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}<br>
<br>Crash dump was written to: erl_crash.dump<br>Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})<br>--------------------------<br><br><br>I'm using rabbit 1.8.1 <br>
Erlang R14A (erts-5.8) [source] [smp:2:2] [rq:2] [async-threads:0] [kernel-poll:false]<br>Linux <a href="http://sendsorium.com">sendsorium.com</a> 2.6.18-028stab069.6 #1 SMP Wed May 26 18:10:06 MSD 2010 i686 GNU/Linux<br>
<br><br><br>cat /etc/rabbitmq/rabbitmq.config <br>[{rabbit, [{vm_memory_high_watermark, 0.4}]}].<br><br><br>PS: erl_crash.dumpĀ compressed is about 50K ..if anyone wants to see it. <br><br clear="all">Nico Cesar<br>