Have to start node2, otherwise cannot connect to node1

Hi,
So after much trouble I was able to configure 2 nodes, with (what I thought mnesia replicating).
I have a problem now, that if I

1. kill epmd and beam on both nodes (using kill -9)
2. start /etc/init.d/ejabberd start on node1
I am not able to connect to the server with Pidgin.
3. If I now start ejabberd on node2,
I am able to connect to node1 with Pidgin.
4. If I now kill node2, I will be able to connect to node1.

It seems that node2 is needed to start first before starting node1.

How can I make it so that I can start either node1 or node2 in whatever order, and be able to connect to either one of them.

Syndicate content