Yep, I repackaged the jar without the sequencer.xml file and it started up fine.
Should I file a bug report? -Tony --------------------------- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> http://www.formatdynamics.com <http://www.formatdynamics.com/> From: Anthony J. Biacco Sent: Tuesday, June 24, 2008 1:26 PM To: Sequoia general mailing list Subject: RE: [Sequoia] controller errors after attempted bin upgrade to 2.10.10 Looks like that might be it.. # jar tvf /usr/local/src/sequoia/sequoia-2.10.9-bin/lib/jgroups-core.jar | grep -I sequencer # jar tvf /usr/local/src/sequoia/sequoia-2.10.10-bin/lib/jgroups-core.jar | grep -I sequencer 2297 Mon Oct 30 22:19:56 MST 2006 sequencer.xml I'll try to repackage it. I would guess the bin distribution is gonna have to be changed for the next release to fix this problem. -Tony --------------------------- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 [EMAIL PROTECTED] http://www.formatdynamics.com <http://www.formatdynamics.com/> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony J. Biacco Sent: Tuesday, June 24, 2008 1:21 PM To: Sequoia general mailing list Subject: RE: [Sequoia] controller errors after attempted bin upgrade to 2.10.10 The 192.168.5.1 ip isn't mine. No bind_addr is defined in sequencer.xml. I tried defining one with my machine's ip and I still got the error showing Caused by: java.lang.Exception: problem creating sockets (bind_addr=/192.168.5.1, mcast_addr=null) I tried using 127.0.0.1 also and got the same error. I did a grep -ir for the 192.168 ip in my /opt/sequoia directory and got nothing back. Did this on the sequoia source distribution too and got nothing. Is it possible that for some reason it's not reading the sequencer.xml file and just using jgroups defaults? Maybe looking for it in another directory? My sequencer.xml is: <!-- Total order protocol stack using the SEQUENCER protocol Version: $Id: sequencer.xml,v 1.1 2006/06/26 13:08:47 emmanuel Exp $ --> <config> <UDP mcast_port="45566" mcast_addr="228.8.8.9" tos="16" ucast_recv_buf_size="20000000" ucast_send_buf_size="640000" mcast_recv_buf_size="25000000" mcast_send_buf_size="640000" loopback="false" discard_incompatible_packets="true" max_bundle_size="64000" max_bundle_timeout="30" use_incoming_packet_handler="true" use_outgoing_packet_handler="false" ip_ttl="2" down_thread="false" up_thread="false" enable_bundling="true"/> <PING timeout="2000" down_thread="false" up_thread="false" num_initial_members="3"/> <MERGE2 max_interval="10000" down_thread="false" up_thread="false" min_interval="5000"/> <FD_SOCK down_thread="false" up_thread="false"/> <!--VERIFY_SUSPECT timeout="1500" down_thread="false"/--> <pbcast.NAKACK max_xmit_size="60000" use_mcast_xmit="false" gc_lag="0" retransmit_timeout="100,200,300,600,1200,2400,4800" down_thread="false" up_thread="false" discard_delivered_msgs="true"/> <UNICAST timeout="300,600,1200,2400,3600" down_thread="false" up_thread="false"/> <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000" down_thread="false" up_thread="false" max_bytes="400000"/> <VIEW_SYNC avg_send_interval="60000" down_thread="false" up_thread="false" /> <pbcast.GMS print_local_addr="true" join_timeout="3000" down_thread="false" up_thread="false" join_retry_timeout="2000" shun="true" handle_concurrent_startup="true" /> <SEQUENCER down_thread="false" up_thread="false" /> <FC max_credits="2000000" down_thread="false" up_thread="false" min_threshold="0.10"/> <!-- FRAG2 frag_size="60000" down_thread="false" up_thread="true"/ --> <!-- pbcast.STATE_TRANSFER down_thread="false" up_thread="false"/--> </config> -Tony --------------------------- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 [EMAIL PROTECTED] http://www.formatdynamics.com <http://www.formatdynamics.com/> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Hodges Sent: Tuesday, June 24, 2008 1:10 PM To: Sequoia general mailing list Subject: Re: [Sequoia] controller errors after attempted bin upgrade to 2.10.10 Hi Tony, JGroups is failing because it cannot bind to IP address 192.168.5.1? Can you edit sequencer.xml and look for this address? You should see something like: <UDP bind_addr="192.168.5.1" etc. If you change it to a real IP address it should work. If you have a single controller with no distribution I think 127.0.0.1 would work fine as well. My file that I use for testing on MacOS X looks like the following: <config> <UDP bind_addr="127.0.0.1" mcast_port="45566" mcast_addr="228.10.10.10" etc. However, this is also for a later version of JGroups namely JGroups 2.6 so there may be some slight differences. Cheers, Robert On 6/24/08 11:37 AM, "Anthony J. Biacco" <[EMAIL PROTECTED]> wrote: They're the default ones from the bin distribution, I copied them over from the dist to my config directory and I haven't changed them at all. (I hadn't changed the default 2.10.9 ones either I was using) # ls -l /opt/sequoia/config total 56 -rw-r--r-- 1 sequoia sequoiagroup 14866 Jul 31 2007 appia.xml drwxr-xr-x 2 sequoia sequoiagroup 4096 Jun 10 12:47 controller -rw-r--r-- 1 sequoia sequoiagroup 3066 Jun 24 11:38 controller_default.properties -rw-r--r-- 1 sequoia sequoiagroup 246 Jun 24 11:38 hedera_appia.properties -rw-r--r-- 1 sequoia sequoiagroup 297 Jun 24 11:38 hedera_jgroups.properties -rw-r--r-- 1 sequoia sequoiagroup 269 Jul 31 2007 java.policy -rw-r--r-- 1 sequoia sequoiagroup 8418 Jun 24 11:38 log4j.properties -rw-r--r-- 1 sequoia sequoiagroup 2172 Jul 31 2007 sequencer.xml drwxr-xr-x 2 sequoia sequoiagroup 4096 Jun 18 10:34 virtualdatabase [EMAIL PROTECTED] config]# ls -l /usr/local/src/sequoia/sequoia-2.10.10-bin/config total 56 -rw-r--r-- 1 root root 14866 Jun 24 11:38 appia.xml drwxr-xr-x 2 root root 4096 Jun 24 11:38 controller -rw-r--r-- 1 root root 3066 Jun 24 11:38 controller_default.properties -rw-r--r-- 1 root root 246 Jun 24 11:38 hedera_appia.properties -rw-r--r-- 1 root root 297 Jun 24 11:38 hedera_jgroups.properties -rw-r--r-- 1 root root 269 Jun 24 11:38 java.policy -rw-r--r-- 1 root root 8418 Jun 24 11:38 log4j.properties -rw-r--r-- 1 root root 2172 Jun 24 11:38 sequencer.xml drwxr-xr-x 2 root root 4096 Jun 24 11:38 virtualdatabase -Tony --------------------------- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]> http://www.formatdynamics.com <http://www.formatdynamics.com/> <http://www.formatdynamics.com/> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Hodges Sent: Tuesday, June 24, 2008 12:29 PM To: Sequoia general mailing list Subject: Re: [Sequoia] controller errors after attempted bin upgrade to 2.10.10 Hi Anthony, Can you post your hedera_jgroups.properties and whichever JGroups config file (e.g., sequence.xml) it is referencing? This looks like a JGroups stack configuration problem. Thanks, Robert On 6/24/08 11:23 AM, "Anthony J. Biacco" <[EMAIL PROTECTED]> wrote: Tried to upgrade from 2.10.9 to 2.10.10 today, but I'm receiving the following errors. Any help is appreciated. Upgrade steps taken are below log messages 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 -Tony --------------------------- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 [EMAIL PROTECTED] http://www.formatdynamics.com _______________________________________________ Sequoia mailing list [email protected] https://forge.continuent.org/mailman/listinfo/sequoia -- Robert Hodges, CTO, Continuent, Inc. Email: [EMAIL PROTECTED] Mobile: +1-510-501-3728 Skype: hodgesrm
_______________________________________________ Sequoia mailing list [email protected] https://forge.continuent.org/mailman/listinfo/sequoia
