can not Start the ejabberd using ejabberdct1....pls help

hi guys
pls help me any one.my problem is change my HOST name in ejabberdct1 file ,i can't start the ejabberd.

In COMMAND PROMPT STATUS:
**************************

C:\Program Files\ejabberd-2.1.1\bin>ejabberdctl start

C:\Program Files\ejabberd-2.1.1\bin>ejabberdctl status
Failed RPC connection to the node ejabberd@localhost1: nodedown------------->like this

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

C:\Program Files\ejabberd-2.1.1\bin>

ERROR LOG:
************
it show an error "erl_crash_20100326-121424.dump"

=erl_crash_dump:0.1
Fri Mar 26 12:14:32 2010
Slogan: Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
System version: Erlang (BEAM) emulator version 5.6.4 [smp:2] [async-threads:0]
Compiled: Tue Sep 2 19:03:58 2008
Atoms: 4132
=memory
total: 18833040
processes: 1115112
processes_used: 1107232
system: 17717928
atom: 199961
atom_used: 173954
binary: 17104
code: 1044475
ets: 27132
=hash_table:atom_tab
size: 3203
used: 2309
objs: 4132
depth: 7
=index_table:atom_tab
size: 5120
limit: 1048576
entries: 4132
=hash_table:module_code
size: 47
used: 32
objs: 45
depth: 4
=index_table:module_code
size: 1024
limit: 65536
entries: 45
=hash_table:export_list
size: 1597
used: 1096
objs: 1823
depth: 7
=index_table:export_list
size: 2048
limit: 65536
entries: 1823
=hash_table:secondary_export_table
size: 97
used: 0
objs: 0
depth: 0
=hash_table:process_reg
size: 11
used: 3
objs: 3
depth: 1
=hash_table:fun_table
size: 197
used: 139
objs: 217
depth: 6
=hash_table:node_table
size: 11
used: 1
objs: 1
depth: 1
=hash_table:dist_table
size: 11
used: 1
objs: 1
depth: 1
=allocated_areas
sys_misc: 8914975
static: 7340032
atom_space: 65544 39729
atom_table: 33373
module_table: 4368
export_table: 14664
register_table: 108
fun_table: 850
module_refs: 1024
loaded_code: 921181
dist_table: 171
node_table: 131
bits_bufs_size: 0
bif_timer: 40028
link_lh: 0
proc: 6756 1380
atom_entry: 101044 100852
export_entry: 89084 88268
module_entry: 2452 1852
reg_proc: 516 108
monitor_sh: 836 36
nlink_sh: 1492 196
proc_list: 28 28
fun_entry: 12436 12268
db_tab: 4196 452
driver_event_data_state: 28 28
driver_select_data_state: 356 36
=allocator:sys_alloc
option e: true
option m: libc
=allocator:temp_alloc[0]
versions: 2.1 2.2
option e: true
option t: false
option ramv: false
option sbct: 524288
option rsbcmt: 80
option mmbcs: 131072
option lmbcs: 10485760
option smbcs: 1048576
option mbcgs: 10
option mbsd: 3
option as: gf
mbcs blocks: 0 135 135
mbcs blocks size: 0 24680 24680
mbcs carriers: 1 1 1
mbcs sys_alloc carriers: 1
mbcs carriers size: 131104 131104 131104
mbcs sys_alloc carriers size: 131104
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs sys_alloc carriers size: 0
temp_alloc calls: 852
temp_free calls: 852
temp_realloc calls: 3
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:temp_alloc[1]
versions: 0.9 2.2
option e: true
option t: 3
option ramv: false
option sbct: 524288
option rsbcmt: 80
option mmbcs: 131072
option lmbcs: 10485760
option smbcs: 1048576
option mbcgs: 10
option as: af
mbcs blocks: 0 148 148
mbcs blocks size: 0 22200 22200
mbcs carriers: 1 1 1
mbcs sys_alloc carriers: 1
mbcs carriers size: 131104 131104 131104
mbcs sys_alloc carriers size: 131104
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs sys_alloc carriers size: 0
temp_alloc calls: 513
temp_free calls: 513
temp_realloc calls: 0
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:temp_alloc[2]
versions: 0.9 2.2
option e: true
option t: 3
option ramv: false
option sbct: 524288
option rsbcmt: 80
option mmbcs: 131072
option lmbcs: 10485760
option smbcs: 1048576
option mbcgs: 10
option as: af
mbcs blocks: 0 150 150
mbcs blocks size: 0 56392 56392
mbcs carriers: 1 1 1
mbcs sys_alloc carriers: 1
mbcs carriers size: 131104 131104 131104
mbcs sys_alloc carriers size: 131104
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs sys_alloc carriers size: 0
temp_alloc calls: 4317
temp_free calls: 4317
temp_realloc calls: 4
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:sl_alloc[1]
versions: 2.1 2.2
option e: true
option t: 2
option ramv: false
option sbct: 524288
option rsbcmt: 80
option mmbcs: 65536
option lmbcs: 5242880
option smbcs: 524288
option mbcgs: 10
option mbsd: 3
option as: gf
mbcs blocks: 0 1 1
mbcs blocks size: 0 48 48
mbcs carriers: 1 1 1
mbcs sys_alloc carriers: 1
mbcs carriers size: 65560 65560 65560
mbcs sys_alloc carriers size: 65560
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs sys_alloc carriers size: 0
sl_alloc calls: 7
sl_free calls: 7
sl_realloc calls: 0
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:sl_alloc[2]
versions: 2.1 2.2
option e: true
option t: 2
option ramv: false
option sbct: 524288
option rsbcmt: 80
option mmbcs: 65536
option lmbcs: 5242880
option smbcs: 524288
option mbcgs: 10
option mbsd: 3
option as: gf
mbcs blocks: 0 1 1
mbcs blocks size: 0 48 48
mbcs carriers: 1 1 1
mbcs sys_alloc carriers: 1
mbcs carriers size: 65560 65560 65560
mbcs sys_alloc carriers size: 65560
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs sys_alloc carriers size: 0
sl_alloc calls: 54
sl_free calls: 54
sl_realloc calls: 0
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:std_alloc[1]
versions: 0.9 2.2
option e: true
option t: 2
option ramv: false
option sbct: 524288
option rsbcmt: 80
option mmbcs: 65536
option lmbcs: 5242880
option smbcs: 524288
option mbcgs: 10
option as: bf
mbcs blocks: 2 4 4
mbcs blocks size: 72 216 216
mbcs carriers: 1 1 1
mbcs sys_alloc carriers: 1
mbcs carriers size: 65560 65560 65560
mbcs sys_alloc carriers size: 65560
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs sys_alloc carriers size: 0
std_alloc calls: 4
std_free calls: 2
std_realloc calls: 0
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:std_alloc[2]
versions: 0.9 2.2
option e: true
option t: 2
option ramv: false
option sbct: 524288
option rsbcmt: 80
option mmbcs: 65536
option lmbcs: 5242880
option smbcs: 524288
option mbcgs: 10
option as: bf
mbcs blocks: 31 42 42
mbcs blocks size: 2976 3776 3776
mbcs carriers: 1 1 1
mbcs sys_alloc carriers: 1
mbcs carriers size: 65560 65560 65560
mbcs sys_alloc carriers size: 65560
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs sys_alloc carriers size: 0
std_alloc calls: 53
std_free calls: 22
std_realloc calls: 0
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:ll_alloc
versions: 0.9 2.2
option e: true
option t: false
option ramv: true
option sbct: 4294967295
option rsbcmt: 0
option mmbcs: 2097152
option lmbcs: 10485760
option smbcs: 1048576
option mbcgs: 10
option as: aobf
mbcs blocks: 431 431 431
mbcs blocks size: 18745160 18772232 18772232
mbcs carriers: 3 3 3
mbcs sys_alloc carriers: 3
mbcs carriers size: 18874400 18874400 18874400
mbcs sys_alloc carriers size: 18874400
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs sys_alloc carriers size: 0
ll_alloc calls: 547
ll_free calls: 116
ll_realloc calls: 0
sys_alloc calls: 3
sys_free calls: 0
sys_realloc calls: 0
=allocator:eheap_alloc[1]
versions: 2.1 2.2
option e: true
option t: 2
option ramv: false
option sbct: 524288
option rsbcmt: 80
option mmbcs: 262144
option lmbcs: 5242880
option smbcs: 524288
option mbcgs: 10
option mbsd: 3
option as: gf
mbcs blocks: 3 12 12
mbcs blocks size: 15824 60232 60232
mbcs carriers: 1 1 1
mbcs sys_alloc carriers: 1
mbcs carriers size: 262168 262168 262168
mbcs sys_alloc carriers size: 262168
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs sys_alloc carriers size: 0
eheap_alloc calls: 53
eheap_free calls: 50
eheap_realloc calls: 4
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:eheap_alloc[2]
versions: 2.1 2.2
option e: true
option t: 2
option ramv: false
option sbct: 524288
option rsbcmt: 80
option mmbcs: 262144
option lmbcs: 5242880
option smbcs: 524288
option mbcgs: 10
option mbsd: 3
option as: gf
mbcs blocks: 4 27 27
mbcs blocks size: 49632 158856 158856
mbcs carriers: 1 1 1
mbcs sys_alloc carriers: 1
mbcs carriers size: 262168 262168 262168
mbcs sys_alloc carriers size: 262168
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs sys_alloc carriers size: 0
eheap_alloc calls: 128
eheap_free calls: 124
eheap_realloc calls: 4
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:ets_alloc[1]
versions: 0.9 2.2
option e: true
option t: 2
option ramv: false
option sbct: 524288
option rsbcmt: 80
option mmbcs: 65536
option lmbcs: 5242880
option smbcs: 524288
option mbcgs: 10
option as: bf
mbcs blocks: 0 0 0
mbcs blocks size: 0 0 0
mbcs carriers: 1 1 1
mbcs sys_alloc carriers: 1
mbcs carriers size: 65560 65560 65560
mbcs sys_alloc carriers size: 65560
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs sys_alloc carriers size: 0
ets_alloc calls: 0
ets_free calls: 0
ets_realloc calls: 0
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:ets_alloc[2]
versions: 0.9 2.2
option e: true
option t: 2
option ramv: false
option sbct: 524288
option rsbcmt: 80
option mmbcs: 65536
option lmbcs: 5242880
option smbcs: 524288
option mbcgs: 10
option as: bf
mbcs blocks: 4 63 63
mbcs blocks size: 2128 17288 17288
mbcs carriers: 1 1 1
mbcs sys_alloc carriers: 1
mbcs carriers size: 65560 65560 65560
mbcs sys_alloc carriers size: 65560
sbcs blocks: 0 0 0
sbcs blocks size: 0 0 0
sbcs carriers: 0 0 0
sbcs sys_alloc carriers: 0
sbcs carriers size: 0 0 0
sbcs sys_alloc carriers size: 0
ets_alloc calls: 63
ets_free calls: 59
ets_realloc calls: 4
sys_alloc calls: 1
sys_free calls: 0
sys_realloc calls: 0
=allocator:fix_alloc
option e: true
proc: 6756 1380
atom_entry: 101044 100852
export_entry: 89084 88268
module_entry: 2452 1852
reg_proc: 516 108
monitor_sh: 836 36
nlink_sh: 1492 196
proc_list: 28 28
fun_entry: 12436 12268
db_tab: 4196 452
driver_event_data_state: 28 28
driver_select_data_state: 356 36
=allocator:binary_alloc[1]
versions: 0.9 2.2
option e: true
option t: 2
option ramv: false
option sbct: 524288
option rsbcmt: 80
option mmbcs: 65536
option lmbcs: 5242880
option smbcs: 524288
option mbcgs: 10

