hi, i have debian os and install ejabberd from sid mirror 2.1.6 after edit config file ejabberd.cfg and put my domian there,
1. but when i run ejabberdctl start:
Failed RPC connection to the node ejabberd@debian: {'EXIT',
{badarg,
[{ets,lookup,
[local_config,
ejabberdctl_access_commands]},
{ejabberd_config,
get_local_option,1},
{ejabberd_ctl,
get_accesscommands,0},
{ejabberd_ctl,process,1},
{rpc,
'-handle_call_call/6-fun-0-',
5}]}}
===========================
2. and when i type ejabberd start:
{error_logger,{{2011,7,1},{16,51,30}},"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,{{2011,7,1},{16,51,30}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.20.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.102>,<0.17.0>]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,377},{stack_size,24},{reductions,459}],[]]}
{error_logger,{{2011,7,1},{16,51,30}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[[ejabberd,shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2011,7,1},{16,51,30}},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}]}]}
{error_logger,{{2011,7,1},{16,51,30}},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.dump
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
========================
3.And here is ejabberd.log for error:
=ERROR REPORT==== 2011-07-01 09:16:07 ===
E(<0.40.0>:ejabberd_config:549) : Error reading Mnesia database spool files:
The Mnesia database couldn't read the spool file for the table 'config'.
ejabberd needs read and write access in the directory:
/var/lib/ejabberd
Maybe the problem is a change in the computer hostname,
or a change in the Erlang node name, which is currently:
nodename@debian
Check the ejabberd guide for details about changing the
computer hostname or Erlang node name.
=INFO REPORT==== 2011-07-01 09:16:07 ===
application: ejabberd
exited: {bad_return,{{ejabberd_app,start,[normal,[]]},
{'EXIT',"Error reading Mnesia database"}}}
type: temporary
==========================
Anybody can help me please, i am very tired from this bad error, thank
1. Stop ejabberd 2. Kill
1. Stop ejabberd
2. Kill processes: beam, beam.smp, epmd
3. Remove the files in /var/lib/ejabberd
4. Try to start ejabberd
Related: http://www.ejabberd.im/error/duplicate_name
Thank I did all Now when i
Thank
I did all Now when i run ejabberd start it show:
root@debian:~# ejabberd start
Erlang R14B03 (erts-5.8.4) [source] [64-bit] [rq:1] [async-threads:0] [kernel-poll:false]
Eshell V5.8.4 (abort with ^G)
(ejabberd@debian)1>
=INFO REPORT==== 5-Jul-2011::08:38:15 ===
I(<0.363.0>:ejabberd_listener:166) : Reusing listening port for 5222
=INFO REPORT==== 5-Jul-2011::08:38:15 ===
I(<0.364.0>:ejabberd_listener:166) : Reusing listening port for 5269
=INFO REPORT==== 5-Jul-2011::08:38:15 ===
I(<0.365.0>:ejabberd_listener:166) : Reusing listening port for 5280
=INFO REPORT==== 5-Jul-2011::08:38:15 ===
I(<0.40.0>:ejabberd_app:72) : ejabberd 2.1.6 is started in the node ejabberd@debian
=======================
but program dont work :-(
this is ejabberd.log
=ERROR REPORT==== 2011-07-01 09:16:07 ===
E(<0.40.0>:ejabberd_config:549) : Error reading Mnesia database spool files:
The Mnesia database couldn't read the spool file for the table 'config'.
ejabberd needs read and write access in the directory:
/var/lib/ejabberd
Maybe the problem is a change in the computer hostname,
or a change in the Erlang node name, which is currently:
nodename@debian
Check the ejabberd guide for details about changing the
computer hostname or Erlang node name.
=INFO REPORT==== 2011-07-01 09:16:07 ===
application: ejabberd
exited: {bad_return,{{ejabberd_app,start,[normal,[]]},
{'EXIT',"Error reading Mnesia database"}}}
type: temporary
====================
what i must do now ?!?
rambo_relax wrote: =INFO
=INFO REPORT==== 5-Jul-2011::08:38:15 ===
I(<0.40.0>:ejabberd_app:72) : ejabberd 2.1.6 is started in the node ejabberd@debian
=ERROR REPORT==== 2011-07-01 09:16:07 ===
E(<0.40.0>:ejabberd_config:549) : Error reading Mnesia database spool files:
The INFO is from 5 July. The error is from 1 July. This means the error was reported before you fixed the problem, right?