Debian Bug report logs - #619415
keepalived die and respawns infinity amount of times

version graph

Package: keepalived; Maintainer for keepalived is Alexander Wirt <formorer@debian.org>; Source for keepalived is src:keepalived.

Reported by: sharif <sharif@shopto.net>

Date: Wed, 23 Mar 2011 18:03:01 UTC

Severity: important

Tags: patch

Found in version keepalived/1:1.1.20-1

Done: Alexander Wirt <formorer@formorer.de>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, sharif@shopto.net, Alexander Wirt <formorer@debian.org>:
Bug#619415; Package keepalived. (Wed, 23 Mar 2011 18:03:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to sharif <sharif@shopto.net>:
New Bug report received and forwarded. Copy sent to sharif@shopto.net, Alexander Wirt <formorer@debian.org>. (Wed, 23 Mar 2011 18:03:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: sharif <sharif@shopto.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: keepalived die and respawns infinity amount of times
Date: Wed, 23 Mar 2011 17:59:38 +0000
Package: keepalived
Version: 1:1.1.20-1
Severity: important


I have to re-install the whole system as i cannot figure out why this happens. i am using debian squeeze 64 bit.

keepalived works for a while but when i come back to it next day i have to reconfigure the configuration file: meaning comment out all the realservers and stop and start keepalived then uncomment each realserver one by one until they work. 

as the subject mentions there are times when it just constantly restarts itself. a bit of example from syslog:



Mar 23 17:49:23 debian2 Keepalived_healthcheckers: Initializing ipvs 2.6
Mar 23 17:49:23 debian2 Keepalived_healthcheckers: IPVS: Can't initialize ipvs: Protocol not available
Mar 23 17:49:23 debian2 Keepalived_healthcheckers: Registering Kernel netlink reflector
Mar 23 17:49:23 debian2 Keepalived_healthcheckers: Registering Kernel netlink command channel
Mar 23 17:49:23 debian2 Keepalived_healthcheckers: Opening file '/etc/keepalived/keepalived.conf'.
Mar 23 17:49:23 debian2 Keepalived_healthcheckers: Configuration is using : 22569 Bytes
Mar 23 17:49:23 debian2 Keepalived: Healthcheck child process(7747) died: Respawning
Mar 23 17:49:23 debian2 Keepalived: Starting Healthcheck child process, pid=7749
Mar 23 17:49:23 debian2 Keepalived_healthcheckers: Initializing ipvs 2.6
Mar 23 17:49:23 debian2 Keepalived_healthcheckers: IPVS: Can't initialize ipvs: Protocol not available
Mar 23 17:49:23 debian2 Keepalived_healthcheckers: Registering Kernel netlink reflector
Mar 23 17:49:23 debian2 Keepalived_healthcheckers: Registering Kernel netlink command channel
Mar 23 17:49:23 debian2 Keepalived_healthcheckers: Opening file '/etc/keepalived/keepalived.conf'.
Mar 23 17:49:23 debian2 Keepalived_healthcheckers: Configuration is using : 22569 Bytes
Mar 23 17:49:23 debian2 Keepalived: Healthcheck child process(7749) died: Respawning
Mar 23 17:49:23 debian2 Keepalived: Starting Healthcheck child process, pid=7751
Mar 23 17:49:23 debian2 Keepalived: Terminating on signal
Mar 23 17:49:23 debian2 Keepalived: Stopping Keepalived v1.1.20 (08/18,2010)
Mar 23 17:49:23 debian2 Keepalived_vrrp: Terminating VRRP child process on signal
Mar 23 17:49:23 debian2 Keepalived_healthcheckers: Initializing ipvs 2.6
Mar 23 17:49:23 debian2 Keepalived_healthcheckers: IPVS: Can't initialize ipvs: Protocol not available
Mar 23 17:49:23 debian2 Keepalived_healthcheckers: Registering Kernel netlink reflector
Mar 23 17:49:23 debian2 Keepalived_healthcheckers: Registering Kernel netlink command channel
Mar 23 17:49:23 debian2 Keepalived_healthcheckers: Opening file '/etc/keepalived/keepalived.conf'.



-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages keepalived depends on:
ii  iproute                 20100519-3       networking and traffic control too
ii  ipvsadm                 1:1.25.clean-1   Linux Virtual Server support progr
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libpopt0                1.16-1           lib for parsing cmdline parameters
ii  libssl0.9.8             0.9.8o-4squeeze1 SSL shared libraries

keepalived recommends no packages.

keepalived suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Alexander Wirt <formorer@debian.org>:
Bug#619415; Package keepalived. (Fri, 01 Apr 2011 03:39:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dan Wallis <mrdanwallis@gmail.com>:
Extra info received and forwarded to list. Copy sent to Alexander Wirt <formorer@debian.org>. (Fri, 01 Apr 2011 03:39:05 GMT) Full text and rfc822 format available.

Message #10 received at 619415@bugs.debian.org (full text, mbox):

From: Dan Wallis <mrdanwallis@gmail.com>
To: 619415@bugs.debian.org
Subject: Work-around: probe ip_vs
Date: Fri, 1 Apr 2011 16:34:12 +1300
As a work-around, running "modprobe ip_vs" seems to get things going
again here. It appears the squeeze version of module-init-tools
doesn't load this on boot like the lenny version did. I'm looking into
that next.




Information forwarded to debian-bugs-dist@lists.debian.org, Alexander Wirt <formorer@debian.org>:
Bug#619415; Package keepalived. (Tue, 05 Apr 2011 00:39:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dan Wallis <mrdanwallis@gmail.com>:
Extra info received and forwarded to list. Copy sent to Alexander Wirt <formorer@debian.org>. (Tue, 05 Apr 2011 00:39:03 GMT) Full text and rfc822 format available.

Message #15 received at 619415@bugs.debian.org (full text, mbox):

From: Dan Wallis <mrdanwallis@gmail.com>
To: 619415@bugs.debian.org
Subject: Patch for keepalived init.d script: probe required module
Date: Tue, 5 Apr 2011 12:37:50 +1200
Okay, looking at some other init scripts, it seems the Debian way is
for the init script to load the required modules. See acpid,
avahi-daemon, bind9, binfmt-support, cups, fuse, loadcpufreq, lvm2,
nfs-common...

Attached patch adds similar functionality to keepalived.
Alternatively, one could use a simpler "modprobe -q ip_vs || true" if
preferred.




Information forwarded to debian-bugs-dist@lists.debian.org, Alexander Wirt <formorer@debian.org>:
Bug#619415; Package keepalived. (Tue, 05 Apr 2011 00:42:18 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dan Wallis <mrdanwallis@gmail.com>:
Extra info received and forwarded to list. Copy sent to Alexander Wirt <formorer@debian.org>. (Tue, 05 Apr 2011 00:42:18 GMT) Full text and rfc822 format available.

Message #20 received at 619415@bugs.debian.org (full text, mbox):

From: Dan Wallis <mrdanwallis@gmail.com>
To: 619415@bugs.debian.org
Subject: Re: Bug#619415: Patch for keepalived init.d script: probe required module
Date: Tue, 5 Apr 2011 12:40:53 +1200
[Message part 1 (text/plain, inline)]
> Attached patch adds similar functionality to keepalived.
> Alternatively, one could use a simpler "modprobe -q ip_vs || true" if
> preferred.

Would help if I actually attached the patch. :)
[keepalived.patch (text/x-patch, attachment)]

