<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div style="font-family: Verdana;font-size: 12.0px;">
<div><span style="font-family: Verdana;font-size: 12.0px;line-height: 19.2px;">Hi Razvan..</span></div>
<div> </div>
<div>I applied the patch and rebuilt opensips.</div>
<div>Now it fails to start with follwoing error:</div>
<div> </div>
<div>kernel: opensips[16450]: segfault at 0 ip 00007f4395246ab3 sp 00007fff7e646238 error 6 in libc-2.12.so[7f4395112000+18b000]</div>
<div> </div>
<div> </div>
<div>Any idea, whay it could be segfaulting?</div>
<div> </div>
<div><span style="line-height: 1.6em;">BR</span></div>
<div>-Gary </div>
<div>
<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0 0 10.0px 0;"><b>Sent:</b> Friday, July 11, 2014 at 8:23 AM<br/>
<b>From:</b> "Răzvan Crainea" <razvan@opensips.org><br/>
<b>To:</b> users@lists.opensips.org<br/>
<b>Subject:</b> Re: [OpenSIPS-Users] cachedb_redis :: cachedb_url => FQDN not working</div>
<div>Hi, Gary!<br/>
<br/>
I've just created a patch[1] for this. Can you please apply it on your<br/>
sources and then retest?<br/>
<br/>
[1] <a href="http://pastebin.com/TuEZ26Qz" target="_blank">http://pastebin.com/TuEZ26Qz</a><br/>
<br/>
Best regards,<br/>
<br/>
Razvan Crainea<br/>
OpenSIPS Core Developer<br/>
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a><br/>
<br/>
On 07/11/2014 01:49 PM, Bogdan-Andrei Iancu wrote:<br/>
> Hi Gary,<br/>
><br/>
> I checked with Razvan the code and it seems to be a glitch in there<br/>
> (FQDN versus IP) - we are working on fixing it asap.<br/>
><br/>
> Thanks and regards,<br/>
><br/>
> Bogdan-Andrei Iancu<br/>
> OpenSIPS Founder and Developer<br/>
> <a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a><br/>
><br/>
> On 11.07.2014 00:00, Gary Nyquist wrote:<br/>
>> I am setting the FQDN like this:<br/>
>> modparam("cachedb_redis",<br/>
>> "cachedb_url","redis:cluster://rediscluster.vhrurm.0001.use1.cache.amazonaws.com:6379/")<br/>
>><br/>
>> No complains by "opensips -c"<br/>
>> On starting, the log gets filled with error messages, starting with<br/>
>> the following line:<br/>
>> ERROR:cachedb_redis:redis_connect_node: failed to open redis<br/>
>> connection rediscluster.vhr�#030:6379 - Name or service not known<br/>
>> BR<br/>
>> -Gary<br/>
>> *Sent:* Thursday, July 10, 2014 at 12:41 PM<br/>
>> *From:* "Bogdan-Andrei Iancu" <bogdan@opensips.org><br/>
>> *To:* "OpenSIPS users mailling list" <users@lists.opensips.org>, "Gary<br/>
>> Nyquist" <gn62@gmx.us><br/>
>> *Subject:* Re: [OpenSIPS-Users] cachedb_redis :: cachedb_url => FQDN<br/>
>> not working<br/>
>> Hi,<br/>
>><br/>
>> By not working, what do you mean ? do you get some error ? simply not<br/>
>> connecting ?<br/>
>><br/>
>> Regards,<br/>
>> Bogdan-Andrei Iancu<br/>
>> OpenSIPS Founder and Developer<br/>
>> <a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a><br/>
>> On 10.07.2014 18:59, Gary Nyquist wrote:<br/>
>><br/>
>> Hi,<br/>
>> I am trying to use the FQDN for specifying the 'cachedb_url' like<br/>
>> this:<br/>
>> modparam("cachedb_redis",<br/>
>> "cachedb_url","redis:cluster://my_redis_server.com:6379/")<br/>
>> But it is not working;<br/>
>> Whereas the following is working fine:<br/>
>> modparam("cachedb_redis",<br/>
>> "cachedb_url","redis:cluster://10.0.0.228:6379/")<br/>
>> What needs to be done to make the FQDN to work?<br/>
>> Thanks<br/>
>> -Gary<br/>
>><br/>
>> _______________________________________________<br/>
>> Users mailing list<br/>
>> Users@lists.opensips.org<br/>
>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br/>
>><br/>
><br/>
><br/>
><br/>
> _______________________________________________<br/>
> Users mailing list<br/>
> Users@lists.opensips.org<br/>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br/>
><br/>
<br/>
_______________________________________________<br/>
Users mailing list<br/>
Users@lists.opensips.org<br/>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div>
</div>
</div>
</div></div></body></html>