shutdown_timer
load_mod_code
load_mod
exprs
erl_eval
parse_exprs
erl_parse
dot
erl_scan
start_it
start_em
start_in_kernel
get_var_val
get_var_value
extract_var
add_var
fix_path
make_path
'cannot load'
get_files
par_load_modules
load_modules
debug
'unexpected command in bootfile'
kernelProcess
preLoaded
primLoad
path
embedded
kernel_load_completed
eval_script
script
get_file
'bootfile format error'
'cannot get bootfile'
not_found
get_boot
'-pz'
'-pa'
path_flags
bootfile
'-boot_var'
'-init_debug'
'-mode'
'-root'
do_boot
'-path'
'-id'
'-hosts'
'-loader'
prim_load_flags
add_to_kernel
set_path
erl_prim_loader
start_prim_loader
sleep
kernel_pid
terminate
del
sub
do_unload
unload
kill_all_ports
kill_em
get_pids
alive_processes
kill_all_pids
resend
shutdown_loop
shutdown_kernel_pid
shutdown
heart
get_heart
shutdown_pids
stop_heart
clear_system
do_stop
stopping
'-config'
'-boot'
user
do_handle_msg
new_state
handle_msg
loop
ignore
new_kernelpid
garb_boot_loop
foreach
progress
boot_loop
crash
first198
halt_string
things_to_string
flatten
printable_list
state
flags_to_atoms_again
map
b2s
b2a
s
eval
prepare_run_args
reboot
request
started
wait_until_started
notify_when_started
make_permanent
ensure_loaded
fetch_loaded
get_status
bs2ss
bs2as
script_id
get_argument
get_plain_arguments
get_arguments
fatal
boot
otp_ring0
'TRACE'
'DELETE'
'PUT'
'POST'
'HEAD'
'GET'
'OPTIONS'
'Proxy-Connection'
'Keep-Alive'
'Cookie'
'X-Forwarded-For'
'Set-Cookie2'
'Set-Cookie'
'Accept-Ranges'
'Last-Modified'
'Expires'
'Etag'
'Content-Type'
'Content-Range'
'Content-Md5'
'Content-Location'
'Content-Length'
'Content-Language'
'Content-Encoding'
'Content-Base'
'Allow'
'Www-Authenticate'
'Warning'
'Vary'
'Server'
'Retry-After'
'Public'
'Proxy-Authenticate'
'Location'
'Age'
'User-Agent'
'Referer'
'Range'
'Proxy-Authorization'
'Max-Forwards'
'If-Unmodified-Since'
'If-Range'
'If-None-Match'
'If-Match'
'If-Modified-Since'
'Host'
'From'
'Authorization'
'Accept-Language'
'Accept-Encoding'
'Accept-Charset'
'Accept'
'Via'
'Upgrade'
'Transfer-Encoding'
'Pragma'
'Date'
'Connection'
'Cache-Control'
md5_trap
empty_out_q
udp_error
tcp_error
tcp_closed
inet_reply
inet_async
udp
tcp
select_trap
'count_trap\000'
delete_trap
decode_packet
update_element
bitstring_to_list
list_to_bitstring
bit_size
byte_size
tuple_size
is_bitstring
list_to_existing_atom
iolist_to_binary
iolist_size
make_fun
to_integer
string
is_boolean
get_module_info
warning_map
hibernate
blocking_read_file
is_native
is_module_native
make_stub_module
module_md5
get_chunk
lock_counters
dump_links
dump_monitors
set_internal_state
get_internal_state
flat_size
same
disassemble
erts_debug
search
keysearch
'erl.lang.list.keylist'
keymember
reverse
is_element
lists
run
format_error_int
loaded_drivers
try_unload
try_load
erl_ddll
getpid
setenv
'erl.system.os'
putenv
os
match_spec_run_r
match_spec_compile

