ejabberd - Comments for "Cluster Installation problem on Amazon EC2" https://www.ejabberd.im/node/4079 en Here is the ejabbered log from my server https://www.ejabberd.im/node/4079#comment-55829 <p>root@domU-12-31-39-0F-7D-14:/var/lib/ejabberd# cat /var/log/ejabberd/ejabberd.log</p> <p>=INFO REPORT==== 2010-05-28 22:48:53 ===<br /> I(&lt;0.321.0&gt;:mod_pubsub:154) : pubsub init "localhost" [{access_createnode,<br /> pubsub_createnode},<br /> {plugins,<br /> ["default","pep"]}]</p> <p>=INFO REPORT==== 2010-05-28 22:48:53 ===<br /> I(&lt;0.321.0&gt;:mod_pubsub:210) : ** tree plugin is nodetree_default</p> <p>=INFO REPORT==== 2010-05-28 22:48:53 ===<br /> I(&lt;0.321.0&gt;:mod_pubsub:214) : ** init default plugin</p> <p>=INFO REPORT==== 2010-05-28 22:48:53 ===<br /> I(&lt;0.321.0&gt;:mod_pubsub:214) : ** init pep plugin</p> <p>=ERROR REPORT==== 2010-05-28 23:40:08 ===<br /> ** Connection attempt from disallowed node 'ejabberdctl1275090008486951000@domU-12-31-39-0F-7D-14' ** </p> <p>=ERROR REPORT==== 2010-05-28 23:41:10 ===<br /> ** Connection attempt from disallowed node 'ejabberdctl1275090070163253000@domU-12-31-39-0F-7D-14' **</p> Sat, 29 May 2010 00:14:29 +0000 privateson comment 55829 at https://www.ejabberd.im Is that the right way of copying .erlang.cookie file? https://www.ejabberd.im/node/4079#comment-55828 <p>before this I was getting this error (see below), I solved it by running this command: chmod 400 .erlang.cookie</p> <p>Also to copy the cookie I simply created a file using vi on the second server and copied the secret code from server one to the second server. Is that the right way of copying .erlang.cookie file?</p> <p>ERROR ~~~~~~~~~~</p> <p>root@domU-12-31-39-0F-7D-14:/etc/ejabberd# erl -sname ejabberd@domU-12-31-39-0F-7D-14 -mnesia dir '"/var/lib/ejabberd/"' -mnesia extra_db_nodes "['ejabberd@domU-12-31-39-02-C8-36']" -s mnesia<br /> {error_logger,{{2010,5,28},{23,28,56}},"Cookie file /root/.erlang.cookie must be accessible by owner only",[]}<br /> {error_logger,{{2010,5,28},{23,28,56}},crash_report,[[{pid,&lt;0.20.0&gt;},{registered_name,auth},{error_info,{exit,{"Cookie file /root/.erlang.cookie must be accessible by owner only",[{auth,init_cookie,0},{auth,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]},[{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{initial_call,{auth,init,['Argument__1']}},{ancestors,[net_sup,kernel_sup,&lt;0.8.0&gt;]},{messages,[]},{links,[&lt;0.18.0&gt;]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,987},{stack_size,23},{reductions,439}],[]]}<br /> {error_logger,{{2010,5,28},{23,28,56}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{"Cookie file /root/.erlang.cookie must be accessible by owner only",[{auth,init_cookie,0},{auth,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{offender,[{pid,undefined},{name,auth},{mfa,{auth,start_link,[]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}<br /> {error_logger,{{2010,5,28},{23,28,56}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfa,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}<br /> {error_logger,{{2010,5,28},{23,28,56}},crash_report,[[{pid,&lt;0.7.0&gt;},{registered_name,[]},{error_info,{exit,{shutdown,{kernel,start,[normal,[]]}},[{application_master,init,4},{proc_lib,init_p_do_apply,3}]}},{initial_call,{application_master,init,['Argument__1','Argument__2','Argument__3','Argument__4']}},{ancestors,[&lt;0.6.0&gt;]},{messages,[{'EXIT',&lt;0.8.0&gt;,normal}]},{links,[&lt;0.6.0&gt;,&lt;0.5.0&gt;]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,233},{stack_size,23},{reductions,123}],[]]}<br /> {error_logger,{{2010,5,28},{23,28,56}},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,[]]}}}"}</p> <p>Crash dump was written to: erl_crash.dump<br /> Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})</p> Sat, 29 May 2010 00:11:01 +0000 privateson comment 55828 at https://www.ejabberd.im