[OpenSIPS-Users] Binary replication

2015-02-18 Thread Schneur Rosenberg
I have a question regarding binary replication, I was using OpenSIPS 1.7 until now, my backup was passive, because when they were all up at the same time, the usrloc timer from the backup kept on removing users from the database, even though I'm using mode 2, I still rely on the DB for some

Re: [OpenSIPS-Users] Binary replication

2015-02-18 Thread Schneur Rosenberg
Here is the error, I see it checking the ip address against the listening ip address, and of course it does not match, if I add the other ip address as a listening address opensips wont start. Feb 18 17:17:10 sipsvr6 /sbin/opensips[26864]: ERROR:usrloc:receive_ucontact_update: non-local socket

Re: [OpenSIPS-Users] Binary replication

2015-02-18 Thread Liviu Chircu
You should be able to solve that problem with: echo 1 /proc/sys/net/ipv4/ip_nonlocal_bind Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 18.02.2015 19:20, Schneur Rosenberg wrote: Here is the error, I see it checking the ip address against the listening ip address, and

Re: [OpenSIPS-Users] Binary replication

2015-02-18 Thread Schneur Rosenberg
THANKS, this solved the problem, I think this should be placed in the documentation. On Wed, Feb 18, 2015 at 8:11 PM, Liviu Chircu li...@opensips.org wrote: You should be able to solve that problem with: echo 1 /proc/sys/net/ipv4/ip_nonlocal_bind Liviu Chircu OpenSIPS

Re: [OpenSIPS-Users] Binary replication

2015-02-18 Thread Liviu Chircu
Hello Schneur, 1) If REGISTER request replication properly works (same messages received on both sides), then the backup should not delete contacts like you are mentioning. 2) Yes, it will. You can disable this behaviour with skip_replicated_db_ops [1] 3) Any specific ERRORs in the logfile?