keepalived segfaulting

Johnathan Reid <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <CY1PR10MB06973D104ECA7901ADBFE7F6A43F0@CY1PR10MB0697.namprd10.prod.outlook.com>
Hello,

  We have been running keepalived successfully for ten years, but keepalived will segfault on the new servers I am building.  I saw a post here that recommended removing debug from the command line options.  This helps on our master server, but the backup is still segfaulting, although now pointing to a different address.  I get this, constantly recurring in our logs:


Oct 14 14:21:33 test-adm1 Keepalived[21797]: Starting Keepalived v1.2.19 (10/12,2015)
Oct 14 14:21:33 test-adm1 Keepalived[21798]: Starting Healthcheck child process, pid=21799
Oct 14 14:21:33 test-adm1 Keepalived[21798]: Starting VRRP child process, pid=21800
Oct 14 14:21:33 test-adm1 Keepalived_vrrp[21800]: Registering Kernel netlink reflector
Oct 14 14:21:33 test-adm1 Keepalived_vrrp[21800]: Registering Kernel netlink command channel
Oct 14 14:21:33 test-adm1 Keepalived_vrrp[21800]: Registering gratuitous ARP shared channel
Oct 14 14:21:33 test-adm1 Keepalived_vrrp[21800]: Opening file '/etc/keepalived/keepalived.conf'.
Oct 14 14:21:33 test-adm1 kernel: : keepalived[21800]: segfault at 2420070 ip 000000330133357f sp 00007fff4cb66218 error 4 in libc-2.12.so[3301200000+18a000]
Oct 14 14:21:33 test-adm1 Keepalived[21798]: VRRP child process(21800) died: Respawning
Oct 14 14:21:33 test-adm1 Keepalived[21798]: Starting VRRP child process, pid=21803
Oct 14 14:21:33 test-adm1 Keepalived_vrrp[21803]: Registering Kernel netlink reflector
Oct 14 14:21:33 test-adm1 Keepalived_vrrp[21803]: Registering Kernel netlink command channel
Oct 14 14:21:33 test-adm1 Keepalived_vrrp[21803]: Registering gratuitous ARP shared channel
Oct 14 14:21:33 test-adm1 Keepalived_vrrp[21803]: Opening file '/etc/keepalived/keepalived.conf'.
Oct 14 14:21:33 test-adm1 kernel: : keepalived[21803]: segfault at 2420070 ip 000000330133357f sp 00007fff4cb661a8 error 4 in libc-2.12.so[3301200000+18a000]




  The new systems are RedHat 6.6, kernel 2.6.32-504.30.3.el6.x86_64, keepalived version 1.2.19.  Our basic config is below.


global_defs {
 lvs_id lvs_main
 router_id test-adm1
}
vrrp_sync_group CT_1 {
  group {
    CTVI_1
    CTVI_2
    CTVI_3
  }
}


# Internal default route out

vrrp_instance CTVI_1 {

    state MASTER
    interface eth0
    lvs_sync_daemon_interface eth0
    virtual_router_id 130
    priority 200
    vrrp_unicast_bind 10.30.0.2   # Internal IP of this machine
    vrrp_unicast_peer 10.30.0.1   # Internal IP of peer
    authentication {
        auth_type PASS
        auth_pass !QAZ2wsx
    }
    virtual_ipaddress {
        10.30.0.254
    }
}


# Primary External Cluster alias

vrrp_instance CTVI_2 {
    state MASTER
    interface eth1
    virtual_router_id 131
    priority 200
    vrrp_unicast_bind xxx.xxx.xxx.172   # External IP of this machine
    vrrp_unicast_peer xxx.xxx.xxx.171   # External IP of peer
    authentication {
        auth_type PASS
        auth_pass !QAZ2wsx
    }
    virtual_ipaddress {
    xxx.xxx.xxx.170
    }
}

virtual_server xxx.xxx.xxx.170 22 {
    delay_loop 1
    lb_algo lc
    lb_kind DR
    protocol TCP
    persistence_granularity 255.255.255.255
    persistence_timeout 14400
    real_server xxx.xxx.xxx.173 22 {
                weight 1
                TCP_CHECK {
                        connect_timeout 30
                }
        }
    real_server xxx.xxx.xxx.174 22 {
                weight 1
                TCP_CHECK {
                        connect_timeout 30
                }
        }
}

------------------------------------------------------------------------------

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.