Added tag(s) patch. Request was from Dan Wallis <mrdanwallis@gmail.com> to control@bugs.debian.org. (Tue, 05 Apr 2011 00:57:03 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Alexander Wirt <formorer@debian.org>:
Bug#619415; Package keepalived. (Wed, 08 Jun 2011 23:27:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dan Wallis <mrdanwallis@gmail.com>:
Extra info received and forwarded to list. Copy sent to Alexander Wirt <formorer@debian.org>. (Wed, 08 Jun 2011 23:27:03 GMT) Full text and rfc822 format available.

Message #27 received at 619415@bugs.debian.org (full text, mbox):

From: Dan Wallis <mrdanwallis@gmail.com>
To: Alexander Wirt <formorer@debian.org>
Cc: 619415@bugs.debian.org
Subject: Point-release upcoming; please include patch for bug 619415
Date: Thu, 9 Jun 2011 11:25:31 +1200
There's a point-release in a couple of weeks. Any chance this could be
fixed by then?




Information forwarded to debian-bugs-dist@lists.debian.org, Alexander Wirt <formorer@debian.org>:
Bug#619415; Package keepalived. (Tue, 16 Aug 2011 01:57:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dan Wallis <mrdanwallis@gmail.com>:
Extra info received and forwarded to list. Copy sent to Alexander Wirt <formorer@debian.org>. (Tue, 16 Aug 2011 01:57:05 GMT) Full text and rfc822 format available.

Message #32 received at 619415@bugs.debian.org (full text, mbox):

From: Dan Wallis <mrdanwallis@gmail.com>
To: 619415@bugs.debian.org
Subject: modprobe is being called, but with invalid arguments
Date: Tue, 16 Aug 2011 13:53:32 +1200
I've discovered today that keepalived is actually trying to probe this
module, but the command is failing:

lvs1:~# while ! ps auxwwwwwwwwwwwwwf | grep -v grep | grep -C3
modprobe ; do true; done
root      1145  1.1  0.2  16396   724 ?        Ss   13:41   0:03
/usr/sbin/keepalived
root      1259  0.0  0.0      0     0 ?        R    13:47   0:00  \_
[keepalived]
root      1266  0.0  0.2  16396   680 ?        S    13:47   0:00  \_
/usr/sbin/keepalived
root      1267  0.0  0.0    312   136 ?        R    13:47   0:00
\_ /sbin/modprobe -s -k -- ip_vs
root      1181  0.0  0.4  22420  1040 ?        Ss   13:41   0:00 /usr/sbin/cron
root      1357  0.0  0.2  10208   688 ?        Ss   13:41   0:00 /usr/sbin/inetd
root      2467  0.6 23.0 133076 57852 ?        Ss   13:42   0:01
/usr/bin/ruby1.8 /usr/bin/puppet agent -w 5
lvs1:~# /sbin/modprobe -s -k -- ip_vs
/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> ...]
lvs1:~# modprobe ip_vs
lvs1:~#




