Hi everybody
I am trying to set up a cluster between two servers that exist on the same network. I have copied the cookie from first to second, and have run the following command like illustrated in the manual, but I end up coming across an error. If anyone could help me out with this, I would greatly appreciate it. We have this running on a network of about 200 users, and are happy with it's performance :) Great product
Sincerely,
apotrebka
[root@second bin]# ./erl -sname ejabberd -mnesia extra_db_nodes "['ejabberd@first']" -s mnesia
Erlang (BEAM) emulator version 5.5.5 [source] [64-bit] [async-threads:0] [hipe] [kernel-poll:false]
Eshell V5.5.5 (abort with ^G)
(ejabberd@second)1>
=ERROR REPORT==== 27-Oct-2008::11:30:53 ===
Error in process <0.51.0> on node 'ejabberd@second' with exit value: {badarg,[{erlang,list_to_existing_atom,["ejabberd@first.mydomain"]},{dist_util,recv_challenge,1},{dist_util,handshake_we_started,1}]}
=ERROR REPORT==== 27-Oct-2008::11:30:53 ===
Error in process <0.55.0> on node 'ejabberd@second' with exit value: {badarg,[{erlang,list_to_existing_atom,["ejabberd@first.mydomain"]},{dist_util,recv_challenge,1},{dist_util,handshake_we_started,1}]}
(ejabberd@second)1> mnesia:info().
---> Processes holding locks <---
---> Processes waiting for locks <---
---> Participant transactions <---
---> Coordinator transactions <---
---> Uncertain transactions <---
---> Active tables <---
schema : with 1 records occupying 384 words of mem
===> System info in version "4.3.5", debug level = none <===
opt_disc. Directory "/opt/ejabberd-2.0.0/bin/Mnesia.ejabberd@second" is NOT used.
use fallback at restart = false
running db nodes = [ejabberd@second]
stopped db nodes = [ejabberd@first]
master node tables = []
remote = []
ram_copies = [schema]
disc_copies = []
disc_only_copies = []
[{ejabberd@second,ram_copies}] = [schema]
2 transactions committed, 0 aborted, 0 restarted, 0 logged to disc
0 held locks, 0 in queue; 0 local transactions, 0 remote
0 transactions waits for other nodes: []
ok
Not exact match
Not exact match ejabberd@first.mydomain and ejabberd@first