[prev in list] [next in list] [prev in thread] [next in thread] 

List:       keepalived-devel
Subject:    Re: [Keepalived-devel] Fwd: Re: segmentation fault when update from keepalived 1.2.13 to 1.2.14
From:       Alexandre Cassen <acassen () gmail ! com>
Date:       2014-12-18 15:13:32
Message-ID: CAONz4a1A8NGjLAnTY1R9MEKq4f_rr9qYTfH45TOHa+dWzB4yZw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


smtp_server MUST be an IP address

On Thu, Dec 18, 2014 at 4:10 PM, toni cunyat <toni@cunyat.net> wrote:
>
> I don't noticed that i not repplied to the list, I repplied directly to
> frank :-(
> Sorry
> ---------- Missatge reenviat ---------
>
> > Hi Frank
> > My conf is separated into two files,
> > - /etc/keepalived/keepalived.conf
> > - /etc/keepalived/hosts/radiustest_MASTER_Virtual_ID_78.conf
> >
> >
> > If you need more debug output let me know.
> >
> > Regards.
> >
> >
> > #########/etc/keepalived/keepalived.conf###########
> > global_defs {
> >     notification_email {
> >         toni@localhost.localdomain
> >     }
> >     notification_email_from keepalived@tomaca.localhost.localdomain
> >     smtp_server post.localhost.localdomain
> >     smtp_connect_timeout 30
> > }
> > include /etc/keepalived/hosts/*.conf
> > ##############################################
> >
> >
> >
> > ########/etc/keepalived/hosts/radiustest_MASTER_Virtual_ID_78.conf######
> > vrrp_instance VI_1 {
> >     interface eth0
> >         state MASTER # or "BACKUP" on backup
> >         priority 101 # 101 on master, 100 on backup
> >         virtual_router_id 78
> >
> >         smtp_alert # Activate SMTP notifications
> >         authentication {
> >             auth_type PASS
> >                 auth_pass radiustest
> >         }
> >
> >     virtual_ipaddress {
> >          10.15.3.96/22 dev eth0
> >     }
> >
> > }
> > ####AUTH
> > virtual_server_group RADIUS_AUTH{
> >         10.15.3.96 1812 #auth
> > }
> >
> > virtual_server group RADIUS_AUTH{
> >         delay_loop 6
> >         lvs_sched sh
> >         lvs_method DR
> >         protocol UDP
> >         ops
> >         persistence_timeout 30
> >         alpha
> >         #Servidor en cas de que fallen els checks
> >         sorry_server 10.15.2.51 1812
> >
> >         real_server 10.15.2.51 1812 {
> >             MISC_CHECK {
> >                 misc_path
> "/etc/keepalived/misc_check/radius_test_peap.sh 10.15.2.51"
> >                     misc_timeout 4
> >             }
> >
> >         }
> >         real_server 10.15.2.50 1812 {
> >             MISC_CHECK {
> >                 misc_path
> "/etc/keepalived/misc_check/radius_test_peap.sh 10.15.2.50"
> >                     misc_timeout 4
> >             }
> >
> >         }
> > }
> >
> > ####Accounting
> > virtual_server_group RADIUS_ACC{
> >         10.15.3.96 1813 #acc
> > }
> >
> > virtual_server group RADIUS_ACC{
> >         delay_loop 6
> >         lvs_sched sh ops
> >         lvs_method DR
> >         protocol UDP
> >         ops
> >         persistence_timeout 30
> >         alpha
> >         #Servidor en cas de que fallen els checks
> >         sorry_server 10.15.2.51 1813
> >
> >         real_server 10.15.2.51 1813 {
> >             MISC_CHECK {
> >                 misc_path "/etc/keepalived/misc_check/radius_test_acc.sh
> 10.15.2.51"
> >                     misc_timeout 4
> >             }
> >
> >         }
> >         real_server 10.15.2.50 1813 {
> >             MISC_CHECK {
> >                 misc_path "/etc/keepalived/misc_check/radius_test_acc.sh
> 10.15.2.50"
> >                     misc_timeout 4
> >             }
> >
> >         }
> > }
> > ################################################
>
> >
> > 2014-12-18 14:39 GMT+01:00 Frank Baalbergen <frank.baalbergen@mendix.com
> >:
> >>
> >> Hi Toni,
> >>
> >> Could you share your keepalived.conf? Then we can try to reproduce this
> issue.
> >>
> >> Regards,
> >>
> >> Frank
> >>
> >>
> >> On 12/18/2014 01:17 PM, toni cunyat wrote:
> >>>
> >>> Hi all.
> >>> I don't found a bugzilla or similar to send a bug report, sorry in
> >>> advance if I'm in a wrong place.
> >>> Also sorry because  english is'nt my main language :-(
> >>>
> >>> I've 2 freeradius and also a 2 keepalived instances running keepalived
> >>> 1.2.13, but when I tried to update to version 1.2.14 keepalived
> crashes.
> >>>
> >>> All tests are done with MASTER runing and backup stopped, under debian
> >>> wheezy kernel 3.2.0-4-amd64
> >>>
> >>>
> >>> If I run a only checker (-C) only keepalived no segfault, also if I
> >>> start keepalived with vrrp only, -P (or vrrp+check) a segfault and a
> >>> loops trying to start.
> >>>
> >>> I attach a log messages when I try to start keepalived.
> >>>
> >>>
> >>> Also compiled keepalived in debug mode:
> >>>
> >>> free  [ 21:125], 0x24ea6d0,   16 at vector.c, 240, vector_free
> >>> Configuration is using : 70145 Bytes
> >>> Using LinkWatch kernel netlink reflector...
> >>> zalloc[ 21:125], 0x24ed2c0,   80 at scheduler.c, 228, thread_new
> >>> zalloc[ 22:125], 0x24ec910,  168 at vrrp_scheduler.c, 434, alloc_sock
> >>> zalloc[ 23:125], 0x24ec120,   24 at list.c,  36, alloc_element
> >>> zalloc[ 24:125], 0x24ec9d0,   24 at list.c,  36, alloc_element
> >>> zalloc[ 25:125], 0x24eca00,   80 at scheduler.c, 228, thread_new
> >>> VRRP sockpool: [ifindex(2), proto(112), unicast(0), fd(10,11)]
> >>> Segmentation fault
> >>>
> >>> I'm not a C programmer but let me know if test or additional info is
> needed.
> >>>
> >>> Toni Cunyat
> >>>
> >>>
> >>>
> ------------------------------------------------------------------------------
> >>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> >>> from Actuate! Instantly Supercharge Your Business Reports and
> Dashboards
> >>> with Interactivity, Sharing, Native Excel Exports, App Integration &
> more
> >>> Get technology previously reserved for billion-dollar corporations,
> FREE
> >>>
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Keepalived-devel mailing list
> >>> Keepalived-devel@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/keepalived-devel
> >>>
> >>
> >>
> >> --
> >> Frank Baalbergen - System / Network Engineer
> >> T +31 (0)10 2760434 | frank.baalbergen@mendix.com | www.mendix.com
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Keepalived-devel mailing list
> Keepalived-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/keepalived-devel
>
>

[Attachment #5 (text/html)]

<div dir="ltr">smtp_server MUST be an IP address</div><div \
class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 18, 2014 at 4:10 PM, \
toni cunyat <span dir="ltr">&lt;<a href="mailto:toni@cunyat.net" \
target="_blank">toni@cunyat.net</a>&gt;</span> wrote:<blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I \
don&#39;t noticed that i not repplied to the list, I repplied directly to frank \
:-(<br> Sorry<br>
---------- Missatge reenviat ---------</p>
<p dir="ltr">&gt; Hi Frank<br>
&gt; My conf is separated into two files,<br>
&gt; - /etc/keepalived/keepalived.conf<br>
&gt; - /etc/keepalived/hosts/radiustest_MASTER_Virtual_ID_78.conf<br>
&gt;<br>
&gt;<br>
&gt; If you need more debug output let me know.<br>
&gt;<br>
&gt; Regards.<br>
&gt;<br>
&gt;<br>
&gt; #########/etc/keepalived/keepalived.conf###########<br>
&gt; global_defs {<br>
&gt;        notification_email {<br>
&gt;                toni@localhost.localdomain<br>
&gt;        }<br>
&gt;        notification_email_from keepalived@tomaca.localhost.localdomain<br>
&gt;        smtp_server post.localhost.localdomain<br>
&gt;        smtp_connect_timeout 30<br>
&gt; }<br>
&gt; include /etc/keepalived/hosts/*.conf<br>
&gt; ##############################################<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ########/etc/keepalived/hosts/radiustest_MASTER_Virtual_ID_78.conf######<br>
&gt; vrrp_instance VI_1 {<br>
&gt;        interface eth0<br>
&gt;                state MASTER # or &quot;BACKUP&quot; on backup<br>
&gt;                priority 101 # 101 on master, 100 on backup<br>
&gt;                virtual_router_id 78<br>
&gt;<br>
&gt;                smtp_alert # Activate SMTP notifications<br>
&gt;                authentication {<br>
&gt;                        auth_type PASS<br>
&gt;                                auth_pass radiustest<br>
&gt;                }<br>
&gt;<br>
&gt;        virtual_ipaddress {<br>
&gt;                  <a href="http://10.15.3.96/22" \
target="_blank">10.15.3.96/22</a> dev eth0<br> &gt;        }<br>
&gt;<br>
&gt; }<br>
&gt; ####AUTH<br>
&gt; virtual_server_group RADIUS_AUTH{<br>
&gt;                10.15.3.96 1812 #auth<br>
&gt; }<br>
&gt;<br>
&gt; virtual_server group RADIUS_AUTH{<br>
&gt;                delay_loop 6<br>
&gt;                lvs_sched sh<br>
&gt;                lvs_method DR<br>
&gt;                protocol UDP<br>
&gt;                ops<br>
&gt;                persistence_timeout 30<br>
&gt;                alpha<br>
&gt;                #Servidor en cas de que fallen els checks<br>
&gt;                sorry_server 10.15.2.51 1812<br>
&gt;<br>
&gt;                real_server 10.15.2.51 1812 {<br>
&gt;                        MISC_CHECK {<br>
&gt;                                misc_path \
&quot;/etc/keepalived/misc_check/radius_test_peap.sh 10.15.2.51&quot;<br> &gt;        \
misc_timeout 4<br> &gt;                        }<br>
&gt;<br>
&gt;                }<br>
&gt;                real_server 10.15.2.50 1812 {<br>
&gt;                        MISC_CHECK {<br>
&gt;                                misc_path \
&quot;/etc/keepalived/misc_check/radius_test_peap.sh 10.15.2.50&quot;<br> &gt;        \
misc_timeout 4<br> &gt;                        }<br>
&gt;<br>
&gt;                }<br>
&gt; }<br>
&gt;<br>
&gt; ####Accounting<br>
&gt; virtual_server_group RADIUS_ACC{<br>
&gt;                10.15.3.96 1813 #acc<br>
&gt; }<br>
&gt;<br>
&gt; virtual_server group RADIUS_ACC{<br>
&gt;                delay_loop 6<br>
&gt;                lvs_sched sh ops<br>
&gt;                lvs_method DR<br>
&gt;                protocol UDP<br>
&gt;                ops<br>
&gt;                persistence_timeout 30<br>
&gt;                alpha<br>
&gt;                #Servidor en cas de que fallen els checks<br>
&gt;                sorry_server 10.15.2.51 1813<br>
&gt;<br>
&gt;                real_server 10.15.2.51 1813 {<br>
&gt;                        MISC_CHECK {<br>
&gt;                                misc_path \
&quot;/etc/keepalived/misc_check/radius_test_acc.sh 10.15.2.51&quot;<br> &gt;         \
misc_timeout 4<br> &gt;                        }<br>
&gt;<br>
&gt;                }<br>
&gt;                real_server 10.15.2.50 1813 {<br>
&gt;                        MISC_CHECK {<br>
&gt;                                misc_path \
&quot;/etc/keepalived/misc_check/radius_test_acc.sh 10.15.2.50&quot;<br> &gt;         \
misc_timeout 4<br> &gt;                        }<br>
&gt;<br>
&gt;                }<br>
&gt; }<br>
&gt; ################################################</p><div><div class="h5"><br>
&gt;<br>
&gt; 2014-12-18 14:39 GMT+01:00 Frank Baalbergen &lt;<a \
href="mailto:frank.baalbergen@mendix.com" \
target="_blank">frank.baalbergen@mendix.com</a>&gt;:<br> &gt;&gt;<br>
&gt;&gt; Hi Toni,<br>
&gt;&gt;<br>
&gt;&gt; Could you share your keepalived.conf? Then we can try to reproduce this \
issue.<br> &gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt;<br>
&gt;&gt; Frank<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 12/18/2014 01:17 PM, toni cunyat wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi all.<br>
&gt;&gt;&gt; I don&#39;t found a bugzilla or similar to send a bug report, sorry \
in<br> &gt;&gt;&gt; advance if I&#39;m in a wrong place.<br>
&gt;&gt;&gt; Also sorry because   english is&#39;nt my main language :-(<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I&#39;ve 2 freeradius and also a 2 keepalived instances running \
keepalived<br> &gt;&gt;&gt; 1.2.13, but when I tried to update to version 1.2.14 \
keepalived crashes.<br> &gt;&gt;&gt;<br>
&gt;&gt;&gt; All tests are done with MASTER runing and backup stopped, under \
debian<br> &gt;&gt;&gt; wheezy kernel 3.2.0-4-amd64<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; If I run a only checker (-C) only keepalived no segfault, also if I<br>
&gt;&gt;&gt; start keepalived with vrrp only, -P (or vrrp+check) a segfault and a<br>
&gt;&gt;&gt; loops trying to start.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I attach a log messages when I try to start keepalived.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Also compiled keepalived in debug mode:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; free   [ 21:125], 0x24ea6d0,     16 at vector.c, 240, vector_free<br>
&gt;&gt;&gt; Configuration is using : 70145 Bytes<br>
&gt;&gt;&gt; Using LinkWatch kernel netlink reflector...<br>
&gt;&gt;&gt; zalloc[ 21:125], 0x24ed2c0,     80 at scheduler.c, 228, thread_new<br>
&gt;&gt;&gt; zalloc[ 22:125], 0x24ec910,   168 at vrrp_scheduler.c, 434, \
alloc_sock<br> &gt;&gt;&gt; zalloc[ 23:125], 0x24ec120,     24 at list.c,   36, \
alloc_element<br> &gt;&gt;&gt; zalloc[ 24:125], 0x24ec9d0,     24 at list.c,   36, \
alloc_element<br> &gt;&gt;&gt; zalloc[ 25:125], 0x24eca00,     80 at scheduler.c, \
228, thread_new<br> &gt;&gt;&gt; VRRP sockpool: [ifindex(2), proto(112), unicast(0), \
fd(10,11)]<br> &gt;&gt;&gt; Segmentation fault<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I&#39;m not a C programmer but let me know if test or additional info is \
needed.<br> &gt;&gt;&gt;<br>
&gt;&gt;&gt; Toni Cunyat<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ------------------------------------------------------------------------------<br>
 &gt;&gt;&gt; Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server<br>
&gt;&gt;&gt; from Actuate! Instantly Supercharge Your Business Reports and \
Dashboards<br> &gt;&gt;&gt; with Interactivity, Sharing, Native Excel Exports, App \
Integration &amp; more<br> &gt;&gt;&gt; Get technology previously reserved for \
billion-dollar corporations, FREE<br> &gt;&gt;&gt; <a \
href="http://pubads.g.doubleclick.net/gampad/clk?id=164703151&amp;iu=/4140/ostg.clktrk" \
target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=164703151&amp;iu=/4140/ostg.clktrk</a><br>
 &gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Keepalived-devel mailing list<br>
&gt;&gt;&gt; <a href="mailto:Keepalived-devel@lists.sourceforge.net" \
target="_blank">Keepalived-devel@lists.sourceforge.net</a><br> &gt;&gt;&gt; <a \
href="https://lists.sourceforge.net/lists/listinfo/keepalived-devel" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/keepalived-devel</a><br> \
&gt;&gt;&gt;<br> &gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Frank Baalbergen - System / Network Engineer<br>
&gt;&gt; T +31 (0)10 2760434 | <a href="mailto:frank.baalbergen@mendix.com" \
target="_blank">frank.baalbergen@mendix.com</a> | <a href="http://www.mendix.com" \
target="_blank">www.mendix.com</a></div></div><p></p> \
<br>------------------------------------------------------------------------------<br>
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server<br>
from Actuate! Instantly Supercharge Your Business Reports and Dashboards<br>
with Interactivity, Sharing, Native Excel Exports, App Integration &amp; more<br>
Get technology previously reserved for billion-dollar corporations, FREE<br>
<a href="http://pubads.g.doubleclick.net/gampad/clk?id=164703151&amp;iu=/4140/ostg.clktrk" \
target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=164703151&amp;iu=/4140/ostg.clktrk</a><br>_______________________________________________<br>
 Keepalived-devel mailing list<br>
<a href="mailto:Keepalived-devel@lists.sourceforge.net">Keepalived-devel@lists.sourceforge.net</a><br>
 <a href="https://lists.sourceforge.net/lists/listinfo/keepalived-devel" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/keepalived-devel</a><br> \
<br></blockquote></div></div>



------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk

_______________________________________________
Keepalived-devel mailing list
Keepalived-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/keepalived-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic