Re: [Keepalived-devel] Keepalived communication with kernel failing after some time
Status: Beta
Brought to you by:
acassen
|
From: Ronie G. H. <ro...@ro...> - 2011-12-07 01:37:15
|
Hi Vincent,
I applied the bind-afunspec.patch in a wrong way, resulting in another patch (do-not-need-kernel-sources.patch) to be ignored.
After fixing it, I recompiled keepalived (with bind-afunspec.patch), and now healthcheckers is working again. Thanks a lot and sorry for my mistake!
When I was looking at keepalived sources, I found 'if ((a1->sin_addr.s_addr == a1->sin_addr.s_addr) &&' in include/check_data.h
Shouldn't it be 'if ((a1->sin_addr.s_addr == a2->sin_addr.s_addr) &&'
include/check_data.h
if ((a1->sin_addr.s_addr == a1->sin_addr.s_addr) &&
(a1->sin_port == a2->sin_port))
return 1;
Thanks again, I really appreciate your help,
*Ronie Henrich*
*GIT - Sistemas Ltda* <http://www.git.com.br>
Novo Hamburgo, RS Brazil <http://maps.google.com/maps?q=%2CNovo+Hamburgo%2CRS%2CBrazil&hl=en>
*http://br.linkedin.com/in/roniegh*
See who we know in common <http://www.linkedin.com/e/wwk/11684020/>
Vincent Bernat wrote:
> On Mon, 05 Dec 2011 09:39:20 -0500, Ronie Gilberto Henrich wrote:
>> Hi,
>>
>> After applying the bind-afunspec.patch, healthcheckers does not start
>> anymore.
>>
>> Is ipv4 sa_family being set to AF_INET at some point in
>> healthcheckers?
> Yes, it is done in inet_stosockaddr(). It is a bit odd that my patch
> prevents healthcheckers to start since it should only prevent bind()
> which is not used in your case (except if you use bindto directive? But
> in this case, it was not empty). Which healthchecker are you using with
> which options?
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Keepalived-devel mailing list
> Kee...@li...
> https://lists.sourceforge.net/lists/listinfo/keepalived-devel
|