OpenVZ Forum

Home » General » Support » Binding to non-local IP on startup
Binding to non-local IP on startup [message #49078] Fri, 15 March 2013 16:39
seanfulton is currently offline  seanfulton
Messages: 100
Registered: May 2007
Senior Member
From: *
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?

Previous Topic: Ressources usage seems strange
Next Topic: No vz kernel for RHEL5 released for some time.
Goto Forum:

Current Time: Thu Apr 19 19:34:37 GMT 2018