arity
anycrlf
any
andthen
andalso
and
anchored
already_loaded
allow_passive_connect
alloc_util_allocators
allocator_sizes
allocator
allocated_areas
allocated
all_but_first
all
active
absoluteURI
abs_path
aborted
'EXIT'
'UP'
'DOWN'
undefined_lambda
undefined_function
nocatch
undefined
exit
error
throw
return
call
normal
timeout
infinity
fun
''
'$end_of_table'
'nonode@nohost'
'_'
true
false
=end

pls any one help me .i really appreciate u.

thanks & regards
alagar

alagar.2010 wrote: my problem

alagar.2010 wrote:

my problem is change my HOST name in ejabberdct1 file ,i can't start the ejabberd.

In COMMAND PROMPT STATUS:
**************************

C:\Program Files\ejabberd-2.1.1\bin>ejabberdctl start

C:\Program Files\ejabberd-2.1.1\bin>ejabberdctl status
Failed RPC connection to the node ejabberd@localhost1: nodedown------------->like this

Please explain: In the beginning, ejabberd worked correctly, then you changed a file and now ejabberd doesn't start correctly?

What file did you modify?

  • ejabberd.cfg
  • ejabberdctl.cfg
  • ejabberdctl

What line did you change?

hi badlop i am edit ejabberdctl file

