<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yiv5435440886"><div id="yui_3_16_0_1_1427824052844_75776"><div id="yui_3_16_0_1_1427824052844_75775" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div id="yiv5435440886"><div id="yiv5435440886yui_3_16_0_1_1427824052844_74551"><div id="yiv5435440886yui_3_16_0_1_1427824052844_74550" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">Hi Liviu. Thanks for replying. Can you give me a bit more detail on what I should be looking for? I've put the listen and bin_listen ips and ports above along with the netstat for opensips. Is there something else I should be checking? Thanks.<br clear="none"><div id="yiv5435440886yui_3_16_0_1_1427824052844_66120"><span></span></div> <br clear="none"><div class="yiv5435440886qtdSeparateBR" id="yiv5435440886yui_3_16_0_1_1427824052844_74552"><br clear="none"><br clear="none"></div><div class="yiv5435440886yqt7201856715" id="yiv5435440886yqt47816"></div></div></div></div><div class="yiv5435440886yqt6170984143" id="yiv5435440886yqt40672"><div id="yui_3_16_0_1_1427824052844_75781"> <div id="yui_3_16_0_1_1427824052844_75780" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div id="yui_3_16_0_1_1427824052844_75779" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div id="yui_3_16_0_1_1427824052844_75778" dir="ltr"> <font id="yui_3_16_0_1_1427824052844_75777" face="Arial" size="2"> On Monday, April 6, 2015 11:09 AM, "users-request@lists.opensips.org" <users-request@lists.opensips.org> wrote:<br clear="none"> </font> </div> <br clear="none"><br clear="none"> <div id="yui_3_16_0_1_1427824052844_75782" class="yiv5435440886y_msg_container">Send Users mailing list submissions to<br clear="none"> <a rel="nofollow" shape="rect" ymailto="mailto:users@lists.opensips.org" target="_blank" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br clear="none"><br clear="none">To subscribe or unsubscribe via the World Wide Web, visit<br clear="none"> <a id="yui_3_16_0_1_1427824052844_75783" rel="nofollow" shape="rect" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br clear="none">or, via email, send a message with subject or body 'help' to<br clear="none"> <a rel="nofollow" shape="rect" ymailto="mailto:users-request@lists.opensips.org" target="_blank" href="mailto:users-request@lists.opensips.org">users-request@lists.opensips.org</a><br clear="none"><br clear="none">You can reach the person managing the list at<br clear="none"> <a id="yui_3_16_0_1_1427824052844_75785" rel="nofollow" shape="rect" ymailto="mailto:users-owner@lists.opensips.org" target="_blank" href="mailto:users-owner@lists.opensips.org">users-owner@lists.opensips.org</a><br clear="none"><br clear="none">When replying, please edit your Subject line so it is more specific<br clear="none">than "Re: Contents of Users digest..."<br clear="none"><br clear="none"><br clear="none">Today's Topics:<br clear="none"><br clear="none"> 1. Failed to Replicate Dialog - Dialog in DB doesn't match any<br clear="none"> listening sockets (Kneeoh)<br clear="none"> 2. Re: Failed to Replicate Dialog - Dialog in DB doesn't match<br clear="none"> any listening sockets (Liviu Chircu)<br clear="none"><br clear="none"><br clear="none">----------------------------------------------------------------------<br clear="none"><br clear="none">Message: 1<br clear="none">Date: Mon, 6 Apr 2015 14:38:23 +0000 (UTC)<br clear="none">From: Kneeoh <<a rel="nofollow" shape="rect" ymailto="mailto:kneeoh@yahoo.com" target="_blank" href="mailto:kneeoh@yahoo.com">kneeoh@yahoo.com</a>><br clear="none">Subject: [OpenSIPS-Users] Failed to Replicate Dialog - Dialog in DB<br clear="none"> doesn't match any listening sockets<br clear="none">To: Opensips Users <<a rel="nofollow" shape="rect" ymailto="mailto:users@lists.opensips.org" target="_blank" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>><br clear="none">Message-ID:<br clear="none"> <<a rel="nofollow" shape="rect" ymailto="mailto:1744687130.168674.1428331103689.JavaMail.yahoo@mail.yahoo.com" target="_blank" href="mailto:1744687130.168674.1428331103689.JavaMail.yahoo@mail.yahoo.com">1744687130.168674.1428331103689.JavaMail.yahoo@mail.yahoo.com</a>><br clear="none">Content-Type: text/plain; charset="utf-8"<br clear="none"><br clear="none">Hello, I'm getting a stream of errors in my log when using binary replication. The error at log level 0 is "Dialog in DB doesn't match any listening sockets". However, opensips is infact listening on the socket. I've got non-local-bind set to 1 and opensips is listening on the shared IP. If I tail the log in real time on the standby host, I'm just getting a flood of these socket errors.<br clear="none"><br clear="none"># opensipsctl fifo version<br clear="none">Server:: OpenSIPS (1.11.3-notls (x86_64/linux))<br clear="none"><br clear="none">Apr? 6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: DBG:dialog:build_new_dlg: new dialog 0x7f5d4706f5f0 (c=<a rel="nofollow" shape="rect" ymailto="mailto:f066826adc6711e49fb3842b2b73de7a@192.168.0.174" target="_blank" href="mailto:f066826adc6711e49fb3842b2b73de7a@192.168.0.174">f066826adc6711e49fb3842b2b73de7a@192.168.0.174</a>,f=sip:192.168.0.174:5062,t=sip:<a rel="nofollow" shape="rect" ymailto="mailto:17272428528@192.168.80.2" target="_blank" href="mailto:17272428528@192.168.80.2">17272428528@192.168.80.2</a>;user=phone,ft=Jxe3T+HAqACuE8bhwKgArhPEe+Ap9QAq) on hash 968 <br clear="none">Apr? 6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: DBG:dialog:dlg_replicated_create: Received replicated dialog! <br clear="none">Apr? 6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: DBG:core:bin_pop_str: Popped: 'udp:192.168.80.2:5060' [22] <br clear="none">Apr? 6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: DBG:core:grep_sock_info: checking if host==us: 13==13 &&? [192.168.80.2] == [192.168.80.2] <br clear="none">Apr? 6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: DBG:core:grep_sock_info: checking if port 5060 matches port 5060 <br clear="none">Apr? 6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: DBG:core:bin_pop_str: Popped: '' [0] <br clear="none">Apr? 6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: ERROR:dialog:dlg_replicated_create: Dialog in DB doesn't match any listening sockets <br clear="none"><br clear="none"><br clear="none"># netstat -nlp | grep opensips<br clear="none">udp??????? 0????? 0 192.168.80.2:5060????? 0.0.0.0:*?????????????????????????? 18101/opensips? <br clear="none">udp??????? 0????? 0 10.1.0.42:5092??? ?????? 0.0.0.0:*?????????????????????????? 18101/opensips??<br clear="none"><br clear="none">osips-lb-02 config:<br clear="none"><br clear="none"><br clear="none"># Binary Interface Settings<br clear="none">bin_listen=10.1.0.42:5092<br clear="none">bin_children=4<br clear="none"><br clear="none"><br clear="none">listen=udp:192.168.80.2:5060<br clear="none">modparam("dialog", "accept_replicated_dialogs", 1)<br clear="none">modparam("dialog", "replicate_dialogs_to", "10.1.0.41:5092")<br clear="none"><br clear="none"><br clear="none">osips-lb-01 config:<br clear="none"># Binary Interface Settings<br clear="none">bin_listen=10.1.0.41:5092<br clear="none"><br clear="none">listen=udp:192.168.80.2:5060<br clear="none">modparam("dialog", "accept_replicated_dialogs", 1)<br clear="none">modparam("dialog", "replicate_dialogs_to", "10.1.0.42:5092")<br clear="none"># netstat -nlp | grep opensips<br clear="none">udp??????? 0????? 0 192.168.80.2:5060? ???? 0.0.0.0:*?????????????????????????? 31940/opensips? <br clear="none">udp??????? 0????? 0 10.1.0.41:5092???? ? ? ? ? 0.0.0.0:*?????????????????????????? 31940/opensips? <br clear="none"><br clear="none"><br clear="none">-------------- next part --------------<br clear="none">An HTML attachment was scrubbed...<br clear="none">URL: <<a rel="nofollow" shape="rect" target="_blank" href="http://lists.opensips.org/pipermail/users/attachments/20150406/18759ee2/attachment-0001.htm">http://lists.opensips.org/pipermail/users/attachments/20150406/18759ee2/attachment-0001.htm</a>><br clear="none"><br clear="none">------------------------------<br clear="none"><br clear="none">Message: 2<br clear="none">Date: Mon, 06 Apr 2015 18:09:31 +0300<br clear="none">From: Liviu Chircu <<a rel="nofollow" shape="rect" ymailto="mailto:liviu@opensips.org" target="_blank" href="mailto:liviu@opensips.org">liviu@opensips.org</a>><br clear="none">Subject: Re: [OpenSIPS-Users] Failed to Replicate Dialog - Dialog in<br clear="none"> DB doesn't match any listening sockets<br clear="none">To: <a rel="nofollow" shape="rect" ymailto="mailto:users@lists.opensips.org" target="_blank" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br clear="none">Message-ID: <<a rel="nofollow" shape="rect" ymailto="mailto:5522A1AB.10405@opensips.org" target="_blank" href="mailto:5522A1AB.10405@opensips.org">5522A1AB.10405@opensips.org</a>><br clear="none">Content-Type: text/plain; charset="windows-1252"; Format="flowed"<br clear="none"><br clear="none">Hi Kneeoh!<br clear="none"><br clear="none">Your setup looks flawless. By any change, are you advertising different <br clear="none">ports on the two 192.168.80.2 listeners? It's the only thing that pops <br clear="none">up right now.<br clear="none"><br clear="none">Best regards,<br clear="none"><br clear="none">Liviu Chircu<br clear="none">OpenSIPS Developer<br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a><br clear="none"><br clear="none">On 06.04.2015 17:38, Kneeoh wrote:<br clear="none">> Hello, I'm getting a stream of errors in my log when using binary <br clear="none">> replication. The error at log level 0 is "Dialog in DB doesn't match <br clear="none">> any listening sockets". However, opensips is infact listening on the <br clear="none">> socket. I've got non-local-bind set to 1 and opensips is listening on <br clear="none">> the shared IP. If I tail the log in real time on the standby host, I'm <br clear="none">> just getting a flood of these socket errors.<br clear="none">><br clear="none">> # opensipsctl fifo version<br clear="none">> Server:: OpenSIPS (1.11.3-notls (x86_64/linux))<br clear="none">><br clear="none">> Apr 6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: <br clear="none">> DBG:dialog:build_new_dlg: new dialog 0x7f5d4706f5f0 <br clear="none">> (c=<a rel="nofollow" shape="rect" ymailto="mailto:f066826adc6711e49fb3842b2b73de7a@192.168.0.174" target="_blank" href="mailto:f066826adc6711e49fb3842b2b73de7a@192.168.0.174">f066826adc6711e49fb3842b2b73de7a@192.168.0.174</a>,f=sip:192.168.0.174:5062,t=sip:<a rel="nofollow" shape="rect" ymailto="mailto:17272428528@192.168.80.2" target="_blank" href="mailto:17272428528@192.168.80.2">17272428528@192.168.80.2</a>;user=phone,ft=Jxe3T+HAqACuE8bhwKgArhPEe+Ap9QAq) <br clear="none">> on hash 968<br clear="none">> Apr 6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: <br clear="none">> DBG:dialog:dlg_replicated_create: Received replicated dialog!<br clear="none">> Apr 6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: <br clear="none">> DBG:core:bin_pop_str: Popped: 'udp:192.168.80.2:5060' [22]<br clear="none">> Apr 6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: <br clear="none">> DBG:core:grep_sock_info: checking if host==us: 13==13 && <br clear="none">> [192.168.80.2] == [192.168.80.2]<br clear="none">> Apr 6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: <br clear="none">> DBG:core:grep_sock_info: checking if port 5060 matches port 5060<br clear="none">> Apr 6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: <br clear="none">> DBG:core:bin_pop_str: Popped: '' [0]<br clear="none">> Apr 6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: <br clear="none">> ERROR:dialog:dlg_replicated_create: Dialog in DB doesn't match any <br clear="none">> listening sockets<br clear="none">><br clear="none">><br clear="none">> # netstat -nlp | grep opensips<br clear="none">> udp 0 0 192.168.80.2:5060 0.0.0.0:* 18101/opensips<br clear="none">> udp 0 0 10.1.0.42:5092 0.0.0.0:* 18101/opensips<br clear="none">><br clear="none">><br clear="none">> osips-lb-02 config:<br clear="none">><br clear="none">><br clear="none">> # Binary Interface Settings<br clear="none">> bin_listen=10.1.0.42:5092<br clear="none">> bin_children=4<br clear="none">><br clear="none">><br clear="none">> listen=udp:192.168.80.2:5060<br clear="none">><br clear="none">> modparam("dialog", "accept_replicated_dialogs", 1)<br clear="none">> modparam("dialog", "replicate_dialogs_to", "10.1.0.41:5092")<br clear="none">><br clear="none">><br clear="none">> osips-lb-01 config:<br clear="none">><br clear="none">> # Binary Interface Settings<br clear="none">> bin_listen=10.1.0.41:5092<br clear="none">><br clear="none">> listen=udp:192.168.80.2:5060<br clear="none">><br clear="none">> modparam("dialog", "accept_replicated_dialogs", 1)<br clear="none">> modparam("dialog", "replicate_dialogs_to", "10.1.0.42:5092")<br clear="none">><br clear="none">> # netstat -nlp | grep opensips<br clear="none">> udp 0 0 192.168.80.2:5060 0.0.0.0:* 31940/opensips<br clear="none">> udp 0 0 10.1.0.41:5092 0.0.0.0:* 31940/opensips<br clear="none">><br clear="none">><br clear="none">><br clear="none">><br clear="none">> _______________________________________________<br clear="none">> Users mailing list<br clear="none">> <a rel="nofollow" shape="rect" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br clear="none">> <a rel="nofollow" shape="rect" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br clear="none"><br clear="none">-------------- next part --------------<br clear="none">An HTML attachment was scrubbed...<br clear="none">URL: <<a rel="nofollow" shape="rect" target="_blank" href="http://lists.opensips.org/pipermail/users/attachments/20150406/ad3128ff/attachment.htm">http://lists.opensips.org/pipermail/users/attachments/20150406/ad3128ff/attachment.htm</a>><br clear="none"><br clear="none">------------------------------<br clear="none"><br clear="none">_______________________________________________<br clear="none">Users mailing list<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br clear="none"><br clear="none"><br clear="none">End of Users Digest, Vol 81, Issue 7<br clear="none">************************************<br clear="none"><br clear="none"><br clear="none"></div> </div> </div> </div></div></div></div></div></div></body></html>