Binding to non-local IP on startup [message #49078] |
Fri, 15 March 2013 16:39 |
seanfulton
Messages: 105 Registered: May 2007
|
Senior Member |
|
|
Hello, I'm trying to set up an haproxy service in OpenVZ using IP addresses that will be failed over from another machine using heartbeat or similar.
In order to avoid starting haproxy on fail-over, I'd like to have it already running. I used:
echo "net.ipv4.ip_nonlocal_bind = 1" >>/etc/sysctl.conf
sysctl -p
on the host node.
Restarted the VE,
But I still get:
Starting frontend www.SOMENAME.com_80: cannot bind socket [SOMEIP:80]
from haproxy
Any idea what I am missing?
|
|
|