I’ve recently noticed a spate of problems with a keepalived install which I’m using to distribute load over several application servers, manifesting itself as:
[874439.982041] keepalived[7079]: segfault at 0 ip 0804d5fe sp bf976e80 error 6 in keepalived[8048000+20000]
[874439.987336] keepalived[7081]: segfault at 0 ip 0804d5fe sp bf976e80 error 6 in keepalived[8048000+20000]
[874439.992815] keepalived[7083]: segfault at 0 ip 0804d5fe sp bf976e80 error 6 in keepalived[8048000+20000]
[874444.956732] __ratelimit: 534 callbacks suppressed
This is using Debian 6.0.1 (squeeze) on i386 architecture.
After lots of digging around it seems the answer is simply that the module ip_vs isn’t loaded.
To fix, just do:
# modprobe ip_vs
It’ll stop the segfaults and all will be returned to sweetness and light.
(This post is intentionally Google-fodder. Hope this helps someone else with the same issues.)
July 20, 2011 at 10:51 pm
I think that in future Debian packages of keepalived, the package will handle the modprobe for this. See this bug:
http://bugs.debian.org/cgi-…
July 20, 2011 at 10:53 pm
Oops. Copied the URL from the wrong browser tab. Try this bug:
http://bugs.debian.org/cgi-…