I try to start the controler the first time but it fails with an Exception from jgroups (see full_cluster.log):

2008-05-15 09:28:17,107 ERROR controller.xml.DatabasesParser The virtual database myDB could not be added to the controller (because of Error while joining group myDB (org.continuent.hedera.channel.ChannelException: org.jgroups.ChannelException: failed to start protocol stack)) java.lang.Exception: Error while joining group myDB (org.continuent.hedera.channel.ChannelException: org.jgroups.ChannelException: failed to start protocol stack)
...
Caused by: java.lang.Exception: problem creating sockets (bind_addr=/192.168.5.1, mcast_addr=null)
    at org.jgroups.protocols.UDP.start(UDP.java:372)
at org.jgroups.stack.Protocol.handleSpecialDownEvent(Protocol.java:571)
    ... 71 more
Caused by: java.net.BindException: Cannot assign requested address
    at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82)
    at java.net.DatagramSocket.bind(DatagramSocket.java:368)
    at java.net.DatagramSocket.<init>(DatagramSocket.java:210)
    at java.net.DatagramSocket.<init>(DatagramSocket.java:261)
at org.jgroups.protocols.UDP.createEphemeralDatagramSocket(UDP.java:574)
    at org.jgroups.protocols.UDP.createSockets(UDP.java:436)
    at org.jgroups.protocols.UDP.start(UDP.java:367)
    ... 72 more

Anyone an Hint, what could be wrong?
I had that problem once with virtual machines. This is a JGroups configuration problem. You should alter the JGroups configuration file (likely to be config/sequencer.xml) to force IP addresses and port numbers. I am not sure where this 192.168.5.1 comes from, it might be a default value. Don't hesitate to ask support on the JGroups mailing list if you still have troubles.


we had that same problem (sequoia 2.10.10).

it seems that the jar file jgroups-core that comes with sequoia also contains the config file sequencer.xml. this file contains the 12.168.1.5 configuration.

unfortunately this configuration file is loaded before the one provided in config/. you can see this happening if you enable debug logging.

we fixed this by copying the file config/sequencer.xml to drivers/ as drivers/ is loaded before jgroups-core.jar

hope this helps,
        alphonse bendt

_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to