<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Hi Kneeoh!<br>
      <br>
      Your setup looks flawless. By any change, are you advertising
      different ports on the two 192.168.80.2 listeners? It's the only
      thing that pops up right now.<br>
      <br>
      Best regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 06.04.2015 17:38, Kneeoh wrote:<br>
    </div>
    <blockquote
      cite="mid:1744687130.168674.1428331103689.JavaMail.yahoo@mail.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:16px">
        <div id="yiv9236118031">
          <div id="yui_3_16_0_1_1427824052844_47992">
            <div id="yui_3_16_0_1_1427824052844_47991"
              style="font-family:HelveticaNeue, Helvetica Neue,
              Helvetica, Arial, Lucida Grande,
              sans-serif;font-size:16px;">
              <div id="yiv9236118031">
                <div id="yiv9236118031yui_3_16_0_1_1427824052844_46535">
                  <div
                    id="yiv9236118031yui_3_16_0_1_1427824052844_46534"
                    style="color:#000;background-color:#fff;font-family:HelveticaNeue,
                    Helvetica Neue, Helvetica, Arial, Lucida Grande,
                    sans-serif;font-size:16px;">
                    <div dir="ltr"
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44699">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>
                    </div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44981"><br>
                    </div>
                    <div dir="ltr"
                      id="yiv9236118031yui_3_16_0_1_1427824052844_45042">#
                      opensipsctl fifo version<br style=""
                        class="yiv9236118031">
                      Server:: OpenSIPS (1.11.3-notls (x86_64/linux))<br>
                    </div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44692"><br>
                    </div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44691"
                      dir="ltr">Apr  6 13:58:32 osips-lb-02
                      /usr/local/sbin/opensips[18106]:
                      DBG:dialog:build_new_dlg: new dialog
                      0x7f5d4706f5f0
                      (<a class="moz-txt-link-abbreviated" href="mailto:c=f066826adc6711e49fb3842b2b73de7a@192.168.0.174,f=sip:192.168.0.174:5062,t=sip:17272428528@192.168.80.2;user=phone,ft=Jxe3T+HAqACuE8bhwKgArhPEe+Ap9QAq">c=f066826adc6711e49fb3842b2b73de7a@192.168.0.174,f=sip:192.168.0.174:5062,t=sip:17272428528@192.168.80.2;user=phone,ft=Jxe3T+HAqACuE8bhwKgArhPEe+Ap9QAq</a>)
                      on hash 968 <br style="" class="yiv9236118031">
                      Apr  6 13:58:32 osips-lb-02
                      /usr/local/sbin/opensips[18106]:
                      DBG:dialog:dlg_replicated_create: Received
                      replicated dialog! <br style=""
                        class="yiv9236118031">
                      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 style=""
                        class="yiv9236118031">
                      Apr  6 13:58:32 osips-lb-02
                      /usr/local/sbin/opensips[18106]:
                      DBG:core:grep_sock_info: checking if host==us:
                      13==13 &amp;&amp;  [192.168.80.2] ==
                      [192.168.80.2] <br style="" class="yiv9236118031">
                      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 style=""
                        class="yiv9236118031">
                      Apr  6 13:58:32 osips-lb-02
                      /usr/local/sbin/opensips[18106]:
                      DBG:core:bin_pop_str: Popped: '' [0] <br style=""
                        class="yiv9236118031">
                      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 style=""
                        class="yiv9236118031">
                      <br style="" class="yiv9236118031">
                      <br style="" class="yiv9236118031">
                      # netstat -nlp | grep opensips<br style=""
                        class="yiv9236118031">
                      udp        0      0 192.168.80.2:5060     
                      0.0.0.0:*                          
                      18101/opensips  <br style=""
                        class="yiv9236118031">
                      udp        0      0 10.1.0.42:5092          
                      0.0.0.0:*                          
                      18101/opensips  </div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44746"
                      dir="ltr"><br>
                    </div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44770"
                      dir="ltr"><br>
                    </div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44835"
                      dir="ltr">osips-lb-02 config:<br>
                    </div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44836"
                      dir="ltr"><br>
                    </div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44751"
                      dir="ltr"><br>
                    </div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44752"
                      dir="ltr"># Binary Interface Settings<br style=""
                        class="yiv9236118031">
                      bin_listen=10.1.0.42:5092<br style=""
                        class="yiv9236118031">
                      bin_children=4<br style="" class="yiv9236118031">
                    </div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44789"
                      dir="ltr"><br>
                    </div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44788"
                      dir="ltr"><br>
                    </div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44790"
                      dir="ltr">listen=udp:192.168.80.2:5060</div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44821"
                      dir="ltr"><br>
                    </div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44823"
                      dir="ltr">modparam("dialog",
                      "accept_replicated_dialogs", 1)<br style=""
                        class="yiv9236118031">
                      modparam("dialog", "replicate_dialogs_to",
                      "10.1.0.41:5092")<br style=""
                        class="yiv9236118031">
                    </div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44842"
                      dir="ltr"><br>
                    </div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44848"
                      dir="ltr"><br>
                    </div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44849"
                      dir="ltr">osips-lb-01 config:</div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44859"
                      dir="ltr"><br>
                    </div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44878"
                      dir="ltr"># Binary Interface Settings<br style=""
                        class="yiv9236118031">
                      bin_listen=10.1.0.41:5092<br style=""
                        class="yiv9236118031">
                      <br>
                    </div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44914"
                      dir="ltr">listen=udp:192.168.80.2:5060</div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44933"
                      dir="ltr"><br>
                    </div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44853"
                      dir="ltr">modparam("dialog",
                      "accept_replicated_dialogs", 1)<br style=""
                        class="yiv9236118031">
                      modparam("dialog", "replicate_dialogs_to",
                      "10.1.0.42:5092")</div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_45000"
                      dir="ltr"><br>
                    </div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_45003"
                      dir="ltr"># netstat -nlp | grep opensips<br
                        style="" class="yiv9236118031">
                      udp        0      0 192.168.80.2:5060      
                      0.0.0.0:*                          
                      31940/opensips  <br style=""
                        class="yiv9236118031">
                      udp        0      0 10.1.0.41:5092            
                      0.0.0.0:*                          
                      31940/opensips  <br style=""
                        class="yiv9236118031">
                      <br>
                    </div>
                    <div
                      id="yiv9236118031yui_3_16_0_1_1427824052844_44745"
                      style="" class="yiv9236118031" dir="ltr"><br
                        style="" class="yiv9236118031">
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>