hi badlop,
i edit ejabberdctl file in C:\Program Files\ejabberd-2.1.3\bin.
I edited the 12th line in that file.pls view the changes.

# define default environment variables
NODE=ejabberd
HOST=ejabberd1 ########################(remove localhost and then change ejabberd1 )
VERSION=2.1.3
ERLANG_NODE=$NODE@$HOST
PATH=.:$PATH

I am also change the file ejabberdctl.cfg file in C:\Program Files\ejabberd-2.1.3\conf .

pls view the changes.

In the last line of the file i changed

ERLANG_NODE=ejabberd@ejabberd1#############(remove localhost and then change ejabberd1)

that's all.

after i start the ejabberd it shows error as NODEDWON

pls help me badlop.

Waiting for ur reply

regards,

alagar

Put original lines. Then explain here what you want to do

Put again the original lines, without your changes.

Then start ejabberd, it will work correctly again.

And then come here and explain why you wanted to change those lines. Maybe there's another way to do what you want to do.

pls refer these links

hi badlop

Put the original lines then it working fine.But now i want to cluster this node to already exist one.That's why i changed those line.pls refer the following link:

http://tdewolf.blogspot.com/2009/07/clustering-ejabberd-nodes-using-mnes...

using this links only i do the clustering.But it won't work.Also i don't understand this link fully. Possible to change the ejabberd node.
pls give any guide to perform cluster in my domain.I have installed Ejabber in WinXP machine.Another Node also In WinXP.Please Help.

waiting for ur reply badlop

thanks & regards

alagar

Delete old database files

alagar.2010 wrote:

Put the original lines then it working fine.But now i want to cluster this node to already exist one.That's why i changed those line.pls refer the following link:

I have installed Ejabber in WinXP machine. Another Node also In WinXP.

Ok: After changing the node name as explained in step "3. Modify ejabberdctl", delete the Mnesia database files acl.DCD, ... Then you can continue with 4.

hi badlop it's working But..........

Hi badlop,

It Ejabberd node Starting after delete the acl.DCD But i can't view the following location after the node has been started told in the link

http://tdewolf.blogspot.com/2009/07/clustering-ejabberd-nodes-using-mnes...

IN THE LINK THE LINE MENTION
***********************************************************************************
When the ejabberd node has started the following files and directories are created:
* $EJABBERD/var/lib/ejabberd/.erlang.cookie
* $EJABBERD/var/lib/ejabberd/db/ejabberd@myexample.com (host is defined in ejabberdctl
****************************************************************************************
i also not found the var directory in my Ejabber root Directory.
pls tell any other way to perform cluster in Windows XP.

pls help badlop

regards
alagar

Syndicate content