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.
 


     On Monday, April 6, 2015 11:09 AM, "users-requ...@lists.opensips.org" 
<users-requ...@lists.opensips.org> wrote:
   

 Send Users mailing list submissions to
    users@lists.opensips.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.opensips.org/cgi-bin/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
    users-requ...@lists.opensips.org

You can reach the person managing the list at
    users-ow...@lists.opensips.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Users digest..."


Today's Topics:

  1. Failed to Replicate Dialog - Dialog in DB doesn't match any
      listening sockets (Kneeoh)
  2. Re: Failed to Replicate Dialog - Dialog in DB doesn't match
      any listening sockets (Liviu Chircu)


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

Message: 1
Date: Mon, 6 Apr 2015 14:38:23 +0000 (UTC)
From: Kneeoh <kne...@yahoo.com>
Subject: [OpenSIPS-Users] Failed to Replicate Dialog - Dialog in DB
    doesn't match any listening sockets
To: Opensips Users <users@lists.opensips.org>
Message-ID:
    <1744687130.168674.1428331103689.javamail.ya...@mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

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.

# opensipsctl fifo version
Server:: OpenSIPS (1.11.3-notls (x86_64/linux))

Apr? 6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: 
DBG:dialog:build_new_dlg: new dialog 0x7f5d4706f5f0 
(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)
 on hash 968 
Apr? 6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: 
DBG:dialog:dlg_replicated_create: Received replicated dialog! 
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] 
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] 
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 
Apr? 6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: 
DBG:core:bin_pop_str: Popped: '' [0] 
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 


# netstat -nlp | grep opensips
udp??????? 0????? 0 192.168.80.2:5060????? 0.0.0.0:*?????????????????????????? 
18101/opensips? 
udp??????? 0????? 0 10.1.0.42:5092??? ?????? 
0.0.0.0:*?????????????????????????? 18101/opensips??

osips-lb-02 config:


# Binary Interface Settings
bin_listen=10.1.0.42:5092
bin_children=4


listen=udp:192.168.80.2:5060
modparam("dialog", "accept_replicated_dialogs", 1)
modparam("dialog", "replicate_dialogs_to", "10.1.0.41:5092")


osips-lb-01 config:
# Binary Interface Settings
bin_listen=10.1.0.41:5092

listen=udp:192.168.80.2:5060
modparam("dialog", "accept_replicated_dialogs", 1)
modparam("dialog", "replicate_dialogs_to", "10.1.0.42:5092")
# netstat -nlp | grep opensips
udp??????? 0????? 0 192.168.80.2:5060? ???? 0.0.0.0:*?????????????????????????? 
31940/opensips? 
udp??????? 0????? 0 10.1.0.41:5092???? ? ? ? ? 
0.0.0.0:*?????????????????????????? 31940/opensips? 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.opensips.org/pipermail/users/attachments/20150406/18759ee2/attachment-0001.htm>

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

Message: 2
Date: Mon, 06 Apr 2015 18:09:31 +0300
From: Liviu Chircu <li...@opensips.org>
Subject: Re: [OpenSIPS-Users] Failed to Replicate Dialog - Dialog in
    DB doesn't match any listening sockets
To: users@lists.opensips.org
Message-ID: <5522a1ab.10...@opensips.org>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"

Hi Kneeoh!

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.

Best regards,

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 06.04.2015 17:38, Kneeoh wrote:
> 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.
>
> # opensipsctl fifo version
> Server:: OpenSIPS (1.11.3-notls (x86_64/linux))
>
> Apr  6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: 
> DBG:dialog:build_new_dlg: new dialog 0x7f5d4706f5f0 
> (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)
>  
> on hash 968
> Apr  6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: 
> DBG:dialog:dlg_replicated_create: Received replicated dialog!
> 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]
> 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]
> 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
> Apr  6 13:58:32 osips-lb-02 /usr/local/sbin/opensips[18106]: 
> DBG:core:bin_pop_str: Popped: '' [0]
> 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
>
>
> # netstat -nlp | grep opensips
> udp        0      0 192.168.80.2:5060 0.0.0.0:* 18101/opensips
> udp        0      0 10.1.0.42:5092 0.0.0.0:* 18101/opensips
>
>
> osips-lb-02 config:
>
>
> # Binary Interface Settings
> bin_listen=10.1.0.42:5092
> bin_children=4
>
>
> listen=udp:192.168.80.2:5060
>
> modparam("dialog", "accept_replicated_dialogs", 1)
> modparam("dialog", "replicate_dialogs_to", "10.1.0.41:5092")
>
>
> osips-lb-01 config:
>
> # Binary Interface Settings
> bin_listen=10.1.0.41:5092
>
> listen=udp:192.168.80.2:5060
>
> modparam("dialog", "accept_replicated_dialogs", 1)
> modparam("dialog", "replicate_dialogs_to", "10.1.0.42:5092")
>
> # netstat -nlp | grep opensips
> udp        0      0 192.168.80.2:5060 0.0.0.0:* 31940/opensips
> udp        0      0 10.1.0.41:5092 0.0.0.0:* 31940/opensips
>
>
>
>
> _______________________________________________
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.opensips.org/pipermail/users/attachments/20150406/ad3128ff/attachment.htm>

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

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


End of Users Digest, Vol 81, Issue 7
************************************


  
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to