Information forwarded to debian-bugs-dist@lists.debian.org, Alexander Wirt <formorer@debian.org>:
Bug#619415; Package keepalived. (Fri, 26 Aug 2011 05:18:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dan Wallis <mrdanwallis@gmail.com>:
Extra info received and forwarded to list. Copy sent to Alexander Wirt <formorer@debian.org>. (Fri, 26 Aug 2011 05:18:03 GMT) Full text and rfc822 format available.

Message #37 received at 619415@bugs.debian.org (full text, mbox):

From: Dan Wallis <mrdanwallis@gmail.com>
To: 619415@bugs.debian.org
Subject: New patch for modprobe problem: omit invalid "-k" argument
Date: Fri, 26 Aug 2011 17:15:49 +1200
[Message part 1 (text/plain, inline)]
Based on previous findings, the attached patch is probably a better
solution for this bug.
[modprobe-arguments-fix.patch (text/x-diff, attachment)]

Reply sent to Alexander Wirt <formorer@formorer.de>:
You have taken responsibility. (Thu, 24 Nov 2011 17:21:03 GMT) Full text and rfc822 format available.

Notification sent to sharif <sharif@shopto.net>:
Bug acknowledged by developer. (Thu, 24 Nov 2011 17:21:03 GMT) Full text and rfc822 format available.

Message #42 received at 619415-done@bugs.debian.org (full text, mbox):

From: Alexander Wirt <formorer@formorer.de>
To: Dan Wallis <mrdanwallis@gmail.com>, 619415-done@bugs.debian.org
Subject: Re: Bug#619415: New patch for modprobe problem: omit invalid "-k" argument
Date: Thu, 24 Nov 2011 18:11:55 +0100
Dan Wallis schrieb am Friday, den 26. August 2011:

> Based on previous findings, the attached patch is probably a better
> solution for this bug.
Upps, I fixed that in -2. But I forgot to close this bug.

Thanks

Alex





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 23 Dec 2011 07:29:37 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 03:10:11 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.