On Fri, 07 Jul 2006 12:56:15 +0100, malcolm wrote:
> v1.132 ldirectord HTTPS negotiate doesn't seem to work:
>
> DEBUG2: Invoking ldirectord invoked as: /etc/rc.d/init.d/ldirectord start
> DEBUG2: Starting Linux Director v1.132 with pid: 4944
> DEBUG2: Changed virtual server: 192.168.1.21:443
> DEBUG2: Enabled server=192.168.1.27
> DEBUG2: Checking negotiate: real
> server=negotiate:https:tcp:192.168.1.27:443:::1:\/index\.html:Loadbalancer
> (virtual=tcp:192.168.1.21:443)
> DEBUG2: check_http: url="https://192.168.1.27:443/index.html"
> virtualhost="192.168.1.27"
> DEBUG2: SSL-Cipher:
> DEBUG2: SSL-Cert-Subject:
> DEBUG2: SSL-Cert-Issuer:
> DEBUG2: Deleted real server: 192.168.1.27:443 ( x 192.168.1.21:443)
> DEBUG2: Added fallback server: 127.0.0.1:443 ( x 192.168.1.21:443)
> (Weight set to 1)
> DEBUG2: Disabled server=192.168.1.27
> DEBUG2: check_http: https://192.168.1.27:443/index.html is down
>
> Why is it doing an HTTP check for a HTTPS negotiate?!
> I'll take a look at the code but Perl looks like Russian to me... Any
> pointers?
>
>
> v1.99 works fine as bellow same config file.....
At some stage the check_http() and check_https() were merged,
and the resulting function is called check_http().
So HTTPS checks really are preformed by check_http(),
and they really do work (well, on my box at least).
At a wild guess, I would say that your version of LWP does
not support HTTPS. Which would obviously be a problem,
and probably one that ldirectord should know about.
http://search.cpan.org/~gaas/libwww-perl-5.805/lib/LWP.pm
Could you look into what version of LWP you have.
I have 5.805 (Debian's 5.805-1).
I also thought that perhaps LWP needs some other modules that
you don't have. In any case, it wants investigating.
--
Horms
H: http://www.vergenet.net/~horms/
W: http://www.valinux.co.jp/en/
|