Bug#305751: Information about 305751 bug

2005-10-03 Thread Jose Angel de Bustos Perez

- Original Message -
From: "Alexander Wirt" <[EMAIL PROTECTED]>
To: "Jose Angel de Bustos Perez" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#305751: Information about 305751 bug
Date: Mon, 3 Oct 2005 11:12:28 +0200

> 
> Jose Angel de Bustos Perez schrieb am Montag, den 03. Oktober 2005:
> 
> >
> >
> > Hi,
> >
> > I had a problem with keepalived source package in debian sarge.
> >
> > Linux kernel is 2.4.27-2-686-smp.
> You don't want to use keepalive with this kernel, it has serious bugs (see
> README.Debian for the appropiate threads).
> 
> > Viewing bug reports of this package appears:
> >
> > "After modifying it to use 2.4.27 kernel-headers and rebuilding, it works"
> Indeed, but the bugs will stay.
> If you REALLY want to use it whith this kernel do he following:
>   apt-get source keepalived
>   install the kernel-headers package
>   copy cp ip_vs.h from include/net/ to debian/include/net in the source 
> package
>   rebuild the package.
> 
> This is all.

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.

> 
> Best wishes
> Alex







-- 
___
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze



Bug#305751: Information about 305751 bug

2005-10-03 Thread Jose Angel de Bustos Perez


Hi,

I had a problem with keepalived source package in debian sarge.

Linux kernel is 2.4.27-2-686-smp.

Viewing bug reports of this package appears:

"After modifying it to use 2.4.27 kernel-headers and rebuilding, it works"

Well, if I compile it (./configure ; make ; make install) it works, but if  I 
build the binary package (dpkg-buildpackage) the package is not valid and 
continues with the same error:

"Keepalived_healthcheckers: IPVS: Module is wrong version"

What I realized is that when configure script is runned by dpgk-buildpackge 
linux kernel version is supposed to be 2.6.0-test7 which is the version against 
was compiled libc (in fact there is a read operation to /lib/libc-2.3.2.so 
throught  /lib/libc.so.6 (a symbolic link)). If you run uname -r you get the 
correct kernel version and there is only one kernel headers in the system under 
/usr/src/linux (2.4.27-2-686-smp). For this reason when I compile it it links 
libipvs-2.6 instead of libipvs-2.4.

I tried changing in configure the conftest.c:

fprintf (fp, "%s\n", UTS_RELEASE); to fprintf (fp, "%s\n", "2.4.27-2-686-smp");

and then all went ok but there are a lot of errors during compilation. That 
time it generated the correct libipvs makefile, libipvs-2.4. So I supposed that 
there is something wrong during the debianization of the package for 2.4 
kernels.

I am not been able to solve it, yet. I hope this can be useful to improve 
keepalive source package.

Best wishes,

José Angel de Bustos Pérez

-- 
___
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze