Re: Couple of issues with SMTP_CHECK
Chris Adams <[email protected]>
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <[email protected]> |
Once upon a time, Chris Adams <[email protected]> said: > 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): I fired up 1.2.13 in the debugger, and I see what is happening. When the config parser gets to parsing the host{} block, there isn't a checker connect options structure allocated: (gdb) where #0 0x0000000000433e89 in inet_stosockaddr (ip=0xb4b2a0 "172.16.1.11", port=0x0, addr=0x0) at utils.c:168 #1 0x000000000040c9cf in co_ip_handler (strvec=0xb4b260) at check_api.c:138 #2 0x000000000043cc08 in process_stream (keywords_vec=0xb47ed0) at parser.c:437 ... When I look at co_ip_handler(), co is NULL. I get the same behavior from 1.2.15 reading the sample config. Is there some ordering or something that allows a host{} block in an SMTP_CHECK to actually load? -- Chris Adams <[email protected]> ------------------------------------------------------------------------------ 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/