Jose Angel de Bustos Perez schrieb am Montag, den 03. Oktober 2005:

*snip*
> Thanks, but your workaround doesn't work:
> 
> ipvswrapper.c: In function `ipvs_set_rule':
> ipvswrapper.c:602: error: structure has no member named `conn_flags'
> make[3]: *** [ipvswrapper.o] Error 1
> make[3]: Leaving directory 
> `/usr/src/pruebas/keepalived-1.1.11/keepalived/check'
> make[2]: *** [all] Error 1
> make[2]: Leaving directory `/usr/src/pruebas/keepalived-1.1.11/keepalived'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/src/pruebas/keepalived-1.1.11'
> make: *** [debian/stamp-makefile-build] Error 2
> 
> :-(
> I've download kernel headers, in case there was something wrong in the ones I 
> have 
> intalled in the server.
> 
> > 
> > But if you wan't some tipp from me. Use a 2.6 kernel for keepalived, the
> > perfomance is much much better.
> 
> Unfortunately, we can't. We have serious stability problems with kernels 2.6 
> and debian
> under vmware ESX.
If you don't want zombies, switch to a recent 2.4 kernel, then keepalived
should work out of the box! really! 

But anyhow, you are right. The keepalived configure detects it should be
compiled for a 2.6 kernel, that depends on the version in
/usr/include/linux/version.h. I currently don't have a good workaround,
because I'm very busy today I'm not able to provide a good workaround. But
you really (!) want to get keepalived working with that ancient version of
the ip_vs stack try the following patch to configure.in. Its awfull, its bad,
but it should work. Please don't blame me for that:


--- keepalived-1.1.11/configure.in      2005-03-01 00:25:03.000000000 +0100
+++ /home/formorer/tmp/keepalived-1.1.11/configure.in   2005-10-03 
13:47:10.065706280 +0200
@@ -76,16 +76,11 @@
   ])
   rm -f linuxinfo
   AC_MSG_RESULT([$LINUX_MAJOR.$LINUX_MINOR.$LINUX_PATCH])
-  if test "$LINUX_MINOR" = "6"; then
-    KERN="_KRNL_2_6_"
-  elif test "$LINUX_MINOR" = "4"; then
-    KERN="_KRNL_2_4_"
-  else
-    KERN="_KRNL_2_2_"
-  fi
+  KERN="_KRNL_2_4_"
   if test "$LINUX_MAJOR" = "0" -a "$LINUX_MINOR" = "0" -a "$LINUX_PATCH" = 
"0"; then
     AC_MSG_WARN([Cannot determine Linux Kernel version.])
   fi
+  
 
 AC_CHECK_FILE($kernelpath/net/core/link_watch.c, [
                 LINKWATCH_SUPPORT="_WITH_LINKWATCH_"
 


It told you its evil...

Best wishes
Alex



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to