[ejabberd] Installation Problem (RPC failed on the node ejabberd at localhost: nodedown)

striver malagowork at gmail.com
Fri Jul 31 04:52:51 MSD 2009


Thank you very much for the reply and attention.

Yes, that was definitely my problem. How to start ejabberd service again.
Because eventhough how many times I tried to execute it, that error
occurred.

Below is the message I get when I tried to execute the command you give.
Kindly give me another hint for this.

[root at chat ~]# ejabberdctl start
[root at chat ~]# ejabberdctl status
RPC failed on the node ejabberd at localhost: nodedown

=ERROR REPORT==== 31-Jul-2009::18:50:18 ===
Error in process <0.33.0> on node 'ejabberdctl at chat' with exit value:
{badarg,[{erlang,list_to_existing_atom,["ejabberd at chat"]},{dist_util,recv_challenge,1},{dist_util,handshake_we_started,1}]}


Commands to start an ejabberd node:
  start  Start an ejabberd node in server mode
  debug  Attach an interactive Erlang shell to a running ejabberd node
  live   Start an ejabberd node in live (interactive) mode

Optional parameters when starting an ejabberd node:
  --config file      Config file of ejabberd:    /etc/ejabberd/ejabberd.cfg
  --ctl-config file  Config file of ejabberdctl:
/etc/ejabberd/ejabberdctl.cfg
  --logs dir         Directory for logs:         /var/log/ejabberd/
  --spool dir        Database spool dir:         /var/lib/ejabberd/spool
  --node nodename    ejabberd node name:         ejabberd at localhost

[root at chat ~]# ps -Al| grep beam
0 S   494  1894     1  0  80   0 -  5777 sys_po ?        00:00:02 beam
[root at chat ~]# 




Kaiduan Xie-2 wrote:
> 
> Your ejabberd server is not started successfully.
> 
> kaiduanx at ibm:~/xmpp/ejabberd-2.0.1/tools$ ./ejabberdctl start
> 
> kaiduanx at ibm:~/xmpp/ejabberd-2.0.1/tools$ ps -Al | grep beam
> 0 R  1000 11552     1 23  80   0 -  6869 -      ?        00:00:01 beam
> 
> If ejabberd is started successfully, you should be able to see the above.
> 
> Also if you can see erl_crash.dump in the directory where you start
> ejabberd, then it means ejabberd fails to start.
> 
> kaiduan
> 
> 0, 2009 at 7:59 PM, striver<malagowork at gmail.com> wrote:
>>
>> I successfully configure and installed ejabberd and also successfully
>> connected it to IM client (pidgin), that was I expected, but then when I
>> restart the ejabberd service or reboot the computer, I came to this error
>> as
>> shown below. It was already two weeks now, searching and investigation
>> for
>> the cause and counter measure of this problem. But since I am new to
>> linux
>> and to this technology, I still cant be able to solve it. So, please if
>> you
>> have some knowledge on how to solve this, kindly lend me your good hand.
>> Im
>> using the LINUX FEDORA 10.0 and ejabberd 2.0.5 version.
>>
>> [root at chat ~]# ejabberdctl start
>> [root at chat ~]# ejabberdctl status
>> RPC failed on the node ejabberd at localhost: nodedown
>>
>> =ERROR REPORT==== 30-Jul-2009::03:08:20 ===
>> Error in process <0.33.0> on node 'ejabberdctl at chat' with exit value:
>> {badarg,[{erlang,list_to_existing_atom,["ejabberd at chat"]},{dist_util,recv_challenge,1},{dist_util,handshake_we_started,1}]}
>>
>> When I tried to run the [ejabberdctl live] below is the error message
>> shown.
>> {error_logger,{{2009,7,30},{3,50,4}},"Protocol: ~p: register error:
>> ~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{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}]}]}
>> {error_logger,{{2009,7,30},{3,50,4}},crash_report,[[{pid,<0.20.0>},{registered_name,net_kernel},{error_info,{exit,{error,badarg},[{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{initial_call,{net_kernel,init,['Argument__1']}},{ancestors,[net_sup,kernel_sup,<0.8.0>]},{messages,[]},{links,[#Port<0.94>,<0.17.0>]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,23},{reductions,474}],[]]}
>> {error_logger,{{2009,7,30},{3,50,4}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfa,{net_kernel,start_link,[['ejabberd at localhost',shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
>> {error_logger,{{2009,7,30},{3,50,4}},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}]}]}
>> {error_logger,{{2009,7,30},{3,50,4}},crash_report,[[{pid,<0.7.0>},{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,[<0.6.0>]},{messages,[{'EXIT',<0.8.0>,normal}]},{links,[<0.6.0>,<0.5.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,233},{stack_size,23},{reductions,123}],[]]}
>> {error_logger,{{2009,7,30},{3,50,4}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
>> {"Kernel pid
>> terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}
>>
>> Crash dump was written to:
>> /var/log/ejabberd//erl_crash_20090730-035002.dump
>> Kernel pid terminated (application_controller)
>> ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Installation-Problem-%28RPC-failed-on-the-node-ejabberd%40localhost%3A-nodedown%29-tp24715973p24715973.html
>> Sent from the ejabberd mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> ejabberd mailing list
>> ejabberd at jabber.ru
>> http://lists.jabber.ru/mailman/listinfo/ejabberd
>>
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
> 
> 

-- 
View this message in context: http://www.nabble.com/Installation-Problem-%28RPC-failed-on-the-node-ejabberd%40localhost%3A-nodedown%29-tp24715973p24749535.html
Sent from the ejabberd mailing list archive at Nabble.com.



More information about the ejabberd mailing list