<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>&nbsp;</div>

<div>I applied the patch and rebuilt opensips.</div>

<div>Now it fails to start with follwoing error:</div>

<div>&nbsp;</div>

<div>kernel: opensips[16450]: segfault at 0 ip 00007f4395246ab3 sp 00007fff7e646238 error 6 in libc-2.12.so[7f4395112000+18b000]</div>

<div>&nbsp;</div>

<div>&nbsp;</div>

<div>Any idea, whay it could be segfaulting?</div>

<div>&nbsp;</div>

<div><span style="line-height: 1.6em;">BR</span></div>

<div>-Gary&nbsp;</div>

<div>&nbsp;
<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>&nbsp;Friday, July 11, 2014 at 8:23 AM<br/>
<b>From:</b>&nbsp;&quot;R&#259;zvan Crainea&quot; &lt;razvan@opensips.org&gt;<br/>
<b>To:</b>&nbsp;users@lists.opensips.org<br/>
<b>Subject:</b>&nbsp;Re: [OpenSIPS-Users] cachedb_redis :: cachedb_url =&gt; FQDN not working</div>

<div>Hi, Gary!<br/>
<br/>
I&#39;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/>
&gt; Hi Gary,<br/>
&gt;<br/>
&gt; I checked with Razvan the code and it seems to be a glitch in there<br/>
&gt; (FQDN versus IP) - we are working on fixing it asap.<br/>
&gt;<br/>
&gt; Thanks and regards,<br/>
&gt;<br/>
&gt; Bogdan-Andrei Iancu<br/>
&gt; OpenSIPS Founder and Developer<br/>
&gt; <a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a><br/>
&gt;<br/>
&gt; On 11.07.2014 00:00, Gary Nyquist wrote:<br/>
&gt;&gt; I am setting the FQDN like this:<br/>
&gt;&gt; modparam(&quot;cachedb_redis&quot;,<br/>
&gt;&gt; &quot;cachedb_url&quot;,&quot;redis:cluster://rediscluster.vhrurm.0001.use1.cache.amazonaws.com:6379/&quot;)<br/>
&gt;&gt;<br/>
&gt;&gt; No complains by &quot;opensips -c&quot;<br/>
&gt;&gt; On starting, the log gets filled with error messages, starting with<br/>
&gt;&gt; the following line:<br/>
&gt;&gt; ERROR:cachedb_redis:redis_connect_node: failed to open redis<br/>
&gt;&gt; connection rediscluster.vhr&#65533;#030:6379 - Name or service not known<br/>
&gt;&gt; BR<br/>
&gt;&gt; -Gary<br/>
&gt;&gt; *Sent:* Thursday, July 10, 2014 at 12:41 PM<br/>
&gt;&gt; *From:* &quot;Bogdan-Andrei Iancu&quot; &lt;bogdan@opensips.org&gt;<br/>
&gt;&gt; *To:* &quot;OpenSIPS users mailling list&quot; &lt;users@lists.opensips.org&gt;, &quot;Gary<br/>
&gt;&gt; Nyquist&quot; &lt;gn62@gmx.us&gt;<br/>
&gt;&gt; *Subject:* Re: [OpenSIPS-Users] cachedb_redis :: cachedb_url =&gt; FQDN<br/>
&gt;&gt; not working<br/>
&gt;&gt; Hi,<br/>
&gt;&gt;<br/>
&gt;&gt; By not working, what do you mean ? do you get some error ? simply not<br/>
&gt;&gt; connecting ?<br/>
&gt;&gt;<br/>
&gt;&gt; Regards,<br/>
&gt;&gt; Bogdan-Andrei Iancu<br/>
&gt;&gt; OpenSIPS Founder and Developer<br/>
&gt;&gt; <a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a><br/>
&gt;&gt; On 10.07.2014 18:59, Gary Nyquist wrote:<br/>
&gt;&gt;<br/>
&gt;&gt; Hi,<br/>
&gt;&gt; I am trying to use the FQDN for specifying the &#39;cachedb_url&#39; like<br/>
&gt;&gt; this:<br/>
&gt;&gt; modparam(&quot;cachedb_redis&quot;,<br/>
&gt;&gt; &quot;cachedb_url&quot;,&quot;redis:cluster://my_redis_server.com:6379/&quot;)<br/>
&gt;&gt; But it is not working;<br/>
&gt;&gt; Whereas the following is working fine:<br/>
&gt;&gt; modparam(&quot;cachedb_redis&quot;,<br/>
&gt;&gt; &quot;cachedb_url&quot;,&quot;redis:cluster://10.0.0.228:6379/&quot;)<br/>
&gt;&gt; What needs to be done to make the FQDN to work?<br/>
&gt;&gt; Thanks<br/>
&gt;&gt; -Gary<br/>
&gt;&gt;<br/>
&gt;&gt; _______________________________________________<br/>
&gt;&gt; Users mailing list<br/>
&gt;&gt; Users@lists.opensips.org<br/>
&gt;&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br/>
&gt;&gt;<br/>
&gt;<br/>
&gt;<br/>
&gt;<br/>
&gt; _______________________________________________<br/>
&gt; Users mailing list<br/>
&gt; Users@lists.opensips.org<br/>
&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br/>
&gt;<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>