Balance unable to start ("setsockopt(IPV6_V6ONLY=0): Protocol not available)

Bug #476437 reported by Nelson Chen
50
This bug affects 9 people
Affects Status Importance Assigned to Milestone
balance (Debian)
Fix Released
Unknown
balance (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Karmic by Vargon
Nominated for Lucid by Vargon

Bug Description

Binary package hint: balance

This package is completely unusable. No matter what option is passed to -b or port, balance will error out with a "setsockopt(IPV6_V6ONLY=0): Protocol not available" message.

FYI:
I do not have miredo installed or ipv6 access.
The current version as of this report worked fine in Jaunty.
Using the version from hardy works (it contains no IPv6 capabilities).

Revision history for this message
t3r0 (t3r0) wrote :

I can confirm this bug.

# balance -f -d -p 25 host1 host2
argv[0]=balance
bindhost=NULL
source port 25
file /var/run/balance/balance.25.0.0.0.0 already exists
setsockopt(IPV6_V6ONLY=0): Protocol not available

Revision history for this message
Darren Davison (darren-davisononline) wrote :

confirmed here too

Revision history for this message
tgo (thomas-obermair) wrote :

The problem just has been fixed with release 3.48 available here: http://www.inlab.de/balance.html

Nelson Chen (crazysim)
description: updated
Revision history for this message
Craig Sawyer (csawyer-yumaed) wrote :

This problem isn't fixed in the latest versions, the change appears that balance now needs IPv6 addresses if you specify IP addresses (versus host names). to fix this problem for v4 addresses add ::ffff: to the beginning of your address. for example:

balance -b 192.168.1.2 631 spiffycupshost

(which gives you this error)
should now become:
balance -b ::ffff:192.168.1.2 631 spiffycupshost

and the error will go away.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in balance (Ubuntu):
status: New → Confirmed
Changed in balance (Debian):
status: Unknown → New
Revision history for this message
Theodotos Andreou (theodotos) wrote :

Still there on Precise

Revision history for this message
rcarvalho (rcarvalho) wrote :

I solved it downgrade balance version to balance-3.35

https://www.inlab.de/balance-3.35.tar.gz

I hope that they keep this IPV4 old release alive until IPV4 exists...

wget https://www.inlab.de/balance-3.35.tar.gz
tar -xzvf balance-3.35.tar.gz
cd balance-3.35
make (may be you must first 'apt-get install make gcc')
make install

Regards
Robinson

Changed in balance (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.