Fwd: Re: segmentation fault when update from keepalived 1.2.13 to 1.2.14
toni cunyat <[email protected]>
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <CAN--xF0E29TDF+KZQSApQeiEqY5BzmTbJOUKnw34vjPWiFxg=A@mail.gmail.com> |
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 {
> [email protected]
> }
> notification_email_from [email protected]
> 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 <[email protected]>:
>>
>> 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
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/keepalived-devel
>>>
>>
>>
>> --
>> Frank Baalbergen - System / Network Engineer
>> T +31 (0)10 2760434 | [email protected] | 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel