LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ldirectord and check_http

To: David Rodrigues <drodrig@xxxxxxxxxxxxxxxx>
Subject: Re: ldirectord and check_http
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: andreas.koenig@xxxxxxxx (Andreas J. Koenig)
Date: 05 Sep 2000 13:29:13 +0200
>>>>> On Mon, 4 Sep 2000 23:54:06 -0400 (EDT), David Rodrigues 
>>>>> <drodrig@xxxxxxxxxxxxxxxx> said:

 > Note the line:
 >  if ($res->is_success && (!($recstr =~ /.+/) || $res->content
 > =~/$recstr}/)) {

 > I noticed the "}" in "$recstr}". I couldn't see any reason for it, so I
 > removed it. Now ldirectord appears to work fine.

 > Is the "}" supposed to be there, and was I doing something else wrong to
 > cause the problems (instant removals of all real servers and addition of
 > fallback server), or is this a bug? I'm using the ldirectord with version
 > info of 1.11 2000/06/23 08:01:36.

Your fix is correct and has been applied to the sources several weeks
ago. Your version 1.11 is too old. Get 1.16 from
http://195.96.23.199/linux-ha/


-- 
andreas


<Prev in Thread] Current Thread [Next in Thread>