OpenVZ Forum

Members   Search      Help    Register    Login    Home
Home » General » Support » Binding to non-local IP on startup
Binding to non-local IP on startup [message #49078] Fri, 15 March 2013 12: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: Sun Sep 21 18:07:42 EDT 2014
Powered by FUDforum Powered by Parallels Virtuozzo Containers