Re: Couple of issues with SMTP_CHECK
jan <[email protected]>
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I think some code to handle port must be added in a more generic form for real servers. When checking in "Real Server definition" no entry for port exists, only addr via struct sockaddr_storage. Almost all real server checkers use other port than default today and it's more native to handle that in a more general way, and not locale in every individual checkers. Mybe i have wrong but that will solve all problems with checkers and ports in same part of code. 2015-03-25 20:18 skrev Chris Adams: > Once upon a time, Chris Adams <[email protected]> said: >> I also tried adding connect_ip (even though the man page says it is >> optional), but it still segfaulted. Trying to find the correct CentOS >> debuginfo package to see more. > > For comparison, I tried to have keepalived load the sample SMTP_CHECK > config file, and it also failed (so it isn't just my config): > > # keepalived -nRCl -f > /usr/share/doc/keepalived-1.2.13/samples/keepalived.conf.SMTP_CHECK > Starting Healthcheck child process, pid=10833 > Initializing ipvs 2.6 > Registering Kernel netlink reflector > Registering Kernel netlink command channel > Opening file > '/usr/share/doc/keepalived-1.2.13/samples/keepalived.conf.SMTP_CHECK'. > Healthcheck child process(10833) died: Exiting > Stopping Keepalived v1.2.13 (10/15,2014) > > # grep 10833 /var/log/messages > Mar 25 14:13:19 lb1 Keepalived[10832]: Starting Healthcheck child > process, pid=10833 > Mar 25 14:13:19 lb1 Keepalived_healthcheckers[10833]: Registering > Kernel netlink reflector > Mar 25 14:13:19 lb1 Keepalived_healthcheckers[10833]: Registering > Kernel netlink command channel > Mar 25 14:13:19 lb1 Keepalived_healthcheckers[10833]: Opening file > '/usr/share/doc/keepalived-1.2.13/samples/keepalived.conf.SMTP_CHECK'. > Mar 25 14:13:19 lb1 kernel: keepalived[10833]: segfault at 0 ip > 0000000000432004 sp 00007fff6aee8a40 error 6 in > keepalived[400000+49000] > Mar 25 14:13:19 lb1 Keepalived[10832]: Healthcheck child > process(10833) died: Exiting -- mvh /Jan Holmberg ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/