Problem in Clustering ejabberd node

Hello,

In am trying to implement fault tolerance in ejabberd server (version 2.1.11) for this I am using clustering feature for this.
I have Installed ejabberd on two 64 bit virtual machines with fedora. I have followed the steps give in forums : http://tdewolf.blogspot.ca/2009/07/clustering-ejabberd-nodes-using-mnesi... and http://blog.kmurthy.com/2010/04/clustering-ejabberd-nodes-using-mnesia.html .
I do the setup accordingly on first machine and start ejabberd on first machine. The .erlang.cookie is created in /root and *.DAD, *.DAT,*.DCL and *.LOG are created in /var/lib/ejabberd/spool/ directory.

then i copy the .erlang.cookie in the /root and /var/lib/ejabberd/ of second machine. I also copy ejabberd.cfg from first machine to second in the same location. Then I cahnge the host in ejabberdctl and run the command :
./erl -sname ejabberd@ejabberd2 \
-mnesia dir '/opt/ejabberd2.1.3/database/"' \
-mnesia extra_db_nodes "['ejabberd@ejabberd1']" \
-s mnesia

Now I will arrive in an erlang shell when I have executed the above command: (ejabberd@ejabberd2)1>

In this if enter the command "mnesia:info()" then nothin is displayed and the cursor just goes to next prompt.
The same thing is happening with all erlang command. event the quit command (q(), init:stop()) are not working.

Please help me .....URGENTLY

Syndicate content