Package: keepalived
Version: 1:1.1.20-1+squeeze1

keepalived is unable to load the 'ip_vs' kernel module which prevents the
service from starting. Note you can manually workaround this my loading
'ip_vs' prior to starting keepalived.

It appears the ipvswrapper.c contains the '-k' option which is not
supported on the modprobe version of squeeze.

keepalived-1.1.20/keepalived/check/ipvswrapper.c:    char *argv[] = {
"/sbin/modprobe", "-s", "-k", "--", "ip_vs", NULL };

Below is some log output during the start process of keepalived:

./keepalived -dnl

/sbin/modprobe: invalid option -- 'k'
Usage: /sbin/modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n] [-i]
[-q] [-b] [-o <modname>] [ --dump-modversions ] <modname> [parameters...]
/sbin/modprobe -r [-n] [-i] [-v] <modulename> ...
/sbin/modprobe -l -t <dirname> [ -a <modulename> ...]

/var/log/messages

Jun 28 10:30:19 myhost Keepalived_healthcheckers: IPVS: Can't initialize
ipvs: Protocol not available
Jun 28 10:30:19 myhost Keepalived_healthcheckers: Registering Kernel
netlink reflector
Jun 28 10:30:19 myhost Keepalived_healthcheckers: Registering Kernel
netlink command channel
Jun 28 10:30:19 myhost Keepalived_healthcheckers: Opening file
'/etc/keepalived/keepalived.conf'.
Jun 28 10:30:19 myhost Keepalived_healthcheckers: Configuration is using :
9527 Bytes

/var/log/kern.log

Jun 28 10:30:18 myhost kernel: [ 1217.462867] keepalived[22244]: segfault
at 0 ip 08052f7e sp bfc4de90 error 6 in keepalived[8048000+20000]

Reply via email to