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: 99
Registered: May 2007
Member
From: *static.optonline.net
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: Wed Jul 23 05:51:18 EDT 2014
Powered by FUDforum Powered by Parallels Virtuozzo Containers